ripper-tags


Ⅰ. 插件描述

fast, accurate ctags generator for ruby source code using Ripper

Ⅱ. 基本信息

创建日期:  2012-12-31
使用用户:  4
Github星:  457
插件作者:  Aman Gupta

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/tmm1/ripper-tags

Ⅳ. 文档说明

## ripper-tags

fast, accurate ctags generator for ruby source code using Ripper

usage (command-line)

Typical usage:

ripper-tags -R --exclude=vendor

This parses all *.rb files in the current project, excluding ones in vendor/
directory, and saves tags in Vim format to a file named ./tags.

To see all available options:

ripper-tags --help

usage (api)

require 'ripper-tags/parser'
tags = RipperTags::Parser.extract("def abc() end", "mycode.rb")

添加新评论