Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggling WYSIWYG on file will move file to wrong panel #11

Open
Blayr opened this issue Nov 20, 2023 · 1 comment
Open

Toggling WYSIWYG on file will move file to wrong panel #11

Blayr opened this issue Nov 20, 2023 · 1 comment

Comments

@Blayr
Copy link

Blayr commented Nov 20, 2023

When toggling the editor, it seems to always move the file that is focused to the wrong panel (in my example video, it's the first panel).

Screen.Recording.2023-11-20.at.4.31.13.PM.mov
@Blayr Blayr changed the title Toggling WYSIWYG on file will move/open file to wrong panel Toggling WYSIWYG on file will move file to wrong panel Nov 20, 2023
@adamerose
Copy link
Owner

Yes this is annoying and I'm not sure how to fix it. I couldn't find anything in the VS Code API to directly reopen a file with a different custom editor... workbench.action.reopenWithEditor does this and maintains panel positioning, but it shows the user a dialog to pick the editor and there is no similar command that does this without a prompt.

I made an upstream feature request over a year ago about this, go upvote it to increase visibility 😊
microsoft/vscode#169921

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

No branches or pull requests

2 participants