Open neiloox opened 7 years ago
+1 for me. No arrow functions are being detected at all.
Biggest problem for me is arrow functions, since in our project we use const foo = () => {}
style to create functions.
I understand this might be harder to recognize since they are not really declared hm, stuff on the right of =
could be anything, how hard is this for you to support? At least const there guarantees the value will not change, but still.
Maybe you could just pick all the top-level symbols, meaning all variables? However, I guess that would also become a problem if anonymized function is used to create closure for the whole file. Javascript is tricky hm!
Prerequisites
Description
In the cases below, Atom cannot find and jump to the correct JavaScript methods by Command+R:
Steps to Reproduce
Save the code below as a *.js file, and use Command+R.
Expected behavior:
All the cases in description can be found and jumped to the correct methods.
Actual behavior:
Case 1 to 4 are not found or not correct by Command+R.
Reproduces how often: Always.
Versions
Additional Information
Nothing.