I'm inheriting a mess of a website where the structure of is impossible to follow mostly because of lack of indenting. Is there a utility that can massage existing code to proper indents?
我继承了一个网站的混乱,其中的结构主要是因为缺乏缩进而无法遵循。是否有可以按现有代码进行适当缩进的实用程序?
3 个解决方案
#1
HTML Tidy is pretty much the standard, and it's often already integrated into text editors and IDEs.
HTML Tidy几乎是标准,它通常已经集成到文本编辑器和IDE中。
#2
HTML Tidy does a great job at reformatting. It has options for tuning how it processes the files.
HTML Tidy在重新格式化方面做得很好。它有调整文件处理方式的选项。
#3
Aptana has a source code formatter, it works for HTML, Javascript, PHP, CSS, pretty much everything a web-geek needs ...
Aptana有一个源代码格式化程序,它适用于HTML,Javascript,PHP,CSS,几乎所有网络极客都需要...
#1
HTML Tidy is pretty much the standard, and it's often already integrated into text editors and IDEs.
HTML Tidy几乎是标准,它通常已经集成到文本编辑器和IDE中。
#2
HTML Tidy does a great job at reformatting. It has options for tuning how it processes the files.
HTML Tidy在重新格式化方面做得很好。它有调整文件处理方式的选项。
#3
Aptana has a source code formatter, it works for HTML, Javascript, PHP, CSS, pretty much everything a web-geek needs ...
Aptana有一个源代码格式化程序,它适用于HTML,Javascript,PHP,CSS,几乎所有网络极客都需要...