Don't show lightbulb if we only have a selection

Removes code action trigger proposal

Fixes #52070
This commit is contained in:
Matt Bierner
2018-06-15 11:07:39 -07:00
parent 74ae993e2f
commit ab77235bfb
3 changed files with 8 additions and 29 deletions
@@ -189,7 +189,7 @@ class TypeScriptRefactorProvider implements vscode.CodeActionProvider {
return false;
}
return rangeOrSelection instanceof vscode.Selection && (!rangeOrSelection.isEmpty || context.triggerKind === vscode.CodeActionTrigger.Manual);
return rangeOrSelection instanceof vscode.Selection;
}
private static getKind(refactor: Proto.RefactorActionInfo) {