首页 > 解决方案 > Sublime VS Code asp.net 格式不能用作 Visual Studio 格式选择

问题描述

Visual Code 是 Visual Studio 的一部分,但没有一个格式化插件在 vscode 或 Sublime 中作为先决条件运行良好。

我附上了一些样品。请让我知道我该如何实现?

前 :

 <div class="col-12 text-center">
      <table style="
width: 600px;
margin: 0 auto;
margin: 2em auto;
" border="1">
        <tbody>
          <tr>
            <td colspan="2">
              <h2 style="
padding: 0.5em;
">Map Legend </h2>
            </td>
          </tr>

之后(格式后我需要什么):

<div class="row">
    <div class="col-12 text-center">
        <table style="width: 600px; margin: 0  auto; margin: 2em auto;"
            border="1">
            <tbody>
                <tr>
                    <td colspan="2">
                        <h2 style="padding: 0.5em;">Map Legend </h2>
                    </td>
                </tr>

标签: htmlvisual-studio-codeformattingsublimetext3

解决方案


推荐阅读