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

后端 未结 11 2064
无人共我
无人共我 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:01

    The functionality is already present in atom via the Symbols View package you don't need to install anything.

    The command you are searching for is symbols-view:go-to-declaration (Jump to the symbol under the cursor) which is bound by default to cmd-alt-down on macOS and ctrl-alt-down on Linux.

    just note that it will work only if you will have generated tags for your project, either via this package or via ctags (exuberant or not)

提交回复
热议问题