Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom Editor: CMD + R => No Symbols Found

For some reason, Atom doesn't seem to recognize function tags properly with the default plugin it has mapped to CMD + r. I've tried completely uninstalling and deleting Atom and it's files and reinstalling to get the function detection to work properly, but to no avail.

Function detection does not work in C++ or Python, for me. Instead of just recognizing functions in my Python scripts, it will even list my numpy imports etc. Somethings pretty wacky with it.

Does anyone know how to deal with this?

The result of hitting CMD+r in the Atom.io application.

like image 625
nick_name Avatar asked Jan 25 '26 13:01

nick_name


1 Answers

I found the solution from an atom github issue comment about the same problem, launching Atom from command line will make it work.

cmd+r maps to symbols-view:toggle-file-symbols command, which using ctags to generate language-specific symbols. ctags will generate temporary symbol list file inside your $TMPDIR directory , but that environment variable is not known when Atom launched from Finder.

like image 188
neko1990 Avatar answered Jan 27 '26 02:01

neko1990



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!