VS2017中是否有内置方法来清理代码中的制表符?

问题描述

当我在ASP中设计页面时,复制和粘贴,添加代码以及移动代码会使标签对齐混乱。我想知道VS2017是否有内置的方式来清理选项卡并使所有内容对齐各自的适当级别。

之前:

                        <asp:DropDownList ID="DropDownList17" runat="server" Width="120px"></asp:DropDownList>
                    </td>

        <td>

         <asp:DropDownList ID="DropDownList20" runat="server" Width="120px"></asp:DropDownList>
                  </td>
        <td>
            
                        <asp:DropDownList ID="DropDownList21" runat="server" Width="120px"></asp:DropDownList>
        </td>
                   <td>
            
             <asp:DropDownList ID="DropDownList22" runat="server" Width="120px"></asp:DropDownList>
        </td>
</tr>
    <tr>

之后:

            <asp:DropDownList ID="DropDownList17" runat="server" Width="120px"></asp:DropDownList>

        </td>
        <td>
            <asp:DropDownList ID="DropDownList20" runat="server" Width="120px"></asp:DropDownList>

        </td>
        <td>
            <asp:DropDownList ID="DropDownList21" runat="server" Width="120px"></asp:DropDownList>

        </td>
        <td>
            <asp:DropDownList ID="DropDownList22" runat="server" Width="120px"></asp:DropDownList>

        </td>
        </tr>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)