Skip to content

Test: View and edit Markdown in the Agents window #326540

Closed

Description

Complexity: 3

Authors: Henning Dieterichs (@hediet)

Create Issue


The Agents window uses an experimental hybrid editor for viewing and editing Markdown.

Setup

  1. Ensure workbench.editor.markdownDefaultEditorInAgentsWindow is enabled. It is enabled by default.
  2. Ask the agent to create a Markdown document with headings, emphasis, links, task lists, a table, fenced code, math, and a Mermaid diagram.
  3. Open the created file in the Agents window.

Testing

  • Verify the Markdown features render correctly.
  • In Editing mode, select a block and verify its Markdown markers appear. Edit it and verify undo, redo, dirty state, and save work normally.
  • Switch to Locked mode. Verify the document stays rendered and cannot be edited.
  • Switch sessions and return. Verify scroll and cursor position are restored.
  • Open a normal .md file in the main VS Code window. Verify it still opens in the normal Text Editor, not the experimental Markdown editor.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions