views:

4110

answers:

10

Ultramon is a great program for dual monitors (stretching screen across monitors), but I was wondering if there is any way do to something in Visual Studio like have one tab of code open on one monitor and a second tab of code open on the second monitor with only one instance of Visual Studio running?

Or are there any other suggestions on getting most bang for buck on dual monitors and Visual Studio?

+2  A: 

For GUI debugging is awesome being able to run the app into one screen and having the debugger in another screen. That's one of the most practical uses..

But really, depends on which kind of application you're developing, i.e., if you need to monitor open file handles, logs, etc.

+16  A: 

Personally, I have my windows set up so that one my main monitor, I have the main visual studio monitor, so therefore my code window, maximized, with only the toolbox docked, on the left. This means the code window takes up as much space as possible, while keeping the left hand edge of the code close to the middle of the screen, where my eyes naturally look. My main monitor is a wide screen, so I find that gives me more than enough room for my code.

My secondary monitor has a second window, which contains the tool windows that I use. So I have solution explorer, error list, task list (//todo: comments), output window, find results etc. all taking up as much space as they like on my secondary monitor.

When debugging, the solution explorer moves the main monitor, and the watch, autos and locals windows take its place.

I find this gives me a very large area to write code, and really helps usage of all of those additional windows, by giving them more real estate than they'd usually have.

Update: In response to everyone talking about using the second monitor for documentation or running the app, I wholeheartedly agree, and forgot to mention how I do that. I use PowerMenu alot to acheive this. Basically I can right-click on any window and set Always On Top. So while i'm debugging, i want to see my output window, but then if I have to refer to some documentation, I just flick to Mozilla (on the second monitor), set it on top, and go back to visual studio. I find this lets me manage the tool windows without having to either shuffle them around a lot, or take up valuable space in the code window.

Ch00k
downvoted for using the toolbox at all
Shawn Simon
Upvoted to counter moronic downvote
Sakkle
How do you put controls on forms without the toolbox? Do you manually edit the Form Designer generated code?
recursive
The toolbox is on the left hand side of my main monitor.
Ch00k
+2  A: 

When I first got two monitors I wanted to do the same as you, use all the space for visual studio, but I think that you come to realize that it's best to keep VS on one monitor and use the second monitor for documentation, external resources etc. You wouldn't think it at first, but all the little touches like just being able to maximize other resources without them hiding your code is a great feature.

Tarks
+4  A: 

I have three monitors, so I usually run with this configuration:

  • Left Monitor: documentation / ebooks.
  • Middle Monitor: code / debugging
  • Right Monitor: Test application / scrolling logfiles (if needed)

This usually works pretty well, and since the monitors are fairly big I rarely need to use the test application in full-screen, so there's plenty of room for my tail -f windows.

I also use AutoHotkey to assign hotkeys that flip to the most important windows, like Firefox or my SSH session. That way I can simply use a shortcut key to access them when necessary.

The left monitor is actually a separate computer running Linux and keyboard/mouse shared with Synergy, so I have multiple ebooks or documentation pages open, one on each virtual desktop... I can flip between the documentation by moving my mouse to the left and using a shortcut key.

The How-To Geek
+1  A: 

I have VS in my left monitor and the GUI/running window in the right. However, if you want to have to code tabs open on each monitor, you could use UltraMon's option to expand a window across both monitors, then drag a code page over such that it puts up a divider. Then, you align that divider with the break in your monitors.

I've done that before, just to test it out. It's not a bad setup.

EndangeredMassa
A: 

Three monitors -- all 1600x1200

  • Left: Email, IM, SQL Server Management Studio, Remote Desktops to servers
  • Middle: VisualStudio -- maybe multiple instances -- maximized, solution explorer and team explorer docked on right, errors/output docked bottom, others auto-hide
  • Right: Web browsers -- app debugging and normal web work, ADUC (if needed)

Other apps get moved around depending on what I'm working on and how crowded the monitors are and the interaction between the app that's open and what I need the info from it for.

tvanfosson
A: 

I have three monitors, set up where Visual Studio is full screen on the middle monitor, the right hand monitor has all the tool windows configured and the left monitor is for browser, help, SSMS, email, etc..

Works well except if I have to remote in, so I have a separate exported configuration to bring move the tool windows back into Visual Studio, and one to set them back up for multiple monitors.

KMessenger
A: 

You could try right-clicking a file in solution explorer, Open With, and then go find devenv.exe. That will open it up in a new instance of VS. Plus, it saves devenv as one of your default options in the future, so you don't have to go hunting around for devenv all the time. Not beautiful, but an option.

Dax
+1  A: 

Though I use StudioTools for other purposes, it has a "Tear off Editor" option, with which you can "tear off" the file to a window and resize the window. Find it quite helpful

ram
+1  A: 

I find the Code Definition window absolutely invaluable to have open in my other monitor. As the cursor moves over a type name in your editor the other window shows its definition.

the_mandrill