Recently some settings on my Visual Studio 2012 got changed somehow and I lost most of the default colour settings in the IDE text editor for C#. Also "User Types" was missing from "Display items" list of "Tools > Options > Environment > Fonts and Colors" dialog box. So I was unable change the colour manually. I managed to bring back the default settings by doing the following.
- Delete folders
- %appdata%\Roaming\Microsoft\Microsoft Visual Studio
- %appdata%\Roaming\Microsoft\VisualStudio
- %appdata%\Local\Microsoft\VisualStudio
- My Documents/Visual Studio 2012/Settings
- Open Visual Studio 2012 command prompt (as administrator) and run
- devenv.exe /setup
- devenv.exe /ResetSettings
References
no-intellisense-no-indentation
class-names-not-coloured-in-visual-studio
how-can-i-get-user-type-c-sharp-syntax-highlighting-working-again
No comments:
Post a Comment