Afshin Mehrabani
Afshin Mehrabani

Reputation: 34919

Restore/reset Razor syntax highlighting in VS (after installing Dreamweaver)?

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

Answers (1)

McGarnagle
McGarnagle

Reputation: 102723

Go to Tools -> Import and Export Settings. Follow the dialog and you should be able to restore your original settings.

  1. Import selected environment settings
  2. Select a file from the "Default Settings" list (eg, "General Development Settings", etc)

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

Related Questions