提交 2aa30865 编写于 作者: M Matt Bierner

Add a basic 'refactor' context menu

Fixes #47528
上级 424b95bf
......@@ -135,7 +135,6 @@ export class QuickFixController implements IEditorContribution {
}
}
function showCodeActionsForEditorSelection(
editor: ICodeEditor,
notAvailableMessage: string,
......@@ -155,8 +154,6 @@ function showCodeActionsForEditorSelection(
});
}
export class QuickFixAction extends EditorAction {
static readonly Id = 'editor.action.quickFix';
......@@ -247,6 +244,10 @@ export class RefactorAction extends EditorAction {
kbOpts: {
kbExpr: EditorContextKeys.editorTextFocus,
primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KEY_R
},
menuOpts: {
group: '1_modification',
order: 2
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册