Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lock down placement of panes from Visual Studio

Ok, if you're like me, you've accidentally dragged one of the many, many panes in Visual Studio around and spent some tedious time getting things back in order again.

Is there any way to lock down all the panes in Visual Studio so they cannot be dragged and placed elsewhere ?

like image 642
Lyke Avatar asked Mar 28 '11 19:03

Lyke


People also ask

How do I dock windows in Visual Studio?

First, click and hold the title bar with the mouse, and then drag the window to where you want to dock it. Visual Studio displays some docking icons. Four icons are at the edge of the IDE, one each at the left, top, right, and bottom. These icons are used for docking the window at the given edge of the IDE.

How do I lock a code in Visual Studio?

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”. The locked group then shows a lock icon and no other files will open as tabs on it, even if it had the focus.

How do I show the toolbar in Visual Studio?

To open Toolbox, choose View > Toolbox from the menu bar, or press Ctrl+Alt+X.


2 Answers

When you have your pane layouts (as well as your fonts, toolbars, colour schemes and whatnot) the way you like them, export your settings (Tools, Import and Export Settings) and give the file a sensible name. Then if you have a spot of accidental dragging, just import your saved ones. This is better than Reset Layout if your preferred layout is not the default.

like image 181
Kate Gregory Avatar answered Sep 28 '22 06:09

Kate Gregory


As far as I know, no. But everything for getting for working with tabs and tab groups is inside the "Window" menu item in VS. But if you want to reset everything back to the way it was why not try:

Window -> Reset Windows Layout

You might also want to check out this Arranging and Using Windows in Visual Studio, I think you might be able to create a workspace, save it and if needed reset back to it after you moved windows around.

like image 35
Edward Avatar answered Sep 28 '22 07:09

Edward