Search code examples
idephpstormhidden

can't see node_modules folder in PhpStorm


For some reason I can't see the node_modules folder. When I open the project on the explorer, the folder node_modules there so I'm 100% sure it's there. I tried to invalidate cache and restart PhpStorm and even deleting the .idea folder (which I don't see it too) it's still hidden. In the project settings I've already enabled the Show Excluded Files option. I tried to fresh install the program but it's still not shown.

How can I make the folder node_modules visible?


Solution

  • There was a bug in the Vue plugin back in 2016. If you have installed the Vue plugin before Oct 4, 2016, you might have the bugged version installed that hides the node_modules folder.

    The bugged Vue plugin was removed from the plugin repository in Oct 4, 2016 and replaced with an official Vue plugin that does not cause this issue.

    See https://github.com/henjue/vue-for-idea/issues/46. If it's not the case, check if you have 'Show excluded files' enabled in Project tool window settings:

    enter image description here