WebStormRequireJsPlugin icon indicating copy to clipboard operation
WebStormRequireJsPlugin copied to clipboard

Problems with autocomplete

Open BlindGuard666 opened this issue 11 years ago • 2 comments

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).

require

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!

BlindGuard666 avatar Jan 27 '14 10:01 BlindGuard666

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.

Fedott avatar Feb 19 '14 09:02 Fedott

Hi. I think i have same problem.

When i turn on plugin: js

Without plugin: js_1

How can you see something is wrong. Any idea?

vomchik avatar Apr 19 '14 16:04 vomchik