Closed ladariha closed 6 years ago
This will be nice indeed. I'll have a look when I have the time.
I have no experience with VSCode extensions, but I offer my help if you could point me to some direction :) It looks like maybe the change needed is in getModulesWithPathFromRequireOrDefine
with tweaking the params
regexp at line 78? At least it's the only place I've found string "function"
There are a few issues remaining mainly on getRequireOrDefineStatements.
You may continue from there :)
I think I have resolved them. Can you try version 0.1.13 and verify?
Awesome, thanks a lot for the quick implementation.
I'm using arrow functions like this:
In this case e.g. Go To Definition (aka Ctrl+Click on the string "module1" or "module2") does not work. It works if I change it to good old function instead of the arrow function syntax.
Would it be possible to support arrow functions as well? Thank you