Goto definition.

atom, definition, goto
apm install goto-definition@1.3.4


Goto Definition

macOS & Linux Build Status Windows Build Status dependencies Status


  • Support for JavaScript(ES6 && JSX), TypeScript, CoffeeScript, Python, Ruby, PHP, Hack, Perl, KRL, Erb, Haml, C/C++, Puppet, ASP, Shell
  • Works with Mac OSX, Linux and Windows
  • Goto-Definition functionality, by default on Alt+Cmd+Enter/Ctrl+Alt+Enter
  • Support hyperclick, <cmd-click> on a word to jump it's declaration


Install the package goto-definition in Atom (Preferences->Install) or use Atom's package manager from a shell:

$ apm install goto-definition

Performance Mode

Performance mode is 10x faster then nomal model. if you want a better experience, please open the performance mode.


  1. Install ripgrep, see Yeap, now we use ripgrep to search definitions, because of it's incredibly fast.
  2. Turn Settings -> Packages -> goto-definition -> Settings -> Performance Mode on.
  3. Enjoy it.

Now the performance model is still testing, welcome suggestions and feedback. If it goes well, we will open the performance mode by default in the next version.

Ignoring files

In performance mode, if you want ignore some files, you can create a file called .ignore in the root of the project, it working like .gitignore.


  • In nomal model, if you want include VCS ignored paths, please turn Settings -> Exclude VCS Ignored Paths option off.