Skip to content

tmm1/ripper-tags

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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