Unable to include Node_Modules WebStorm 2020.1

I am unable to INCLUDE node_modules in webstorm 2020.1 current interface will not allow me to include it.

2

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

0

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

0

Not sure I follow you... they can be viewed in all WebStorm versions

0

Hi, I'm using IntelliJ-IDEA 2021.1.1. How to disable this "auto-exclude" feature?

0

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?

0

请先登录再写评论。