Reputation: 1229
I tried updating, I tried removing .idea
folders from the projects. I even deleted my whole settings folder from users/User in Windows. Last one helped, but I had to import my old settings, there is just far too much changed for me to redo everything, problem reappeared.
While indexing, PhpStorm shows the node_modules
folder. Right after it finishes, the folder disappears. I have no scopes set up, I have not excluded the folder.
I followed this issue PhpStorm hides directories in Project window and it didn't help.
If I setup node_modules
as a source folder from the Directories settings, and then choose "Project Files" from the Project View, then and only then I can see it in the sidenav... This is driving me nuts...
Upvotes: 15
Views: 4726
Reputation: 1229
I disabled "Vue for Idea" plugin and node_modules reappeared. I feel so stupid right now.... Thanks to Alexandre Martini in the comments. He gave me a hunch.
Upvotes: 62
Reputation: 1
This shit drove me crazy to - Go to File > Settings > Frameworks > Javascripts > Libraries and make sure you have a library setup pointing to your project's node_modules folder and the visibility is enabled. This link helped me.
Upvotes: -3