Our coding standards have us putting each attribute within a tag on a separate line. However, when I have VS (2008) format the markup is lumps all the attributes together. Is there a way to change this behavior??
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are working with HTML, you may be out of luck without an add-in to Visual Studio.
However, VS is capable of formatting XAML this way, as it is a popular convention for many XAML developers.
To enable this formatting for XAML go to Tools > Options > Text Editor > XAML > Formatting > Spacing and select “Position each attribute on a separate line”