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

查看:121
本文介绍了有用的Vim插件用于Web开发和设计(php,html,css,javascript)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



是否有其他有用的网页开发插件?



建议 p>

以下是迄今为止答案中提到的插件列表:




  • <一个href =http://www.vim.org/scripts/script.php?script_id=1697 =noreferrer> surround.vim 在HTML标签中包含文本

  • jslint.vim 使用JSLint检查JavaScript错误

  • Emmet.vim for HTML和CSS高速编码

  • phpfolding.vim 用于PHP的自动折叠

  • Synthetic 用于自动语法检查PHP

  • 丰富的ctags ,用于标记各种语言。 / li>
  • Tagbar 帮助查看/浏览来源,在状态中显示呼叫签名


解决方案

我已经为这个问题这个问题解释了如何使用Vim的JavaScript 语法检查/ linting 源代码浏览/标签列表社区驱动的 jshint.com (这比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:

解决方案

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)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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