Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences

When using the Edge DevTools for VS Code inside the editor, one thing that I kept doing wrong was opening files by accident next to the tools.

By default, the tools show up as their own pane next to the main editor. This is an editor pane of VS Code,…


This content originally appeared on DEV Community and was authored by Christian Heilmann

When using the Edge DevTools for VS Code inside the editor, one thing that I kept doing wrong was opening files by accident next to the tools.

By default, the tools show up as their own pane next to the main editor. This is an editor pane of VS Code, and thus supports many things, including tabs.

Edge DevTools open in Visual Studio Code

When I use the tools, this group has focus. And when I go open another file to edit, it opens as a new tab next to the tools. Many a time this messed up my screencasts.

File accidentally opened next to the DevTools instead of the main editor

The trick is to lock the group with the tools in them. You do that by activating the … menu of the tools pane and select "Lock Group".

Locking the pane with the DevTools Extension

The locked group then shows a lock icon and no other files will open as tabs on it, even if it had the focus.

Locked pane

You can see this in action in the following screencast.


This content originally appeared on DEV Community and was authored by Christian Heilmann


Print Share Comment Cite Upload Translate Updates
APA

Christian Heilmann | Sciencx (2021-09-08T19:22:20+00:00) Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences. Retrieved from https://www.scien.cx/2021/09/08/locking-editor-panes-in-visual-studio-code-prevents-unwanted-multi-tab-experiences-2/

MLA
" » Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences." Christian Heilmann | Sciencx - Wednesday September 8, 2021, https://www.scien.cx/2021/09/08/locking-editor-panes-in-visual-studio-code-prevents-unwanted-multi-tab-experiences-2/
HARVARD
Christian Heilmann | Sciencx Wednesday September 8, 2021 » Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences., viewed ,<https://www.scien.cx/2021/09/08/locking-editor-panes-in-visual-studio-code-prevents-unwanted-multi-tab-experiences-2/>
VANCOUVER
Christian Heilmann | Sciencx - » Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/08/locking-editor-panes-in-visual-studio-code-prevents-unwanted-multi-tab-experiences-2/
CHICAGO
" » Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences." Christian Heilmann | Sciencx - Accessed . https://www.scien.cx/2021/09/08/locking-editor-panes-in-visual-studio-code-prevents-unwanted-multi-tab-experiences-2/
IEEE
" » Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences." Christian Heilmann | Sciencx [Online]. Available: https://www.scien.cx/2021/09/08/locking-editor-panes-in-visual-studio-code-prevents-unwanted-multi-tab-experiences-2/. [Accessed: ]
rf:citation
» Locking editor panes in Visual Studio Code prevents unwanted multi-tab experiences | Christian Heilmann | Sciencx | https://www.scien.cx/2021/09/08/locking-editor-panes-in-visual-studio-code-prevents-unwanted-multi-tab-experiences-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.