How to detach document windows from Visual Studio 2010? - visual-studio

I've got 2 displays with very different resolution (which makes just stretching a window over them not a good idea) and actively use both of them, usually looking at one when doing changes in another.
So I wonder if I could move a child window of Visual Studio 2010 from within the boundaries of it's main window an move it to another display. Nowadays I'd enjoy the way child windows behaved (each window, incl a toolbar and a properties pane worked as an independent window on a desktop) in Borland C++ Builder (while it was senseless the days when I actually was using it).

In Visual Studio 2010 Document Windows are (finally) detachable. For an how to, you can check this post:
Free your Document windows
Basically there are different ways you can achieve this:
Simply click and drag the tab for the Document window out of the IDE;
Go to Window -> Float on the Menu Bar.

Related

Web Publish Activity window is not maintained when closing and reopening Visual Studio 2022

I recently applied an update to Visual Studio Community 2022 (64-bit).
Current Version is 17.3.4
We still use Web Deploy for some legacy asp.net sites and the Web Publish Activity window is very useful for switching between dev and production environments.
After a recent Visual Studio upgrade I noticed that the Web Publish Activity window was not visible, so I reopened it via View -> Other Windows... and it appeared as expected in the lower window, as a new tab along with Output and Error List.
But after closing my project and reopening it, the Web Publish Activity window is missing again. I tested other windows like PowerShell and Bookmark Window and they ARE maintained after closing and reopening VS.
I also tried saving a new window layout with the Web Publish Activity window open and then reapplying that layout after a VS restart but that had no affect.
It is very annoying to have to go though multiple levels of the View menu to reopen this window every time I open this project.
Does anyone have any advice on how to keep this window locked/pinned?
Is Microsoft trying to "encourage" me to stop using this window?
If there is another way to quickly change between publish profiles that would be acceptable as well, but I cannot find one.
Thank you.
This may be a bug with this particular window (the fact that it doesn't stay pinned after closing Visual Studio that is).
Perhaps as a decent workaround you can at least assign a keyboard shortcut to open this window:
Go to Options → Environment → Keyboard
Filter down to "View.WebPublishAcitvity" or find it in the list
Create a keyboard shortcut of your liking by typing it in the circled red box and then click the Assign button:
After doing that, you should be able to use that shortcut to open the window much faster at least.

Visual Studio adds :1 to title

Today I updated to Visual Studio 2019 16.7.6 now I saw, that on the tab riders of code files there is the name and a ":1" added to it, like "Skaarhoj.vb:1". Does anybody know what that is?
It's visible when you have multiple views/windows (tabs) open for the same file.
Note that this is not the same thing as the split-view you can activate by dragging the handle at the top of the vertical scrollbar.
This is not a new feature - I can remember using it in VS2013, possibly VS2010.
The first window/tab has :1, the second has :2 and so on.
You can open new windows for most (but not all) files and file-types via (VS Main Menu) > Window > New Window
Note that not all editors/file-types support having multiple windows open simultaneously, so that menu item may appear disabled for some files.

Visual studio 2010 floating windows on top behaviour

So i'm using Visual Studio 2010 with a dual monitor setup and I like to have my Build/Team -explorer tab on my other screen.
But the the problem I am raging with is the following:
"sketch" of the problem: http://pastebin.com/X8K3ihGJ
If i'm coding and I switch to the word doc on screen 1 (it pops to the front (y) )
But if i then want to click on the build explorer on screen 2, the vs main screen on screen 1 goes to the front.
Is there anyway it's possible you can set the visual studio windows' on top state's independent from each other?
It's a minor issue but it's hurting me all day :)
Thx!
Try the Productivity Power Tools extension. Dock the build explorer in a floating tab well and enable the "enable independent floating tab well" option in the Document Tab Well settings. This will allow windows to be on top independent of each other.

Dock Code Windows in Visual Studio 2010

In Visual Studio, you are able to dock code windows in horizontal and vertical tab groups (something you can also do with tool windows).
However, when doing so you may end up with a lot of redundant screen space. What would be ideal would be if you could mix docking orientations for code windows. This is possible with tool windows in Visual Studio 2010. Here is an image showing the feature used for tool windows:
My question is: is it possible to get this same functionality with the code windows - i.e. being able to mix horizontal and vertical docking, like with the tool windows shown? I've heard rumours that its possible, but I've been unable to find any truth in that.
I too wish this was a naitive feature in visual studio, but there is one workaround by using the 'floating tab group' feature of visual studio
Move the visual studio main window out of the way (maybe to another monitor, or to smallest area of the monitor needed to see the tooling windows)
"Tear out" or Right Click > Float on the desired tab
Position the tab to your desire (I suggest using WinSplitRevolution, via codinghorror)
Repeat, note that you can move a tab to an existing 'floating' tab group
And voila!
There are some setbacks, some commands will pop up over the main tooling window instead of your current tab group etc. but its still pretty nice. I'm not sure if there's any changes coming in VS2012, but I haven't heard about anything related.

Multi monitor support in Visual Studio 2010

I hear that Visual Studio 2010 has "Multi-Monitor Support". Yet now that I am using it, I see no difference from VS2008.
I still have to resize all my windows when switching from one monitor to two and back again.
Is there somekind of Profile or setting I am missing? For example, Delphi lets you save desktop profiles that record where you like specific windows. Switching from single to dual monitors is as simple as selecting a different desktop profile.
Is there something similar in VS2010 that I am missing?
Multi-monitor support refers to the ability for you to undock a code window and drag it to another monitor. Try dragging on the tab of a code window into your other monitor.
ScottGu has an excellent blog post on this subject
http://weblogs.asp.net/scottgu/archive/2009/08/31/multi-monitor-support-vs-2010-and-net-4-series.aspx
Just drag the editor tabs out and onto your other monitor and witness the glory.
In VS2008 you could detach things like the solution explorer and put them onto a different monitor, but source code pages were forced to stay on one monitor.

Resources