开发者

HTML line break formatting in VS is not working?

I've adjusted my VS 2010 HTML formatting settings to do line breaks "Before opening, within, and after closing" for many tags such as the <a> and <li> tags.

But this only renders as the following when formatting the document:

<ul>
    <li>
        <a href="#">
            Item 0</a></li>
    <li>
        <a href="#">
            Item 1</a></li>
    <li>
        ...

How can I make VS 2010 (or 2008) format the HMTL this way instead?

<ul>
    <li>
       开发者_运维技巧 <a href="#">
            Item 0
        </a>
    </li>
    <li>
        <a href="#">
            Item 1
        </a>
    </li>
    <li>
        ...


Does this answer help? Configuring the formatting of <% %> blocks in Visual Studio editor

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜