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.

tabsTrack 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.


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.


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.


You may also like...

3 Responses

  1. Wouldn’t it be a good idea to also export your settings so that you can import them when you repave? That’s what I usually do.

  2. Dennis van der Stelt says:

    @Tomas : Or that! 🙂

    But I keep forgetting stuff like that. Lost my entire RSS Feeds database. It’s not that bad to loose every post, but the feeds themselves. I collect a LOT of them over time and filter out the good posts.

  3. PHenry says:

    I’ve found myself in similar situation sometimes with VS. I’ve also written a blog post about my settings. I hope you visit and enjoy the read.

Leave a Reply

Your email address will not be published. Required fields are marked *