Skip to content

[Debugger] Feature request: “View string as document” for multiline strings #3817

@MistaTwista

Description

@MistaTwista

Is your feature request related to a problem? Please describe.
When debugging Go code, long string variables are rendered as a single escaped
line (\n, \t, etc.)
This makes multi-line content, like templated Go code hard to read and reason about

Describe the solution you'd like
Add a context-menu command like “View string as document…” for string variables.

Selecting it would:

  • Open the value in a new editor tab
  • Show real line breaks instead of escape sequences
  • Let the user pick a language mode so built-in syntax highlighting applies

Describe alternatives you've considered

  • Expanding the inline viewer: still shows escaped characters and wrecks layout
  • Copy-pasting into a new file: slow and breaks debugging flow
  • External pretty-print tools: require context switching and lose debugger context
  • Add functions to render files in FS

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugIssues related to the debugging functionality of the extension.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions