This feature has been built-in into Atom editor (see: symbols-view
package), but you need to generate ctags symbols file for your project GH-9, GH-20.
To do that, install ctags
command (e.g. brew install ctags
on macOS), then:
Append, link or copy ctags-config
to your ~/.ctags
, example on macOS:
ln -vs "$(find /Applications/Atom.app -name ctags-config -print -quit)" ~/.ctags
Go to your project folder and run:
cd your/project/directory
ctags -R .
Restart Atom editor.
Alternatively you can use symbol-gen
package to generate ctags symbols file for your project based on the options found in .ctags
file. You can install it from Atom Package Manager by: apm install symbol-gen
. Then hit CMD-Alt-G to generate tags file for your project.
After following above, you can use Go To Declaration option from the context menu.
On macOS you can use also use the following keyboard shortcuts: