Skip to content

Use stable position for markdown reopen with#319960

Merged
mjbvz merged 2 commits into
mainfrom
dev/mjbvz/devoted-roadrunner
Jun 4, 2026
Merged

Use stable position for markdown reopen with#319960
mjbvz merged 2 commits into
mainfrom
dev/mjbvz/devoted-roadrunner

Conversation

@mjbvz
Copy link
Copy Markdown
Collaborator

@mjbvz mjbvz commented Jun 4, 2026

Fixes #319723

Copilot AI review requested due to automatic review settings June 4, 2026 17:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses #319723 by making the Markdown editor title actions use explicit navigation@... ordering so the “Open as Preview” and “Reopen as source file” actions appear in a consistent position when toggling between source and preview editors.

Changes:

  • Assigns stable navigation@1 / navigation@2 group ordering for Markdown preview-related actions in the editor/title menu.
  • Aligns “Open as Preview” (markdown.reopenAsPreview) and “Reopen as source file” (markdown.reopenAsSource) under the same ordering slot (navigation@2) to keep their button position consistent.
Show a summary per file
File Description
extensions/markdown-language-features/package.json Adds explicit navigation@ ordering for Markdown editor title actions to stabilize toolbar button positions across source/preview.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@mjbvz mjbvz merged commit d3bdd4b into main Jun 4, 2026
25 checks passed
@mjbvz mjbvz deleted the dev/mjbvz/devoted-roadrunner branch June 4, 2026 21:22
@vs-code-engineering vs-code-engineering Bot added this to the 1.124.0 milestone Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move "Open as preview" button so that it's in the same spot as "Reopen as source file"

3 participants