IntelliJ shows a warning "Unresolved function or method $()" when mouse over the $
sign despite the file is in the same directory as js file. So I can't take advantage of intellisense when typing $
functions.
Just one line of code and the IDE didn't recognize it. But it works. How can I fix this problem?
$(".container").get(0).appendChild(proDiv);
I have found the solution by myself.
CTRL + ALT + S
and go to settings.Languages & Frameworks
JavaScript
from the section below and select Libraries
Download
button and select jquery
from the list.