Exclude/remove folders (node_modules/bower_components) from project

Answered

I have tried this solution without success. I can remove or uncheck the folders (node_modules and bower_components) from Settings > Languages & Frameworks > Javascript > Libraries, or remove the libraries in Project Structure > Libraries, but if I restart IntelliJ the folders return instantly. I have also tried adding the folders to Settings > Editor > File Types > Ignore files and folders, but it still returns upon restart. All this was done with the folders excluded in Project Structure > Modules. I would like to exclude these folders from all indexing because they slow the IDE to a crawl. Any solution?

IDEA 2016.2.1

1 comment
Comment actions Permalink

...it was because of a plugin (ember.js). My bad.

0

Please sign in to leave a comment.