Visual Studio 2022 configuration adjustments to get clean visual style and as less bloat as possible. Highly opinionated. I use it to develop stuff with C#, so it's the only language tested. I use ReSharper so don't need many built-in features.
This is the latest look I have:
-
Disable file hierarchy (types, members, etc) in solution explorer:
Computer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>_<id>
DWORD UseSolutionNavigatorGraphProvider=0
-
Tools
>Environment
>General
On startup, open
chooseShow empty environment
; -
Tools
>Environment
>Tabs and Windows
>Preview Tab
uncheck rootAllow new files to be opened in the Preview tab
; -
Tools
>Environment
>Tabs and Windows
>Document Tabs
uncheck rootBold text on selected tabs
; -
Tools
>Customize
>Toolbars
uncheck everything; -
Tools
>Customize
>Commands
remove ones you don't use; -
Tools
>Options
Source Control
>Plug-in Selection
set toNone
to remove source control integration; -
Tools
>Options
Text Editor
>General
uncheckTrack changes
to remove scroll bar marks for changed/deleted/inserted lines; -
Tools
>Options
Text Editor
>All languages
>Code lens
uncheckEnable Code Lens
to disable annotations like usages count and source control history rendered near code symbols; -
Tools
>Options
Text Editor
>All languages
>Scroll bars
uncheck everything, butShow errors
underShow annotations over vertical scroll bar
; -
Tools
>Options
Text Editor
>All languages
checkLine numbers
; -
Tools
>Options
Text Editor
>All languages
uncheckEnable single click URL navigation
to make urls non clickable and without noisy styling; -
Tools
>Options
Text Editor
>All languages
uncheckNavigation bar
to gemove members dropdown in the top of open tab; -
Tools
>Options
>Intellicode
disable everything; -
Tools
>Options
Projects and Solutions
>General
uncheckReopen documents on solution load
; -
Tools
>Options
Projects and Solutions
>General
uncheckRestore solution explorer project hierarchy state on solution load
;
A minimalistic setup inspired by https://github.com/tonsky/vscode-theme-alabaster for a light visual studio theme.
Here is how it looks like:
- Locals and variables are highlighted with blue;
- Comments are coloured green;
- Literals and enums are violet;
- All the rest is black, while keywords are grayed-out a little.
Use Tools
> Import and export settings
to get it applied. Don't forget to save your current setup before. You will probably need to replace Theme Id="{Guid}"
to use your current theme id.
fonts_colors-2022.vssettings
is the file to export.
To disable greeny highlighting of the word under cursor in case you're using ReSharper see https://www.jetbrains.com/help/resharper/Code_Analysis__Configuring_Warnings.html