As node_modules are auto-excluded, you can't un-exclude them here, but you can mark individual folders as Not Excluded via right-click menu in the Project wool window, Mark Directory As action
Note that un-excluding the whole node_modules folder will have a huge impact on performance, as re-indexing thousands of files located in it is a resource-consuming task, and the resultant indexes will be huge. All direct dependencies listed in package.json are normally included by default to provide a completion, so I'm not sure why you need including the whole directory
As node_modules are auto-excluded, you can't un-exclude them here, but you can mark individual folders as Not Excluded via right-click menu in the Project wool window, Mark Directory As action
Note that un-excluding the whole node_modules folder will have a huge impact on performance, as re-indexing thousands of files located in it is a resource-consuming task, and the resultant indexes will be huge. All direct dependencies listed in package.json are normally included by default to provide a completion, so I'm not sure why you need including the whole directory
Hi Elena,
Can you kindly tell me which version of webstorm allows node_modules to be viewed? I will revert to that version. thanks.
Phil
Not sure I follow you... they can be viewed in all WebStorm versions
Hi, I'm using IntelliJ-IDEA 2021.1.1. How to disable this "auto-exclude" feature?
It can't be disabled. Why do you need the whole folder, with its tons of indirect dependencies resulting in megabytes of unrelated code to be indexed?