• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    Ruby
  • Created about 13 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ctags-like tag generator for CoffeeScript

CoffeeTags

Latest version: Gem version

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

Build Status Coverage Status

Watch a quick demo

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

  • ruby 1.8.7 and up

Windows support

Yup, we got it!

Editors supported

Halp!

Just use coffeetags --help

Ruby Gem

Installation

gem install CoffeeTags (or sudo 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

  • Pathogen
  • git clone https://github.com/lukaszkorecki/CoffeeTags ~/.vim/bundle/CoffeeTags
  • NeoBundle
  • NeoBundle 'lukaszkorecki/CoffeeTags'
  • Vundle
  • Bundle 'lukaszkorecki/CoffeeTags'
  • manual
  • copy all of the files into your ~/.vim directory

Configuration

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

let g:CoffeeAutoTagDisabled=<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

See this issue on SublimeText/Ctags

Config types

CoffeeTags can work in 2 modes:

  • tags only for functions (default)
  • tags for functions and objects containing them

Second mode is activated by:

  • Adding --include-vars to command line arguments
  • Setting let g:CoffeeAutoTagIncludeVars=1 in your ~/.vimrc for vim

TODO

  • squash all bugs

License

MIT

Bitdeli Badge

More Repositories

1

workflowish

A todo "plugin" for Vim, inspired by https://workflowy.com/
Vim Script
122
star
2

DotFiles

~/.DotFiles
Shell
51
star
3

Hubboard

Desktop Notifier/Timeline viewer for Github
Ruby
34
star
4

git-surf

Quickly generate urls for your git repository
Shell
22
star
5

tolkien

GPT model token counter, with extra support for OpenAI's completion API
Clojure
20
star
6

vim-GitHubDashBoard

Shows Github's event feed (dashboard) in Vim
Vim Script
18
star
7

command-center

~/.emacs.d & ~/.profile & more
Emacs Lisp
17
star
8

Mikrob.titanium

NOT MAINTAINED - The mikrob'logging client - built using Appcelerator's Titanium
Ruby
10
star
9

Mikrob.chrome

NOT MAINTAINED - Mikrob'logging client for Chrome
JavaScript
9
star
10

RequestPack

Talking to REST services made simple
CoffeeScript
6
star
11

taskmaster-v0

Job queue on top of Postgres, not even alpha quality - use at your own risk!
Clojure
6
star
12

RailsCastsThemeHack

Community driven fork of RailsCasts Vim colorscheme
Vim Script
6
star
13

weechat-tmux-notify

Simple tmux "notfier" for weechat
Python
5
star
14

p1

Command line reader/client for 1Password
JavaScript
5
star
15

drifter

πŸ§”πŸ» Like Vagrant, but for multipass.run
Shell
4
star
16

graleph

Experiment in building a statsd-like aleph-based server, compiled with native-image
Clojure
4
star
17

hubview

GitHub timeline viewer for your terminal
Clojure
4
star
18

guard-ctags

Guard plugin for generating ctags for any file using any ctags-compatibile tool
Ruby
4
star
19

Blip-Conversations

Shows nested blips as conversations - html or json
Ruby
3
star
20

DotVim

My vim configuration
Vim Script
3
star
21

color-tail

Like tail -f but with colors
Go
3
star
22

mdl

Ruby
3
star
23

super-envy

It will make other programming languages envious when they see what you can do with environment variables
Ruby
3
star
24

omniauth-producthunt

Omniauth strategy for product hunt or producthunt strategy for omniauth
Ruby
3
star
25

wapl

Mobile detection with Wapple Architect - for use with Ruby (and Rails, Sinatra, etc)
Ruby
3
star
26

idone

Tiny command line tool for idonethis.com
Ruby
3
star
27

launchit

launchit launches apps from your /Applications directory
Ruby
2
star
28

watir-extensions

Some convenient extensions for Watir
Ruby
2
star
29

Flames

Flames is a Ruby and NCurses based client for Campfire (by 37Signals)
Ruby
2
star
30

TodoTxt-webOS

TodoTxt app for webOS
JavaScript
2
star
31

dev-machine

Vagrant + chef powered dev VM
Shell
2
star
32

TunnelVision

Easily manage your SSH tunnels
Ruby
2
star
33

lukaszkorecki.github.com

y'know... blawg
JavaScript
2
star
34

carrot

Clojure
2
star
35

tinydi

Really really really tiny Dependency Injection lib
Ruby
2
star
36

versionista

Simplies version file manager ever
Ruby
1
star
37

ga-box

Base Ruby and Rails development VM
Shell
1
star
38

pasta

Ephemeral (copy) pasta
1
star
39

proxy-gen

Quickly generate valid nginx proxy config
Ruby
1
star
40

rumble

Clojure REPL helpers
Clojure
1
star
41

notes

Random notes
Shell
1
star
42

envkey-template

Create files with env variables loaded via EnvKey (envkey.com)
Go
1
star
43

oreo

Aero Components
Clojure
1
star
44

statsd-chicken

Statsd Client for Chicken Scheme
Scheme
1
star
45

python-pkgr

Example Flask project which can be packaged as deb via pkgr
Shell
1
star
46

will-it-fail

Tiniest CI server ever. AKA animated-bear
1
star
47

mover-and-shaker

Moves photos
Ruby
1
star
48

red-ghost

Clojure background worker library, built on top of Component and Carmine
Clojure
1
star
49

putputioio

the CLI client for put.io
Ruby
1
star
50

alrfred-giphy-random-url

1
star
51

mokujin

Structured logging for Clojure. Thin layer on top of clojure.tools.logging which adds MDC support
Clojure
1
star
52

greeter

Simple Duckula-based API
Clojure
1
star
53

athrun

Infinite Justice
Clojure
1
star