no "Change All Occurrences" when there is a rename provider
This commit is contained in:
parent
9563176cd1
commit
5c27cdccf8
|
@ -759,7 +759,7 @@ export class CompatChangeAll extends MultiCursorSelectionControllerAction {
|
|||
id: 'editor.action.changeAll',
|
||||
label: nls.localize('changeAll.label', "Change All Occurrences"),
|
||||
alias: 'Change All Occurrences',
|
||||
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.editorTextFocus),
|
||||
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.editorTextFocus, EditorContextKeys.hasRenameProvider.toNegated()),
|
||||
kbOpts: {
|
||||
kbExpr: EditorContextKeys.editorTextFocus,
|
||||
primary: KeyMod.CtrlCmd | KeyCode.F2,
|
||||
|
|
Loading…
Reference in a new issue