Visual Studio settings

I regularly forget, after re-installing my desktop or laptop, what settings I had configured in Visual Studio. Today I was looking for another one and decided to blog about it, for a personal reference. More will probably come to my mind or I get some cool tips from others, so I’ll update this post whenever this happens. Tabs instead of spaces As everyone knows, you need to setup tabs in Visual Studio and not have spaces inserted. The two main reasons is that every developer can decide for him/herself how many positions each tab will take from the side. The other reason is that tools to compare code will go nuts on spaces, thinking every line is changed.

tabs**Track items in solution explorer **When you’re inside some code, you’re not always sure which file in the solution explorer you’re working with, because jumping all files with the best shortcut keys might result in me getting lost. With this setting on, the solution explorer selects the file you’re working in.

track-item-solution-explorer XAML Viewer, no designer Most of the time I don’t work with the designer and I only want to see the XAML. Also because the designer takes a while to load, especially the first time. This makes sure the XAML is full screen when you click a WPF/Silverlight file.

xaml-viewer Double-click failed test takes you to failing line in code This option is very useful if you’re doing unit testing and your test fails. Instead of multiple clicks, one click on the error (the row in the testresults pane) take you immediately to the failing line.

failed-test-clickable