mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
incremental text documents cause perf isssues
This commit is contained in:
parent
1042d28f97
commit
aa38607483
|
@ -33,7 +33,7 @@ process.on('unhandledRejection', (e: any) => {
|
|||
});
|
||||
|
||||
// Create a text document manager.
|
||||
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
|
||||
const documents: TextDocuments = new TextDocuments();
|
||||
// Make the text document manager listen on the connection
|
||||
// for open, change and close text document events
|
||||
documents.listen(connection);
|
||||
|
|
|
@ -39,7 +39,7 @@ process.on('uncaughtException', (e: any) => {
|
|||
});
|
||||
|
||||
// Create a text document manager.
|
||||
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
|
||||
const documents: TextDocuments = new TextDocuments();
|
||||
// Make the text document manager listen on the connection
|
||||
// for open, change and close text document events
|
||||
documents.listen(connection);
|
||||
|
|
|
@ -106,7 +106,7 @@ let languageService = getLanguageService({
|
|||
});
|
||||
|
||||
// Create a text document manager.
|
||||
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
|
||||
const documents: TextDocuments = new TextDocuments();
|
||||
|
||||
// Make the text document manager listen on the connection
|
||||
// for open, change and close text document events
|
||||
|
|
Loading…
Reference in a new issue