Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search within the node_modules folder in VS Code

I am trying to find the JSON package file size and the disk space it is using in the node_modules folder. Where are those listed under?

like image 657
Jen T Avatar asked Nov 19 '25 00:11

Jen T


1 Answers

By default, the node_modules folder is excluded. But you can temporarily change this for a search. Here's how:

Open the VS Code search (CTRL + SHIFT + F). Click the three dots ("...") just below the search box. Click on the wheel icon to the right of "Files to exclude". The background of the icon should now be grey.

The default exclusions are now not applied to the search, so the node_modules folder is included.

button to click.

If you want to only search the node_modules folder, you can add node_modules to the files to include field. Or you can specify the search even further (e.g. search only in a single package folder).

filtered results]

like image 124
eikowagenknecht Avatar answered Nov 21 '25 15:11

eikowagenknecht



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!