Re-enable TS refactoring provider

This commit is contained in:
Matt Bierner 2017-07-20 14:17:51 -07:00
parent 58e7b4045e
commit 0cd033daff

View file

@ -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 => {