no suggestions in webpack.config.js

Hi,

How can I fix broken suggestion, in this file (recognized as config for webpack by Webstorm)?

The problem appears only to assignment to module.expots. 

It's fine only when I type in parenthesis.


Is this a bug?

 

 

0
5 comments

Works fine for me:

can you check if invalidating caches (File | Invalidate caches, Invalidate and Restart) helps?

If it doesn't, can you share a sample project that can be used to recreate the issue?

0
Avatar
Permanently deleted user

"Invalidate and Restart" didn't help. I checked on my company PC and suggestions won't popup too. My buddy can also confirm the problem on his copy of WS. I got fresh install of EAP version (with deleting previous settings) and there's the same problem.

Some additional screens:

Path for webpack.config.js is correct.

1. env suggests are available, webpack.config.js props are not 

2. env suggests are not available (without parenthesis), webpack.config.js props suggests work.

Edit: sample project can be downloaded from here:

https://github.com/santroy/webstorm

0

with recent EAP and similar settings, completion works as expected for me using both provided snippets.

Please provide a project that can be used to reproduce the issue

0
Avatar
Permanently deleted user
0

Thanks, recreated! Logged as https://youtrack.jetbrains.com/issue/WEB-33420, please follow it for updates

0

Please sign in to leave a comment.