-
3 votesanswersviews
Visual Studio 2012不会缩减HTML自动格式的缩进(Ctrl K D)
Visual Studio 2010在重新格式化时重新缩进HTML文本(Ctrl K D) . 这意味着,当文本在换行后已经缩进时,VS会尝试重新缩进以适应最佳块 . <p>Line1 Line1 Line1 Line1 Line1 Line1 Line1 Line1 Line1 Line1 Line1 Line2 Line2 Line2 Line2 Line2 Line2 ... -
521 votesanswersviews
如何在记事本中自动格式化/缩进XML / HTML
有没有办法重新缩进代码块?我正在寻找类似Eclipse中的Ctrl Shift F(自动格式/缩进)的东西 . 要清楚, 我已经知道如何在记事本之外格式化XML(Eclipse工作正常,如上所述)所以我不需要一堆链接到其他XML格式化工具 . 我专门研究XML和HTML . 理想情况下,'s a keybinding as convenient as the one in Eclips...