Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

376
Views
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?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

There are plenty of plugins for VS Code that provide this functionality. Take a look at the marketplace https://marketplace.visualstudio.com/vscode. For instance, you could use this plugin https://marketplace.visualstudio.com/items?itemName=xiaoluoboding.vscode-folder-size

about 4 years ago · Juan Pablo Isaza Report

0

In terms of the posible XY problem here, other answer and comments seem to answer the Y, but you seem to still want X. So:

I believe the default VS Code setting search.exclude includes "**/node_modules": true,. If you're really intent on being able to use VS Code's file-content searching facilities to search the contents of node_modules folders, you'll want to define search.exclude explicitly and remove that line from the auto-generated default config.

Note: The reason the default settings are like this is because most people don't usually/ever want to search the contents like that- at least by using VS Code. Including the contents of node_modules in searches can result in much more computational effort, and many more results that those users won't want to see. There may also be search indexing memory-costs. There are other good tools to do file-content searching in folders such as git grep, grep, and ripgrep.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!