bluevector
bluevector

Reputation: 3493

Razor Document Formatter Stop Breaking Lines

Is there a place to teach the Razor (it could R#, since I have that installed, too) document formatter / pretty-printer some new tricks? Like not break longish lines, not break tags apart at all, or adding a break before a closing tag, e.g. </p>.

Upvotes: 1

Views: 170

Answers (1)

Buildstarted
Buildstarted

Reputation: 26689

That's part of the options in visual studio. Go to "Tools | Options". I also change "Tag Specific Options..." as well because I like my html formatted a specific way. Razor uses these settings when formatting.

enter image description here

Upvotes: 1

Related Questions