有用的Vim插件,用于网页开发和设计(php,html,css,javascript)?[英] Useful Vim plugins for web development and design (php, html, css, javascript)?

本文是小编为大家收集整理的关于有用的Vim插件,用于网页开发和设计(php,html,css,javascript)?的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

现在,我正在使用surround.vim将文本包含在html标签中,a 插件根据CSS文件中的十六进制值突出显示文本(例如,#888将在CSS文件中具有灰色背景).

还有其他有用的插件用于Web开发吗?

建议

这是到目前为止答案中提到的插件的列表:

推荐答案

我已经为 this问题 > and source-code浏览/tag-list 使用社区驱动的 jshint.com (比JSlint IMO好)和Mozilla的 doctorjs (以前是JSCTAGS ).

其他推荐答案

我找到 stanttastic 公平地有用较小的PHP问题. (和/或将其与某种形式的设置php -l as:make.)进行混合.

其他推荐答案

在vim中的jslint呢.vim ?

本文地址:https://www.itbaoku.cn/post/627348.html

问题描述

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:

推荐答案

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).

其他推荐答案

I find Syntastic to be fairly helpful in spotting minor PHP problems. (and/or blend it with some form of setting php -l as :make.) Syntastic also shows you tidy warnings on your html.

其他推荐答案

How about JSLint right in VIM, http://github.com/hallettj/jslint.vim ?