WebStormRequireJsPlugin
WebStormRequireJsPlugin copied to clipboard
Problems with autocomplete
Hi,
I don't know, if it is an issue, or if I'm just not using it right.
My problem is, that the autocomplete function of PhpStorm doesn't seem to work in all combinations when using require.js (I'm using PhpStorm 7.1.1).
It doesn't matter if I use the full path to the library or a configured path in the require.config for loading the files.
Am I doing something wrong, or is it a bug, that the plugin doesn't recognizes the use of require.js when calling it to a function parameter?
Thanks for the plugin and your help!
Hi, thanks for report.
Сurrently the plugin can only help with the completion and resolving paths. What works in the first two cases shown are the screenshots, it makes itself IDEA, because there is an explicit value assignment. In the third case, there is no direct variable assignment, so functionality is not working.
Maybe in future versions I can add this feature. But now I can not imagine how it can be done.
Hi. I think i have same problem.
When i turn on plugin:
Without plugin:
How can you see something is wrong. Any idea?