Answer the question
In order to leave comments, you need to log in
PhpStorm: How to enable autocomplete: select id from html file in included .js?
Question to fans of PhpStorm
There is html in which there is JavaScript (jQuery) logic.
At some point, the size of the script swells, and I put it in a separate js file.
I connect it. Everything is working. Everything is beautiful.
One problem, now phpstorm is "blind" and does not see the id from the html view in the js file.
Which is inconvenient, since auto-coupling does not work when choosing an id.
Answer the question
In order to leave comments, you need to log in
I use PHPShtorm EAP, this feature also works in separate files. What version do you have?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question