Visual Studio - Auto Hide/Show Toolbox in Code/Designer modes - visual-studio

I know I can manually pin and unpin the Visual Studio Toolbox, but what I would like to do is have it pinned when viewing the designer and automatically hide when I view the code. Is this possible?
Thanks, Jamie

Not as far as I know; I don't think the toolbox can differentiate between code and design views.
It's possible you could write an extension with the Visual Studio SDK that does what you're asking but I don't think it is possible otherwise.

Maybe Perspectives extension can help you. After installing you can save your current layout as perspective (just like in Eclipse) in Visual Studio 2010 and then switch between them.

Related

How can I disable this pop-up that appears during hover in the Visual Studio editor?

I've already turned off many options in Visual Studio 2017, but I can't suppress this annoying pop-up. (Not this specific one, but all of them, for all the API's)
Can someone please show me the setting I need?
Check this old post How do I turn off code tooltips in Visual Studio 2010. In it a workaround is provided but you will probably make a new extension from the source for it to work in Visual Studio 2017.
Looks like there is no setting for this except for the C/C++ language.

Split pane solution explorer in Visual Studio 2010?

Is there any setting or plug-in to improve the solution explorer? Specifically, it would be amazing if I could have something like the windows file explorer, with folders on the left and files on the right (or split in two panes I can arrange any way I like).
In larger projects, I feel like I am constantly frustrated by scrolling up and down trying to find things, it's driving me crazy! Any suggestions would be appreciated.
This is for VS 2010
Mindscape Visual Studio File Explorer
http://visualstudiogallery.msdn.microsoft.com/7193af78-b06e-48dd-8994-9deb2bfa1959
Also check Productivity Power Tools (http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef?SRC=Home). There is nice thing - Solution Navigator
You can check this add in seems to be for visual studio 2005 but the source code is there

Collapse all files at once in Solution Explorer window in Visual Studio

Is there a way to collapse all the files at once in the Solution Explorer window in Visual Studio?
Use the extension Collapse Solution. Usually, this feature comes with ReSharper, but I presume that you are not using ReSharper.
There are also a lot of macros out there that help you do the same. One of them is in ‘Collapse All’ in Visual Studio.
Note: There is no inbuilt way in Visual Studio to actually achieve this. And considering just how practical it is, I would have thought they would have added this kind of feature way back in Visual Studio 2005 itself. I know people have been asking for it for years. But in their infinite wisdom, Microsoft don't consider it important enough.
In visual studio 2013, there is a button in solution explorer - Collapse All
I think this extension have requested functionality - PowerCommands for VS 2010.
Also Productivity Power Tools
contains solution navigator which also have this feature and much more usefull stuff for solution navigation and search.
Edited: there also a lot of examples of macro, doing this stuff.
Try free VSCommands 2010 Lite extension. It has this and few other free features.
In Visual Studio 2013 you can do it with right click by Solution -> Collapse All
Of course, you can collapse any selected node by pressing '-', but I understand you are probably looking to collapse the entire tree.

How to work with XAML editor in Visual Studio 2010?

I've worked with Visual Studio 2008 and editing XAML was really painful because the designer reloaded very slowly. Now I have installed Visual Studio 2010 and it seems to me that the XAML editor + Designer haven't changed much.
For example in order to force designer to change a color in my control I have to close the xaml file and open it again.
Is it just my problem?
I've tried this solution: Visual Studio 2008 Xaml Editor not working / disappeared but it didn't help.
Are there any better tools for Visual Studio to edit XAML?
Thanks!
EDIT: Compiling forces redrawing of the designer but my solution is quite large now and it takes a lot of time.
I run 2010 on an old core 2 duo (~1.2ghz) laptop with 4gb of memory and the xaml editor is fine.
If you've got a MASSIVE xaml document you might want to think about breaking it into user controls to simplify the document. Also, think about the machine you're running. If it doesn't have at least 3gb of memory you're going to be fighting with the disk. Memory is cheap, make sure you have as much as possible.
I didn't experience the same problem, instead I saw that Visual Studio 2010 is faster than its previous version to load a XAML into the designer.
Btw, I suggest you to show only the XAML, either collapsing the designer window or pressing ESC during the loading: the first time is slow, but other times is faster.
Hope this helps.
If you can, get hold of Expression. For Visual Studio 2008 it was a much better visual XAML editor.
I know a lot of what it does was incorporated into Visual Studio 2010, so there might not be a lot of difference between the two now.

Change Visual studio 2010 color palette

I really like Visual studio. I think it is awesome IDE ever been made for developers. But color scheme in new VS2010 is really ugly, so the first thing i'd like to do after install is to change its color palette. I googled how to do this and found VS extension by Matthew Johnson [MSFT].
If you know another way to change color palette in VS2010, please let me know.
You can use the Visual Studio Color Theme Editor to make changes directly within Visual Studio, which will allow you to change the theme/color of the actual Visual Studio shell itself.
To change the theme/color of the editor, you can browse themes (created by others) at Studio Styles, which also allows you to create a theme online and then import it into Visual Studio.
You can create, import and export VS themes in your browser! http://studiostyles.info/
I suppose It should work and for VS 2010
Let me know if it works...
s

Resources