tststs / atom-ternjs

JavaScript code intelligence for atom with tern.js and autocomplete-plus
MIT License
628 stars 76 forks source link

How to use with webpack (import) modules? #356

Open hmouhtar opened 5 years ago

hmouhtar commented 5 years ago

Hi! Well, on the files where the function is defined, it works good and gives me the parameters hints.

example

But when I use an imported function in the file that's calling it, I get no hints.

Any ideas about what could be happening?

Thanks!

Rajapavithra commented 5 years ago

I am facing the same issue.

tststs commented 5 years ago

you mean this scenario?

screenshot 2019-03-07 at 23 06 24

in case you are talking about your resolve field from the webpack config: http://ternjs.net/doc/manual.html#plugin_webpack