Reputation: 34919
After installing Dreamweaver CS6, the syntax highlighting of razor in visual studio 2010 removed and all of codes in my .cshtml files now is black.
How can I reset the razor syntax highlighting?
Upvotes: 1
Views: 1133
Reputation: 102723
Go to Tools -> Import and Export Settings. Follow the dialog and you should be able to restore your original settings.
If that doesn't work (your default settings somehow got overwritten?) then you should be able to find a settings file online and import it. For example, this blog has an export of the VS default settings available for download: http://www.notimplementedexception.com/?page_id=14
Upvotes: 2