VS Code is not searching the library folders (Vendor, node_modules, etc.) after updating

1

After I've updated my VS Code, when I press the CTRL + P shortcut, I can no longer see third-party library classes installed in the vendor folder.

I noticed that the same behavior occurs for the node_modules folder.

How to solve this?

    
asked by anonymous 09.06.2018 / 19:09

1 answer

1

To work around this, just hit the shortcut + , (or File >> preferences >> settings ) and add the following line to the configuration:

 "search.useIgnoreFiles": false

This solved the problem.

It's important to remember that you do not always want to search in some folders. To skip specific folders, use the following line in the configuration:

 "search.useIgnoreFiles": {
       "./node_modules" : true
 }

Remember that if you want to use this setting specifically for just one project, edit it in "Workspace Setting" instead of "User Settings".

    
09.06.2018 / 19:09