Asp.net markup formatting for Visual Studio

In our coding standards, we put each attribute in a tag on a separate line. However, when I have the VS (2008) format, markup brings all attributes together. Is there any way to change this behavior?

thanks

+3
source share
2 answers

If you're working with HTML, you might be out of luck without an add-in in Visual Studio.

However, VS is able to format XAML in this way, since it is a popular convention for many XAML developers.

XAML, "" > "" > " " > "XAML" > "" > "" " "

0

- Visual Studio, force . , :

1) - > - > - > HTML ( ).

2) , . Microsoft StyleCop, . , .

0

Source: https://habr.com/ru/post/1713172/


All Articles