Atom can automagically picks up any tags
file in your current directory which enables you to:
shift+cmd+r
search for any function in your projectalt+cmd+down
GoTo a function declaration
Get brew
if you don't already have it. Then:
brew install ctags
You probably already have another version of ctags
installed. You can check which -a ctags
. We'll be using the brew install in /usr/local/bin
.
In your project directory run:
/usr/local/bin/ctags -R --exclude=.git
If you're in a Rails project like I am then maybe you want to:
/usr/local/bin/ctags -R --exclude=.git --exclude=log --exclude=app/assets --exclude=vendor
You may notice I didn't include any Javascript...ahem.
GO WILD WITH RECKLESS GOTO DECLARATION ABANDON.
wonderful!