-
Notifications
You must be signed in to change notification settings - Fork 532
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
Custom Editor API #3961
Custom Editor API #3961
Conversation
Can you take a look at 8c3df83 and see if things work as you intended? |
With this change, the command Also, omitting the default value in |
I suppose f8c7c3a fixes both? |
The latest version seems to work as intended |
Before merge, please add related tests. A minimum one is to try setting the config and view and see if a viewer is fired. You may refer to other tests for the implementation. I do encourage to add more as you may think of (I am not quite sufficient in thinking of different test cases.) |
This comment was marked as resolved.
This comment was marked as resolved.
Thanks for your contribution! |
It seems that the custom editors can be duplicated by the "splitting" button, which I think is acceptable. Therefore, I'd propose to switch the options of
What do you think? @ManuelHentschel |
Sounds good to me! |
Implements the changes discussed in #3951
I added a new viewmode instead of replacing the "singleton" mode, in case some users want to preserve the specific behavior of that mode, but of course that can be changed easily.
I had to add the option
"latex-workshop.view.pdf.tab.viewColumn"
, since the current option"latex-workshop.view.pdf.tab.editorGroup"
is not compatible with the editor-open API of vscode, and merging the two felt rather confusing.