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

Option to switch off the activating / focusing of the PlantUML Preview tab upon refreshing #582

Open
toddmo opened this issue Apr 10, 2024 · 0 comments

Comments

@toddmo
Copy link

toddmo commented Apr 10, 2024

Use Case:
I want to edit the uml code while the preview tab is open AND KEEP EDITING, uninterrupted.

Expected Behavior:
The preview updates while I edit and I can see what I'm changing if I wish to, whilst being able to continue to edit the plant uml document. Keeping my hands on the keyboard, continuing to type, with the puml document staying the active tab.

Actual Behavior:
The PlantUML Preview tab forcably switches me to itself and I must refocus the code to keep working on the document. I lose my place and my train of thought. usually a few keystrokes are lost before I realize what has happened. It's astonishing in that this isn't the expected behavior of editors and previews.

Ask:
Please add an option in this extension settings to turn off the tab activation behavior.

Notes:
Note that I'm not asking to turn off auto-refresh. I'm asking just to be able optionally through settings to turn off the forcable tab switching which is focusing the active tab to the Preview tab. And I'm not asking to turn it off for everyone. Just asking to add an option. The default option value can be to keep it acting the way it currently acts.

Remark:
I'm not personally aware of any other extension that exhibits the behavior of whisking you away from the active code editor while your editing code. Not saying there aren't any; just that I've never seen it elsewhere but here in this case. For example, the markdown preview doesn't do this. Neither does the svg preview, etc.

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

1 participant