diff options
author | Matt Bierner <matb@microsoft.com> | 2017-07-13 01:16:32 +0300 |
---|---|---|
committer | Matt Bierner <matb@microsoft.com> | 2017-07-13 21:53:01 +0300 |
commit | 2648980a697a4c8fb5777dcfb2ab110cec8a2f58 (patch) | |
tree | d2f1016c9cd9fe059f6171ec3b9df895afe23194 | |
parent | 28d0c3b4301acfe18bfb39a28b3f68c01e769475 (diff) |
Disable TS refactorings1.14.1
Investigating #30449, it seems that typescript refactoring can take a long time to compute in some projects. Disabling these in insiders. We'll disable them in 1.14 is this is found to help
-rw-r--r-- | extensions/typescript/src/typescriptMain.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/typescript/src/typescriptMain.ts b/extensions/typescript/src/typescriptMain.ts index c285fe7f0b9..4fbb1507b1e 100644 --- a/extensions/typescript/src/typescriptMain.ts +++ b/extensions/typescript/src/typescriptMain.ts @@ -38,7 +38,7 @@ import BufferSyncSupport from './features/bufferSyncSupport'; import CompletionItemProvider from './features/completionItemProvider'; import WorkspaceSymbolProvider from './features/workspaceSymbolProvider'; import CodeActionProvider from './features/codeActionProvider'; -import RefactorProvider from './features/refactorProvider'; +//import RefactorProvider from './features/refactorProvider'; import ReferenceCodeLensProvider from './features/referencesCodeLensProvider'; import { JsDocCompletionProvider, TryCompleteJsDocCommand } from './features/jsDocCompletionProvider'; import { DirectiveCommentCompletionProvider } from './features/directiveCommentCompletionProvider'; @@ -264,7 +264,7 @@ class LanguageProvider { this.disposables.push(languages.registerRenameProvider(selector, new RenameProvider(client))); this.disposables.push(languages.registerCodeActionsProvider(selector, new CodeActionProvider(client, this.description.id))); - this.disposables.push(languages.registerCodeActionsProvider(selector, new RefactorProvider(client, this.description.id))); + //this.disposables.push(languages.registerCodeActionsProvider(selector, new RefactorProvider(client, this.description.id))); this.registerVersionDependentProviders(); this.description.modeIds.forEach(modeId => { |