Searching through the content of all files in a repl?

This should be obvious, but I can’t figure out how to search through the content of all files in a repl? The search bar searches file names, but I need to search through the content of all those files. How would I do that?

Thanks in advance for any help.

1 Like

The search bar at the file tab searches the files. However, if you go to the the tab where webview or console usually is, if you press the +, it will bring up a list of tools and a search bar. This search bar can search everything (files, tools, and bits of code) in your repl.

2 Likes

That’s quite helpful, thank you!

Do you know if there is anyway to limit which folders / files get searched? In an express project, with a gazillion node_module files, those are all producing hits when I really just want to search through the files that my students wrote.

Based on my experience, I’m pretty certain that you can’t filter those searches. Try putting a request in #feature-requests though!

for now, you could run in shell:

grep --exclude-dir=node_modules "query here"