Multi monitor support in Visual Studio 2010 - visual-studio

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.

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.

How do I print the screen layout in Visual Studio 2012 (Windows Forms)

I have a complex form that I created in Visual Studio 2012; I want to print out that form exactly as it shows in the designer using Visual Studio 2012 (not while the program/form is running). Is this possible?
I know I can just do a screen shot, but I will need to be doing this quite often and would prefer a simple, direct way to do this.
I'm not sure if there's anything within visual studios that does exactly what you're suggesting.
I would definitely recommend snagit. We use it at work quite a bit when putting together internal documentation.
http://www.techsmith.com/snagit.html
You just click and drag and it saves everything in one location. You can also do a quick click on the title bar of the vs window and it will save a screenshot of everything within that window. It's a lot easier than constantly pressing the print button and then pasting it somewhere.
Or you could write your own program that does exactly what you need it to do.

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.

How to detach document windows from Visual Studio 2010?

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.

Undocking a code window in Visual Studio

I've finally joined the 21st century and got a second monitor. I can merrily undock all the side windows (Solution Explorer, ToolBox etc) and plonk them anywhere I like on either monitor. I can't though figure out how to undock a code window. Is it possible? (I'm using vs2008).
Multi monitor is a key functionality of the new vs 2010 as was requested by a lot of devs.
Actually there is a way to do that.
You just need to install a FREE addon from Exact Magic named StudioTools
It has this feature called "Tear Off Editor Window".
You just activate the tab you want to tear off and from the StudioTools manu select Tear Off Editor.
I also strongly recommend you check out the rest of the features, especially the "Smart Goto" which rocks!
Just for you (VS2010) ;-p
You could resize Visual Studio to cover both monitors, then right-click the code window and click New Vertical Tab Group
The "Tear Off Editor Window" feature in Studio Tools from Exact Magic is I think the only option if can't just extend the application over your monitors, if you have multiple monitors of different sizes or a mix of portrait and landscape orientation.
However you cannot download Studio Tools from the original site as they were bought by another company who no longer support the software. You can download it from the the Wayback Machine: Studio Tools Download Link

Resources