I have 2 projects in PhpStorm: one is working fine and the other is not working, and I cannot figure out what the first job does.
The first one works well with the library root for bower, npm and composer:

The second is conversation, npm are not recognized as the root of the library: 
So the behavior in PhpStorm is different, when I use the navigation file in the second project, I see the whole provider file by default:

If I mark the directory as excluded, the ideal does not understand the provider class: 
So, how can we configure the IDE to mark the directory as the root library?
source share