How do I restore the default VS toolbar configuration? - visual-studio

How do I restore the default VS toolbar configuration?
By that, I mean:
the set and location of enabled toolbars
the set and order of items on each toolbar
I know how to reset the set and order of items on a given toolbar, so if I knew which are the default-enabled toolbars (and their location) then I would be able to enable and reset each of them one by one.
I don't want to reset all VS settings.

Tools > Import and Export Settings... > Import selected environment settings >
Choose a Collection of Settings to Import
Default Settings > Visual C# (or whatever language)
Which settings do you want to import?
Uncheck All Settings (everything is unchecked)
Check General Settings > Menu and Command Bar Customizations (only this!)

Related

How to trully reset VS2013 keyboard shortcuts

For some reason in my VS2013 environment shift+E is assigned to some keyboard command, where additional input is required (see image).
This is extremely frustrating when typing something like:
IEvent event = ...
Reset procedure through tools->options-> as described here
http://blogs.msdn.com/b/zainnab/archive/2010/08/05/keyboard-shortcuts-reset-all-your-shortcuts-vstiptool0064.aspx
doesn't seem to work.
Does anybody know how to find and reset this shortcut?
You can also reset Visual Studio settings through Tools | Import and Export Settings.... Select "Import selected environment settings" and click Next. Choose whether or not to save your current settings or not and click Next. Select whichever of the default settings you wish to reset your keyboard shortcuts to and click Next. Then uncheck every setting except for Options > Environment > Keyboard and click Finish.

How to reset visual studio settings to my saved settings with just a single shortcut?

I was wondering how is it possible to assign keyboard shortcut that will reset my opened VS window to my saved settings (full setting import)?
I am not talking about Tools > Import and Export Setting (I want to have a single Reset shortcut) also I am not talking just about ResetWindowLayout option (this one only resets windows layout, not all settings).
Manually all settings can be restored from saved file by going to
Tools > Import and Export Setting
Import Selected Environment Settings > select "Just Import new settings, overwriting my current settings" radio button
Choose a collection of Setting to Import > select a saved file
Choose Setting to import > Check "All Setting" checkbox
Click Finish
Too many steps, I just want to import my setting with one click, similar to ResetWindowLayout to which I can assign a keyboard shortcut.
Any ideas ?
New Answer
Install the macro extension from Microsoft.
https://visualstudiogallery.msdn.microsoft.com/d3fbf133-e51b-41a2-b86f-9560a96ff62b/view/Reviews
Create two macro files. Adjust your paths. (I think you need to keep the commented reference path.
SaveSettings:
dte.ExecuteCommand("Tools.ImportandExportSettings", "-export:C:\\Docs\\VS2013\\Settings\\BACKUP.vssettings");
LoadSettings:
dte.ExecuteCommand('Tools.ImportandExportSettings', '-import:C:\\Docs\\VS2013\\Settings\\BACKUP.vssettings');
Old Answer - Still can work for you. I unsure the project is not supported anymore.
Your are in luck. We both had this same question today and I was considering making something myself before stumbling on this.
VS Settings Switcher
This supports saving and loading settings as profile names.
Even better, you can set a solution to default to a particular settings profile. Useful if your project is a web project to appear as a certain layout. Or a class library project with unit testing layouts. Or even for switching between multi and single monitor.
One of the tests I performed with this tool was to not only close and move around my tool windows, but I deleted icons from my toolbars. I then restored all my changes by applying the saved profile.

How to set VS2010 environment

After you install VS2010 and start it for the first time, your asked how you want your VS environment set, such as: C#, Web Developer, VB, etc...
How do you change this settings later?
To reset your settings
On the Tools menu, click Import and Export Settings.
On the Welcome to the Import and Export Settings Wizard page, click Reset all settings and then click Next.
You can then choose to save your old settings or not, then click Next.
In Which collection of settings do you want to reset to, select a settings collection from the list. This is where you choose for example C#.
Press Finish and you're done.
Go to Tools menu >> Import and Export Settings >> Reset all settings. Follow the instructions of the wizard and choose the desired language as default development environment.

Change VS2008 to use C# view

When I installed VS2008 and it asked me to pick my layout, I accidentally picked Web Development. Is it possible to go back and make it apply the C# layout?
Yes:
Go to Tools > Import and Export Settings...
Choose Reset all settings. You'll be able to pick the settings again.
Go to Tools/Import and Export Settings/Reset All Settings.
Tools->Import and Export Settings...
In the resulting dialog, choose Reset All Settings, then follow the prompts
(saving or not saving your current settings as you see fit) to Choose a
Default Collection of Settings and select C#

How to enable the dropdown above the text editor in visual studio

For some reason I've lost the dropdownbox above the text editor. The one that lists all methods, variables and properties in a class. And it makes me go crazy when I browse larger classes.
Maybe it is easier to enable "Navigation bar" option under "Tools->Options->Text Editor->[The language that you using]->General]
Have you tried resetting the interface?
from the command line run devenv.exe /resetsettings
2.. From Visual Studio
On the Tools menu, click Import and Export Settings.
On the Welcome to the Import and Export Settings Wizard page, click Reset all settings and then click Next.
If you want to save your current settings combination, click Yes, save my current settings, specify a file name, and then click Next.
—or—
If you want to delete your current settings combination, choose No, just reset settings, overwriting my current settings, and then click Next. This option does not delete default settings, which will still be available the next time you use the wizard.
In Which collection of settings do you want to reset to, select a settings collection from the list.
Click Finish.
The Reset Complete page alerts you to any problems encountered during the reset.

Resources