3

I'd like to use resharper formatting for all my razor in VS 2010. (because VS indents incorrectly) So I want to disable VS format on paste for razor however I still would like format on paste ON in c# files.

Is this possible? (is this possible in VS2012)

Note: I can disable it for c# and razor by setting: Tools > Options > Text Editor > C# > Formatting > [uncheck] Automatically format on paste but I can't disable it just for razor, perhaps there's an extension? or some way to have resharper take control?

Myster
  • 17,704
  • 13
  • 64
  • 93

1 Answers1

3

Try going to Tools | Options -> Text Editor | HTML | Miscellaneous and turning off Format HTML on paste. Haven't tried this myself, but it may work.

Dmitry Osinovskiy
  • 9,999
  • 1
  • 47
  • 38