Problems with syntax coloring in VS 2010 Follow
I have defined my own color scheme for highlighting C# syntax. Since a couple of weeks VS starts always with the default R# color scheme and i have to go to the "Fonts and Colors" dialog to reactivate my scheme. Even now i noticed that my color scheme was lost when i add an existing project to my solution. I know the behavior from the EAP where it occured each time i installed a new EAP build. Sometimes it helped to delete the HKCU\Software\Microsoft\VisualStudio\10.0\FontAndColors\Cache key from the registry but this will not work now.
I'm not sure, but if i remember correct the problem started after installing an extension. I've installed a couple of extensions, but most of them are disabled. Following Extensions are active:
- DevArt T4-Editor
- Feature Extensions Runtime
- Introduction to MVVM
- All In One Codesample browser
- Microsoft Ribbon for WPF
- Nuget Package Manager
- Productivity Power Tools (most Tools are disabled, specially the ones which have same functionality as R#)
- Sql-Server Compact Toolbox
- WAF Project Template
- WPF MVVM Application
Did anyone know if one or more of these extensions could cause problems with R#?
Please sign in to leave a comment.
Everytime I install a new extension or I update one my color setting for the current line color is reseted. I can correct it if I open the font and color settings and just press ok.
I already opened a bug report for that but somebody noticed that this problem is caused by the Productivity Power Tools in some way...
Maybe my problem is related to yours?
it really seems to be that the productivity power tools causing the problem. After disabling them my color scheme is preserved. It is interesting that after reenabling the power tools my color scheme is also preserved. So i have a workaround for my problem. I'm just using the tab well and the enhanced reference dialog but i don't want to miss this two features :)
I use the tab well too. A simple fix for me is to open tools -> options, go to environment -> color and font settings (the settings appear where I could change it) and simply press ok. Then I get my usual color scheme. I guess the studio is applying the settings again.
It will be interesting to test the behaviour with VS 2012 and RS 6.1 EAP as this power toy are built in now.
i did this too, but its bothersome to do this on each start of VS...
I just have to do it once...
But stick with what is working for you. :)