Visual Studio Code can have index a folder, just as a table of contents
of all exportable variables and functions within its files, by
including an index.js file inside the ComponentOne directory.
The
Indexify
extension simplifies turning this on:
Index files (index.js/index.ts) act as a directory's table of
contents. They are great for tracking exportable functions and
variables. They allow you to easily import them into your codebase
without having to dig them up from buried sub-directories.
The only problem is manually keeping track of all your exports and
updating index files. That's where Indexify comes in!
Indexify adds options to your context menu to auto-generate index
files on the fly. All you have to do is right-click on any directory
in the explorer and select either a shallow index (indexes only
the root of the selected directory) or a deep index (indexes all
nested directories)
You may read a more detailed description of the extension in
Effortless Index Files with VS Code.
For brute textual search, if VS Code is too slow, you could search
for a third-party utility.