js-taglist


Ⅰ. 插件描述

better JavaScript taglist

Ⅱ. 基本信息

创建日期:  2011-11-27
使用用户:  1
Github星:  1
插件作者:  David Wilhelm

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'bigfish/js-taglist'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'bigfish/js-taglist'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'bigfish/js-taglist'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/bigfish/js-taglist

Ⅳ. 文档说明

## JS-Taglist

This is the good old taglist vim plugin, with some hacks applied to make it work better with JavaScript.

Instructions

Install and use the taglist.vim file exactly as you would the original plugin... ie. put it in your .vim/plugin/ folder.

NB! Requires a custom build of Exuberant CTags

I had to modify the JavaScript parser in Exuberant CTags to get it to work with modern Javascript.

The modified ctags source code is in the ctags actionscript repo.

So you'll need to clone that repo and build it yourself as follows:

cd ctags_actionscript
cd ctags-5.8
make clean
make
sudo make install

The modifications make the parser very tolerant, which means all symbols are found
except perhaps multiple variable declarations on one line... try to avoid that for best results.

This means its not really very well suited for generating tags files, but is well suited to the modified taglist plugin
which is included.

添加新评论