Better editor for customizing VS 2010 menus? - visual-studio-2010

Can't STAND the editor for configuring Visual Studio 2010's environment menus. It's soo freaking tedious now! Just try creating a sub-menu, or even adding several commands to your own toolbar. You have to do it one. Command. At. A. Time. closing the command window each time, then losing your place and having to start over again.
Does anyone know of any add-in or extension that lets you actually drag-drop menus and commands so you can more easily set up your enviro the way you want?
Right now, it's such a pain that half the time I just don't even bother.

Related

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.

How do I pin a tabbed document in Visual Studio 2010?

Is there any way to "pin" a document into a fixed position? I want to keep the "Source Control Explorer" tab on the far left and always open new documents to the right of it.
However, VS 2010 tends to add documents at the very left. I want "Source Control Explorer" on the very far left so I always know where to find it.
I can think of two different ways of doing this. The first one uses only options that are built into Visual Studio 2010 but is more limited and may not work 100% of the time. The other one requires that you install an extension, but is much more powerful, dependable, and even adds some other useful features.
You can configure Visual Studio to always open new tabs to the right of existing tabs, just like a web browser would. (Personally, I prefer this option.) To do this, open the options dialog (Tools → Options), expand the "Environment" category, click on "Documents" and check the "Insert documents to the right of existing tabs" box (see screen shot).
The key to making this work for you is to ensure that you always open the Source Control Explorer first before opening any other code windows, and then never close it. That way, it will always be on the far left, and all of the code windows you open will be inserted to the right of it.
Like I mentioned above, the advantage of this approach is that it uses a setting built into Visual Studio and doesn't require that you install anything extra. All you have to do is flip a switch. The disadvantage is that it isn't 100% dependable—if you close the Source Control Explorer and re-open it, you'll have to remember to drag it back into position at the far left or it won't be there when you go to look for it.
You can install Microsoft's Productivity Power Tools extension (available from the Visual Studio gallery), which adds the ability to pin tabs (among lots of other neat features) to the VS IDE. There's a great run-down of the features added specifically to the document tab well here, but the feature you're most interested in is pinned tabs. You can even show pinned tabs in a separate row!
This is as close to a perfect solution as it gets, but it does have the disadvantage of requiring you to install something extra. In some environments and for some people, that can be a deal killer. Too many extensions can also slow things down, and later versions of Visual Studio often seem to be slow enough already. (Though, for what it's worth, I use the PPT extension on about half of my VS installations and I haven't noticed that it has caused any significant issues.)

Prevent Visual Studio to scroll to the end of file when pressing Ctrl A (select all)

It's basically in the title.
Whenever you "select all" in the Visual Studio code editor, the editor will scroll down to the bottom of the file. Is there a way to prevent this?
I'm using Visual Studio 2008 at the moment, but this applies to all versions.
No, you cannot change this behavior.
Microsoft has been aware of this since at least VS 2010, but either doesn't think it's a bug or doesn't think it's important enough to fix.
From their response to a 2010 bug report filed on the issue:
We unfortunately do not plan to change Ctrl+A's scrolling at this
time, so we're unfortunately resolving this issue as Won't Fix for VS
2010. However, it will remain in our database to be revisited for a future release of Visual Studio.
Source: Microsoft Connect
A quick Ctrl-Z-Ctrl-Y will get you back to where you were. If you tend to do a Ctrl-S Ctrl-A Ctrl-C a lot then just get used to this whole chain instead: Ctrl-SACZY. Or, create a macro: https://msdn.microsoft.com/en-us/library/a0003t62%28v=vs.90%29.aspx
I was struggling with this myself, but the "undo" suggestion gave me an idea and I feel kinda dumb for not thinking of it earlier. Visual Studio includes "Navigate Backwards" and "Navigate Forwards" buttons (CTRL-, and CTRL+, respectively). So after you finish selecting and copying, simple click the navigate backwards button or type CTRL- and voilà! you're back where you were.
I know it doesn't stop the scroll to begin with, but at least it puts your cursor back exactly where you left it!

How do I get my normal Find/Replace window back in Visual Studio 2010?

I have no idea what prompted this, but now in VS, I have a horrible find/replace window that pops up and rarely even works. How do I get the normal one back?
You have installed the Pro Power Tools. I can tell from your file tabs. Under Tools, Options, you can control individual pieces of the pack. Turn off the Quick Find.
You might need to scroll to get to it.

Is there some way I can make blend reload a project which has been modified in Visual Studio?

I have a Visual Studio solution which is open in both blend 2 SP1 and VS2008 SP1 simultaneously.
If I make changes in VS, then switch over to blend, it notices that the project has changed and reloads things, however this is really unreliable. Sometimes it doesn't notice changes, and sometimes it does notice changes, but doesn't reload all the files that were changed. Notably the following:
If I have a xaml file open in blend, and edit it in VS, when I switch back to blend, often it does not pick up the edited source code
If I add a new file to the project using VS (an image or xaml file or anything), and switch back to blend, it does not show the added file.
The only way I've been able to get blend to notice these changes is to close the project and re-open, or to quit and re-start blend. This is really annoying. What I'd like to do is force blend to reload the project without having to close and re-open it.
This seems like something which should be obvious and easy (F5 would be nice), but I've not been able to find anything! Help!
After watching a TechEd video of Jonas Follesoe doing some silverlight dev in blend, I noticed he kept repeatedly doing a "Rebuild Solution" from inside blend.
I tried doing this, and it seems to have made the problem go away. I'm not entirely sure if it's fixed, but it does seem to be a bit better now.

Resources