提交 c037daa0 编写于 作者: M Matt Bierner

Add keybinding for refactor

上级 71c3b154
......@@ -230,7 +230,11 @@ export class RefactorAction extends EditorAction {
id: RefactorAction.Id,
label: nls.localize('refactor.label', "Refactor"),
alias: 'Refactor',
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCodeActionsProvider)
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCodeActionsProvider),
kbOpts: {
kbExpr: EditorContextKeys.textFocus,
primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KEY_R
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册