格式化HTML文件 [英] Format HTML document

查看:134
本文介绍了格式化HTML文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢Visual Studio中用于格式化HTML文档的功能( CTRL + K CTRL + D )。

在任何其他(免费)编辑器中是否有一个插件具有相同的功能,例如Notepad ++?

解决方案

如果您的意思是从格式着色和格式化,Notpad ++通过Tidy2插件具有HTML整理功能。使用插件管理器安装插件,并在插件下面出现一个新的菜单Tidy2项目,并从那里开始格式化HTML。



另外Netbeans IDE的格式化(ALT + F)多种语言功能(包括PHP,HTML,CSS和JS)。


I like the feature in Visual Studio for formatting an HTML document (CTRL+K, CTRL+D).

Is there a plugin with the same functionality in any other (free) editors, e.g. Notepad++?

解决方案

If you mean colorizing and formatting from "Format", Notpad++ has HTML tidying feature via Tidy2 plugin. Install the plugin with the Plugin Manager, and a new menu Tidy2 item will appears under the Plugins, and from there you can formatting HTML.

Also Netbeans IDE has formatting(ALT+F) feature for many languages (including PHP, HTML, CSS and JS).

这篇关于格式化HTML文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆