Visual Studio 2008 HTML AutoFormat

Visual Studio 2008 "automatically formats" any block line elements, such as div, h1etc., using line breaks after the opening tag.

It always bothered me when it came to h1, h2etc. I almost always use them on the same line. Is there a way to configure Visual Studio to keep these lines in one line?

those. this is what he does

<h1>
    This is a header</h1>

This is what I want:

<h1>This is a header</h1>
+3
source share
1 answer

| | | HTML | | Tag Specific Option, - ,

, ,

+1

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


All Articles