有没有办法(或插件)使Vim为CSS生成代码大纲? [英] Is there a way (or a plugin) to make Vim generate a code outline for CSS?

查看:135
本文介绍了有没有办法(或插件)使Vim为CSS生成代码大纲?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图安装标签列表(但是我无法安装ctags),但是我意识到它不支持CSS,还有其他方法或插件可以执行此工作吗?

I was trying to install taglist (but I couldn't install ctags), but I realized that it doesn't support css, is there another way or plugin to perform this job?

PS:我检查了ctags的安装文件,但找不到与安装手册类似的任何步骤.

PS: I checked the install file of ctags, but I couldn't find any steps which looked like an installation manual.

它只是说:

Installation Notes
==================

For non-Unix platforms, simple makefiles are provided:

    descrip.mms   For VMS using either DEC C or VAX C
    mk_bc3.mak    For MSDOS using Borland C/C++ 3.x
    mk_bc5.mak    For Win32 using Borland C++ 5.5
    mk_djg.mak    For MSDOS using DJGPP Gnu GCC (better to follow Unix install)
    mk_manx.mak   For Amiga using Aztec/Manx C 5.0
    mk_mingw.mak  For Win32 using MinGW
    mk_mpw.mak    For Macintosh using MPW
    mk_mvc.mak    For Win32 using Microsoft Visual C++
    mk_os2.mak    For OS/2 using GCC (EMX)
    mk_qdos.mak   For QDOS using C68
    mk_riscos.mak For RISC OS using the GCC SDK <http://hard-mofo.dsvr.net>
    mk_sas.mak    For Amiga using SAS/C

有一个经过编译的ctag.exe.我该怎么办?

There's a complited ctag.exe. What I'm suppose to do with that?

推荐答案

请考虑改用代码折叠.这类似于概述,因为您只需要看很少的几行就可以了解整体结构,但是它会隐藏大部分代码,直到您展开要详细阅读或编辑的部分为止.

Consider using code folding instead. It's similar to outlining, in that you have fewer lines to look at to get an idea of the overall structure, but it hides most of the code until you unfold the part you want to read in detail or edit.

这篇关于有没有办法(或插件)使Vim为CSS生成代码大纲?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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