What is (library home) folder

node_modules is marked as (library home)

Could you explain what this does mean? Are these folders do not get in project scope? Are this folders are indexed?

Is it possible to do (mark as library home) with other folders?

Why for exmaple "bower_components" folder is not marked like (library home)?

1 comment
Comment actions Permalink

It means that they are added to javascript libraries (Settings/Javascript/Libraries)
These folders are indexed, but online inspections are turned off for them and they are treated read-only (don't participate in refactorings, etc). See http://blog.jetbrains.com/webstorm/2014/07/how-webstorm-works-completion-for-javascript-libraries/ for some hints

Is it possible to do (mark as library home) with other folders?


sure - just add these folder to javascript libraries

0

Please sign in to leave a comment.