diff --git a/src/vs/workbench/parts/debug/browser/debugActions.ts b/src/vs/workbench/parts/debug/browser/debugActions.ts index 564a69cd050047800c31b9d0b8f594732e2d54ff..776d0c6d5e6ca8f47b07ea94e7d1cc155146c4bf 100644 --- a/src/vs/workbench/parts/debug/browser/debugActions.ts +++ b/src/vs/workbench/parts/debug/browser/debugActions.ts @@ -586,9 +586,9 @@ export class AddConditionalBreakpointAction extends AbstractDebugAction { } } -export class EditConditionalBreakpointAction extends AbstractDebugAction { - static readonly ID = 'workbench.debug.viewlet.action.editConditionalBreakpointAction'; - static LABEL = nls.localize('editConditionalBreakpoint', "Edit Breakpoint..."); +export class EditBreakpointAction extends AbstractDebugAction { + static readonly ID = 'workbench.debug.action.editBreakpointAction'; + static LABEL = nls.localize('editBreakpoint', "Edit Breakpoint..."); constructor(id: string, label: string, private editor: ICodeEditor, diff --git a/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts b/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts index 85a1597cf5609877096e141ee1de402daf58e4ad..45d09d90058ace2c7209e64976811e5bd53c3ed7 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts @@ -30,7 +30,7 @@ import { ICommandService } from 'vs/platform/commands/common/commands'; import { IContextKeyService, IContextKey } from 'vs/platform/contextkey/common/contextkey'; import { IContextMenuService } from 'vs/platform/contextview/browser/contextView'; import { DebugHoverWidget } from 'vs/workbench/parts/debug/electron-browser/debugHover'; -import { RemoveBreakpointAction, EditConditionalBreakpointAction, EnableBreakpointAction, DisableBreakpointAction, AddConditionalBreakpointAction } from 'vs/workbench/parts/debug/browser/debugActions'; +import { RemoveBreakpointAction, EditBreakpointAction, EnableBreakpointAction, DisableBreakpointAction, AddConditionalBreakpointAction } from 'vs/workbench/parts/debug/browser/debugActions'; import { IDebugEditorContribution, IDebugService, State, IBreakpoint, EDITOR_CONTRIBUTION_ID, CONTEXT_BREAKPOINT_WIDGET_VISIBLE, IStackFrame, IDebugConfiguration, IExpression, IExceptionInfo, BreakpointWidgetContext } from 'vs/workbench/parts/debug/common/debug'; import { BreakpointWidget } from 'vs/workbench/parts/debug/browser/breakpointWidget'; import { ExceptionWidget } from 'vs/workbench/parts/debug/browser/exceptionWidget'; @@ -93,7 +93,7 @@ export class DebugEditorContribution implements IDebugEditorContribution { const actions: (IAction | ContextSubMenu)[] = []; if (breakpoints.length === 1) { actions.push(new RemoveBreakpointAction(RemoveBreakpointAction.ID, RemoveBreakpointAction.LABEL, this.debugService, this.keybindingService)); - actions.push(new EditConditionalBreakpointAction(EditConditionalBreakpointAction.ID, EditConditionalBreakpointAction.LABEL, this.editor, this.debugService, this.keybindingService)); + actions.push(new EditBreakpointAction(EditBreakpointAction.ID, EditBreakpointAction.LABEL, this.editor, this.debugService, this.keybindingService)); if (breakpoints[0].enabled) { actions.push(new DisableBreakpointAction(DisableBreakpointAction.ID, DisableBreakpointAction.LABEL, this.debugService, this.keybindingService)); } else {