Answer the question
In order to leave comments, you need to log in
How to specify in PhpStorm that the js-function will be used in another file?
I describe the functions in a separate js-file, which I then call on the desired page.
PhpStorm highlights js functions as unused. How to tell him that everything is in order and these functions will be used in another file?
Answer the question
In order to leave comments, you need to log in
Include this js-file in the html file and use these functions in the same place on the page and there will be no "outrage" storm.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question