My Visual Studio 2022 Settings
Tags: visualstudio, vs2022, productivity, webdev
Published: 2022-04-08 06:46:19

 * [ General Settings](#general-settings)  
 * [ Fonts](#fonts)  
 * [ Tabs and Windows](#tabs-and-windows)  
 * [ Windows Layout](#windows-layout)  
 * [ Code Cleanup](#code-cleanup)  
 * [ Extensions](#extensions)   
 * [ Conclusion](#conclusion) 


On the various blogs and articles, every day, you find a lot of material on how to configure Visual Studio Code but almost nothing on how to use Visual Studio 2022 at its best.

I want to share my settings to help the others developers to obtain the maximum from this IDE.

![Visual Studio 2022](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z9ezavxtoy212saqetaw.png)

This is how my Visual Studio 2022 appears with a small/medium project opened.

## General Settings
I checked the following settings about tracking the active item on the solution explorer and every time that I try to build the app, I want to see what's going on during the build.

![General settings](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dllmzdw76581ae5aq0jc.png)

## Fonts
I use "Cascadia Code" as my primary fonts in all my IDE, from VS 2022 to JetBrains Rider.
My favorite font size is 10, but it depends on your screen resolution.

![Fonts](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y3fb94olsomw31nkqqoj.png)

## Tabs and Windows
As you can see in the first screenshot at the top of the article, I use the vertical tabs on my left.

![Tabs Vertical](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vkkilu0f5bq5efyzzjm9.png)

I group the tabs by project and I colorize the documents by the project.
It's very easy to understand, after few hours of usage, in which project/file you are working on.

## Windows Layout
Time to time it happens that I move windows and screens accidentally. I don't want to reorder and move everything again.
This is why I saved my actual windows layout with an hidden feature of Visual Studio under the menu "Window".
You can create multiple windows layouts and load them based on your needs.

![Windows Layout](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uq8yzb668pof6pkbzdxr.png)

I removed all the unuseful tabs (for me) on the right and I use only the Solution Explorer, the Git tab and the SQL Server Object Explorer.
You have a better performance during the Visual Studio loading if you reduce the number of the opened tabs by default.

## Code Cleanup
I love having the files clean and well formatted.
Visual Studio 2022 has introduced a nice feature that allows you to clean up files from unused usings, unused variables and other such things.
You can apply your own rules directly when you save a file.

![Code Cleanup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nm9vtpq66gi2mt3qkh43.png)

This is my settings for "Profile 1"

![Code Cleanup Profile 1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/885nudshjmuymazr3yxm.png)

## Extensions
In Visual Studio 2022 I don't use a lot of extensions because a lot of them now are just integrated in the IDE.
By the way, here there is a list of my extensions at the moment.

### VSColorOutput64
Nothing special but this extension adds colors in the build console and you have a better overview of the events during the building.

![VSColorOutput64](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2h1cizaogb73ac1okomg.png) 

### One Monokai VS Theme
This is my actual theme for Visual Studio 2022, Visual Studio Code and JetBrains Rider.
I talk about the reason why I use the same theme on my all IDEs.

![One Monokai VS Theme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xcz3eidc45rohbx8kc1j.png) 

## Conclusion
I hope my settings help you to improve your Visual Studio 2022 setup from the productivity point of view.
If you have something special in your setup, please share it in the comments!