Skip to content

Make sure reopen as text is enabled in modal change views too#319462

Merged
mjbvz merged 1 commit into
mainfrom
dev/mjbvz/responsible-echidna
Jun 1, 2026
Merged

Make sure reopen as text is enabled in modal change views too#319462
mjbvz merged 1 commit into
mainfrom
dev/mjbvz/responsible-echidna

Conversation

@mjbvz
Copy link
Copy Markdown
Collaborator

@mjbvz mjbvz commented Jun 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings June 1, 2026 21:51
@mjbvz mjbvz enabled auto-merge June 1, 2026 21:51
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 updates the editor title menu registration so that “Reopen as Text” is also available when viewing custom text diffs in modal editor change views (i.e., menu MenuId.ModalEditorEditorTitle), aligning it with other diff title actions that already opt into modal mode.

Changes:

  • Enable the “Reopen as Text” editor title action for modal editor title menus by setting enableInModalMode to true in appendEditorToolItem.
Show a summary per file
File Description
src/vs/workbench/browser/parts/editor/editor.contribution.ts Registers “Reopen as Text” for the modal editor title menu via appendEditorToolItem(..., enableInModalMode: true).

Copilot's findings

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

@mjbvz mjbvz merged commit 94dad6f into main Jun 1, 2026
26 checks passed
@mjbvz mjbvz deleted the dev/mjbvz/responsible-echidna branch June 1, 2026 22:47
@vs-code-engineering vs-code-engineering Bot added this to the 1.124.0 milestone Jun 1, 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.

3 participants