问题描述
现在我正在使用 surround.vim
在HTML标签中包含文本,而,根据CSS文件中的十六进制值突出显示文本(例如#888将在CSS文件中具有灰色背景)
是否有其他有用的网页开发插件?
建议 p>
以下是迄今为止答案中提到的插件列表:
- surround.vim 在HTML标签中包含文本
- 使用JSLint检查JavaScript错误
- for HTML和CSS高速编码
- 用于PHP的自动折叠
- 用于自动语法检查PHP
- ,用于标记各种语言。 / li>
- 帮助查看/浏览来源,在状态中显示呼叫签名
我已经为和解释了如何使用Vim的JavaScript 语法检查/ linting 和源代码浏览/标签列表社区驱动的(这比JSLint IMO更好)和Mozilla的Dr.JS (以前的 jsctags )。
Right now I'm using surround.vim
to enclose text in HTML tags, and a plugin that highlights text according to the hex value in the CSS file (e.g. #888 will have gray background in the CSS file).
Are there other useful plugins for web development?
Recommendations
Here is a list of the plugins mentioned in the answers so far:
- surround.vim to enclose text in HTML tags
- jslint.vim to check for JavaScript errors with JSLint
- Emmet.vim for HTML and CSS high-speed coding
- phpfolding.vim to for automatic folding of PHP
- Syntastic for automatic syntax checking of e.g. PHP
- Exuberant ctags for tagging of a wide array of languages.
- Tagbar Helps view/navigate source, displays call signature in status area.
I've written answers for this question and this question explaining how to get JavaScript syntax checking / linting and source-code browsing / tag-list for Vim using the community-driven jshint.com (which is way better than JSLint IMO) and Mozilla's DoctorJS (formerly jsctags).
这篇关于有用的Vim插件用于Web开发和设计(php,html,css,javascript)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!