提交 ce486da9 编写于 作者: J Johannes Rieken

goto error should work on all editors, #96551

上级 46d7b22e
......@@ -430,7 +430,7 @@ export class NextMarkerAction extends MarkerNavigationAction {
id: NextMarkerAction.ID,
label: NextMarkerAction.LABEL,
alias: 'Go to Next Problem (Error, Warning, Info)',
precondition: EditorContextKeys.writable,
precondition: undefined,
kbOpts: { kbExpr: EditorContextKeys.focus, primary: KeyMod.Alt | KeyCode.F8, weight: KeybindingWeight.EditorContrib }
});
}
......@@ -444,7 +444,7 @@ class PrevMarkerAction extends MarkerNavigationAction {
id: PrevMarkerAction.ID,
label: PrevMarkerAction.LABEL,
alias: 'Go to Previous Problem (Error, Warning, Info)',
precondition: EditorContextKeys.writable,
precondition: undefined,
kbOpts: { kbExpr: EditorContextKeys.focus, primary: KeyMod.Shift | KeyMod.Alt | KeyCode.F8, weight: KeybindingWeight.EditorContrib }
});
}
......@@ -456,7 +456,7 @@ class NextMarkerInFilesAction extends MarkerNavigationAction {
id: 'editor.action.marker.nextInFiles',
label: nls.localize('markerAction.nextInFiles.label', "Go to Next Problem in Files (Error, Warning, Info)"),
alias: 'Go to Next Problem in Files (Error, Warning, Info)',
precondition: EditorContextKeys.writable,
precondition: undefined,
kbOpts: {
kbExpr: EditorContextKeys.focus,
primary: KeyCode.F8,
......@@ -472,7 +472,7 @@ class PrevMarkerInFilesAction extends MarkerNavigationAction {
id: 'editor.action.marker.prevInFiles',
label: nls.localize('markerAction.previousInFiles.label', "Go to Previous Problem in Files (Error, Warning, Info)"),
alias: 'Go to Previous Problem in Files (Error, Warning, Info)',
precondition: EditorContextKeys.writable,
precondition: undefined,
kbOpts: {
kbExpr: EditorContextKeys.focus,
primary: KeyMod.Shift | KeyCode.F8,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册