How can I jump to class/method definition in Atom text editor?

后端 未结 11 2011
无人共我
无人共我 2020-12-23 02:33

Is there an easy way to do this? On Aptana I used Control+click and I wish there was a way to do something similar on Atom.

11条回答
  •  感情败类
    2020-12-23 03:27

    Check out goto package:

    This is a replacement for Atom’s built-in symbols-view package that uses Atom’s own syntax files to identify symbols rather than ctags. The ctags project is very useful but it is never going to keep up with all of the new Atom syntaxes that will be created as Atom grows.

    Commands:

    • cmd-r - Goto File Symbol
    • cmd-shift-r - Goto Project Symbol
    • cmd-alt-down - Goto Declaration
    • Rebuild Index
    • Invalidate Index

    Link here: https://atom.io/packages/goto (or search "goto" in package installer)

提交回复
热议问题