问题
With multiple editor groups open, and one of them made small enough, focusing the small one causes it to get bigger until you switch back to another editor. I'd prefer it leave everything at the size I set. Is there a setting to prevent this?
Note how it has to be made small first
old example
回答1:
If you don't minimize the group all the way - you only have to stop just a tiny bit short of complete minimization (maybe only a pixel short) - then shifting focus between groups will not change their widths.
回答2:
In my case, vscode has a button split editor, which is enabled by the ctrl + \ hotkey. When i use it, the editor doesn't change the window size when i switched between the editors.
回答3:
My answer will be the same as Owen Wijaya's answer which is by using the ctrl + \ hotkey, it works on my vscode.
来源:https://stackoverflow.com/questions/63927173/vscode-prevent-split-editor-from-resizing-when-focusing