Skip to content

Debug: mnemonic titles for Disassembly View actions are missing word spaces #310447

@Nedunchezhiyan-M

Description

@Nedunchezhiyan-M

Bug Report

In src/vs/workbench/contrib/debug/browser/debugEditorActions.ts, two action mnemonic titles are missing spaces between words.

Bug 1: Line 240 — "&&DisassemblyView" should be "&&Disassembly View"

The OpenDisassemblyViewAction has:

  • title: "Open Disassembly View" (correct)
  • mnemonicTitle: "&&DisassemblyView" (missing space — displays as one word in native menus)

Bug 2: Line 280 — "&&ToggleSource" should be "&&Toggle Source"

The ToggleDisassemblyViewSourceCodeAction has:

  • title: "Toggle Source Code in Disassembly View" (correct)
  • mnemonicTitle: "&&ToggleSource" (missing space — displays as one word in native menus)

Expected behavior

All other debug mnemonic titles use proper word spacing:

  • "Toggle &&Breakpoint"
  • "&&Enable All Breakpoints"
  • "Open &&Configurations"

The mnemonic character marker && does not remove the need for spaces — "&&DisassemblyView" displays as "DisassemblyView" (one word) in the native OS menu bar on Windows/Linux instead of "Disassembly View".

File

src/vs/workbench/contrib/debug/browser/debugEditorActions.ts lines 240 and 280

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions