faceair / atom-goto-definition

⚠️⚠️⚠️ DEPRECATED
https://atom.io/packages/goto-definition
GNU General Public License v2.0
99 stars 51 forks source link

goto-definition either doesn't find anything at all or works flawlessly #69

Closed worldsayshi closed 7 years ago

worldsayshi commented 7 years ago

I have a very confusing problem that I'm not sure how to debug. I'm trying to get goto-definition to work for my project. At first I thought that my project was too much of a snowflake to fit the syntax rules that goto-definition is built for. Most of the time goto-definition just didn't seem to find anything.

But when I forked your package and linked it locally with apm link I noticed something weird. I installed https://atom.io/packages/atom-hot-package-loader in order to work efficiently. And when I reloaded my local goto-location with hot reload it suddenly started to work flawlessly. But whenever I restart Atom without explicitly reloading goto-location it goes back to not finding anything. Not sure what is happening here. Is it some kind of symbol cache that fails to update on startup?

worldsayshi commented 7 years ago

Oh, I realised that this problem was likely due to having installed both goto-definition and js-hyperclick.