Alexandru Dima 4 years ago
parent 1be8b30e74
commit 803466d050
No known key found for this signature in database
GPG Key ID: 6E58D7B045760DA0

@ -926,6 +926,10 @@ export class FormatAdapter
column: range.endColumn column: range.endColumn
}); });
const worker = await this._worker(resource); const worker = await this._worker(resource);
if (model.isDisposed()) {
return;
}
const edits = await worker.getFormattingEditsForRange( const edits = await worker.getFormattingEditsForRange(
resource.toString(), resource.toString(),
startOffset, startOffset,

Loading…
Cancel
Save