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>GeneralOn startup, openchooseShow empty environment; -
Tools>Environment>Tabs and Windows>Preview Tabuncheck rootAllow new files to be opened in the Preview tab; -
Tools>Environment>Tabs and Windows>Document Tabsuncheck rootBold text on selected tabs; -
Tools>Customize>Toolbarsuncheck everything; -
Tools>Customize>Commandsremove ones you don't use; -
Tools>OptionsSource Control>Plug-in Selectionset toNoneto remove source control integration; -
Tools>OptionsText Editor>GeneraluncheckTrack changesto remove scroll bar marks for changed/deleted/inserted lines; -
Tools>OptionsText Editor>All languages>Code lensuncheckEnable Code Lensto disable annotations like usages count and source control history rendered near code symbols; -
Tools>OptionsText Editor>All languages>Scroll barsuncheck everything, butShow errorsunderShow annotations over vertical scroll bar; -
Tools>OptionsText Editor>All languagescheckLine numbers; -
Tools>OptionsText Editor>All languagesuncheckEnable single click URL navigationto make urls non clickable and without noisy styling; -
Tools>OptionsText Editor>All languagesuncheckNavigation barto gemove members dropdown in the top of open tab; -
Tools>Options>Intellicodedisable everything; -
Tools>OptionsProjects and Solutions>GeneraluncheckReopen documents on solution load; -
Tools>OptionsProjects and Solutions>GeneraluncheckRestore 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

