CoffeeTags

Latest version: 0.2.1

A simple tool for generating CoffeeScript tags (Ctags compatible).

Build Status

Watch a quick demo

Example + Screenshot

Showing only functions (right) or with variables included (left)

1. CoffeeTags:1:vim -
Uploaded with Skitch!

Huh?

CoffeeTags was created for use with Vim and TagBar plugin, however it accepts most common ctags arguments, therefore the following:

coffeetags -R -f TAGS

will generate standard TAGS file which later can be used with Vim (standard :tag command works as expected)

Requirements

Windows support

Yup, we got it!

Editors supported

Halp!

Just use coffeetags --help

Ruby Gem

Installation

gem install CoffeeTags

Usage

$ coffeetags --help

Vim

This can also be used as a vim plugin that will update tag files on save, and support visualization with TagBar. You will still need to install the gem as described above as well as install the plugin to vim. You can install it via:

Install

Configuration

In you ~/.vimrc you can configure the plugin with:

let g:CoffeeAutoDisabled=<0 or 1>        " Disables autotaging on save (Default: 0 [false])
let g:CoffeeAutoTagFile=<filename>       " Name of the generated tag file (Default: ./tags)
let g:CoffeeAutoTagIncludeVars=<0 or 1>  " Includes variables (Default: 0 [false])
let g:CoffeeAutoTagTagRelative=<0 or 1>  " Sets file names to the relative path from the tag file location to the tag file location (Default: 1 [true])

Sublime Text

TODO - I don't use ST myself, but PRs with HOWTO are welcomed

Config types

CoffeeTags can work in 2 modes:

Second mode is activated by:

TODO

License

MIT

Bitdeli Badge