Friday, September 27, 2013

Tip 6.2: How to reset your environment settings via Tools–Import And Export Settings

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog

The most popular question she sees about Visual Studio IDE is how to reset the environment settings. Starting in Visual Studio 2005, the IDE prompts you on first launch to pick your development settings. If you need to reset back to what you picked or want to pick previously saved settings or predefined settings, go to Tools–Import And Export Settings to launch the wizard, and choose Reset All Settings.


On the next page you decide whether you want to save your current settings. If this is your first time using this dialog box or you want to experiment with this feature, or both, definitely choose to save your settings. The default is to save your settings, so go with the default if you are unsure.


The following page is much more interesting. You may notice this list looks familiar. It should, because this is the same list from that first launch dialog box that prompts you to pick your preferred environment settings. These files contain default settings for features such as keyboard shortcut bindings, tool window layouts, project template layouts, and many, many more.


Choose your IDE settings by clicking Finish. Visual Studio lets you know whether any issues arose with regard to resetting your settings.


Happy Programming! =)
Posted by Nils-Holger at 12:18 PM with 441 comments.

Thursday, September 26, 2013

Tip 6.1: How to find what development settings you last reset to

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog

Maybe you don't remember what you picked during your first launch of Visual Studio or what you last reset to. Under the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Profile key, you'll see the LastResetSettingsFile value. As previously mentioned, the code name for this feature was Profiles, hence the word Profile is used as the key. In the following example, you'll notice how she's using the Visual Basic Settings.


If you haven't reset any settings since launching Visual Studio, this value tells you this is what you picked at first launch.

Happy Programming! =)
Posted by Nils-Holger at 12:07 PM with 0 comments.

Wednesday, September 25, 2013

Tip 5.51: You can use the View.Forward (Alt+Right Arrow) and View.Backward (Alt+Left Arrow) global commands in the Object Browser

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog

In Tip 5.36, she discussed how you can navigate forward and backward with the Alt+Minus and Shift+Alt+Minus keyboard shortcuts, which are scoped specifically to the Object Browser. But there are two other commands, View.Forward and View.Backward, that also work in the Object Browser, just like Alt+Minus and Shift+Alt+Minus.

View.Forward and View.Backward are global, meaning that other features within the IDE can use them. For example, Class View uses them in the same way as the Object Browser. But you're probably most familiar with these commands as Web Browser Forward and Web Browser Backward. If you are accustomed to using these commands elsewhere in the IDE, you'll feel right at home in the Object Browser.


Happy Programming! =)
Posted by Nils-Holger at 12:44 PM with 953 comments.