Skip to content

Conversation

@mccheesy
Copy link
Contributor

@mccheesy mccheesy commented Nov 7, 2025

references PR #9698
fixes #9800, fixes #9796, fixes #9697

Special notes for your reviewer: Copilot helped with this so if there are any style or coding conventions that I should adjust, I'm happy to update.

@mccheesy mccheesy force-pushed the fix/preserve-diff-view-on-write branch from 37a6cba to ab01c42 Compare November 7, 2025 19:36
- Use Tab API when available to detect preview tabs and only call showTextDocument when needed.
- Ensure saving in compare/diff editors does not switch to a normal editor (fixes VSCodeVim#9800, VSCodeVim#9796).
- Keep previous behavior of pinning preview tabs on :w so :w matches Cmd+S (fixes VSCodeVim#9697).
- Add test coverage for write, including new doc handling logic

references PR VSCodeVim#9698
fixes VSCodeVim#9800, fixes VSCodeVim#9796, fixes VSCodeVim#9697
@mccheesy mccheesy force-pushed the fix/preserve-diff-view-on-write branch from ab01c42 to 65ba2ee Compare November 8, 2025 05:17
Copy link
Member

@J-Fields J-Fields left a comment

Choose a reason for hiding this comment

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

Thank you!

@J-Fields J-Fields merged commit 14b7599 into VSCodeVim:master Nov 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants