Here is a Collection of Useful Tips for Visual Studio

Software category image

With these tips, you can increase your productivity in Visual Studio 2022 by a lot!

Visual Studio is a powerful tool with lots of settings and features. Iโ€™ll show you some options to increase your productivity and get the most out of the tool.

You can move the debug cursor

When you hit a breakpoint, you can grab the debug cursor and move it to another line. This is useful to skip lines or to go back when you stepped too far by accident.

See the video below for details.

Video of how to move the debug cursor with drag and drop in Visual Studio by author
Video of how to move the debug cursor with drag and drop in Visual Studio by author

Use enhanced scroll bars

To show compiler errors, search hits, or a code preview in your scroll bar area, right-click on the scroll bar, select Scroll Bar Options, and activate all annotation options. Extensions like Match Margin also make use of that area.

Have a look at the demo video on how to enable the enhanced scroll bar.

Video of scroll bar options in Visual Studio by author
Video of scroll bar options in Visual Studio by author

Improve solution load time

To speed up the loading process of big solutions, go to Tools โ†’ Options โ†’ Projects and Solutions โ†’ General.

Disable the option Reopen documents on solution load. Visual Studio will no longer store and load the previously opened documents which increases speed.

Disable the option Restore Solution Explorer project hierarchy. Visual Studio will no longer store and load the hierarchy tree in the solution explorer. All nodes will be collapsed by default.

The demo video illustrates how to change the settings.

Demo video of how to work better with many open files in Visual Studio by author
Demo video of how to work better with many open files in Visual Studio by author

Organize your open tabs

When you work with many open files at the same time, the multi-row option comes in handy. Click on the settings icon and select the option Show Tabs in Multiple Rows.

You can also move the tab bar to another side (option Place Tabs on the Left or Place Tabs on the Right) and enable tab coloring (option Colorize Document Tabs byโ€ฆ).

This makes working with many files easier. See the demo video below.

Demo video of how to work better with many open files in Visual Studio by author
Demo video of how to work better with many open files in Visual Studio by author

Conclusion

A well-configured Visual Studio can do wonders. Be sure to always customize it the way you need it to be.

Related articles