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);
Intellij idea does not autocomplete jQuery and bootstrap – IDEs Support (IntelliJ Platform) | JetBrains. Please consider editing your post and mark it as obsolete instead.
From the main menu, select File | Repair IDE. IntelliJ IDEA will automatically launch the first recovery step and refresh the virtual file system. IntelliJ IDEA will display a notification that you can use to continue or complete the recovery process.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With