• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

goto-definition

Goto definition.
faceair
240,456
263
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Goto Definition

macOS & Linux Build Status Windows Build Status dependencies Status

demo

  • 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

Installing

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.

Steps:

  1. Install ripgrep, see https://github.com/BurntSushi/ripgrep#installation. 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.

Notice

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by