Look At Visual Studio 2015 IDE Tips

Visual Studio is very flexible and IDE is highly customizable,  as per our requirement. Here, we will look into a few of those customizations:

Show the line numbers and Wrap text, when it exceeds current editor display size.

Tools -> Options -> Text Editor -> All Languages -> General -> click on Word wrap and Line Numbers:

Tools

Output

Output

Highlight or track the current selected document in Solution Explorer.

Tools -> Options -> Projects and Solutions -> General -> “Track Active Item in Solution Explorer”

Tools

We can disable XAML designer for all XAML files by going to Tools -> Options -> XAML Designer -> General -> Uncheck “Enable XAML Designer”.

Tools

Instead of transforming each T4 template (.tt) by running “Run Custom Tool” within a solution, we can transform it all in one go by going to Build menu -> Transform All T4 Templates:

Transform All T4 Templates

We can disable the code lens (which does lot of heavy lifting in background for building Show References) to load the solution faster by going to Tools--> Options --> Text Editor --> All Languages --> CodeLens -> Uncheck Enable CodeLens.

Tools

We can change the Font and color of an item like Output Window or PerfTips (which shows performance information during debugging) etc. by going to Tools -> Options -> Environment -> Fonts and Colors -> Show Settings For PerfTips-> Display Items -> Text.

Tools

Output

Output

We can use Exception settings Window for the configuring debugger’s exception settings by going to Debug -> Windows -> Exception Settings. This Window contains a list of default exceptions, which are grouped, corresponding to the debug engines used.

Settings

When we check a checkbox next to an exception, debugger will break when the exception is thrown. When it is unchecked, the debugger will only break, when the exception is unhandled.

We can configure the debugger; not to break on a specific unhandled exception by selecting it and checking “Continue When Unhandled in User Code”, as shown below:

Settings

We can even add custom exceptions, as well, by selecting a group, followed by clicking “Add (+)” button:

exceptions

I am ending the things here. I hope this article will be helpful for all.


Similar Articles