VSCode: Prevent split editor from resizing when focusing?

不羁岁月 提交于 2020-12-12 04:38:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!