I hated VS Code’s global search — so I forked it, then turned it into an extension.
Posted by Benx78@reddit | programming | View on Reddit | 39 comments
VS Code’s global search is confusing and frustrating for larger projects. Finding what you need shouldn’t feel like a guessing game, but it often does.
I tried to fix it the obvious way: I forked VS Code. The fork worked better — search was faster, results were more reliable, and it actually made sense to use.
But maintaining a fork is painful. Every update brought conflicts, every bug fix had to be ported manually, and sharing it with others was practically impossible.
After testing, I realized a fork wasn’t the solution. Instead, I created a small extension that improves global search without the overhead of a fork. It’s easier to maintain, easy to install, and still gives you the improvements I wanted.
I’m still refining it, so feedback is welcome. If you’ve struggled with VS Code’s global search too, I’d love to hear how you solved it — or how you survive without one.
P.s. It's open source of course :)
nelmaven@reddit
Looks good, does it support regular expressions?
mamwybejane@reddit
vscode already supports regex in search
nelmaven@reddit
I'm aware, my question was regarding the extension.
Benx78@reddit (OP)
Not yet :) it’s just an MVP. My goal was to see if there is more people like me, who desire different search feature :)
programming-ModTeam@reddit
This is a demo of a product or project that isn't on-topic for r/programming. r/programming is a technical subreddit and isn't a place to show off your project or to solicit feedback.
If this is an ad for a product, it's simply not welcome here.
If it is a project that you made, the submission must focus on what makes it technically interesting and not simply what the project does or that you are the author. Simply linking to a github repo is not sufficient
A1oso@reddit
What's the problem with the built-in search that this extension solves?
freecodeio@reddit
I have a monorepo with over 70,000 files and global search has worked very well for me. I guess if you name your variables
var thingthen yeah you're gonna run into issues.omgFWTbear@reddit
Who leaked our codebase?!
Isfirs@reddit
Guilty.
omgFWTbear@reddit
Did you also leak our patented “iterators named i” technology?
314kabinet@reddit
I have Unreal Engine source and it takes minutes to find anything specific.
Benx78@reddit (OP)
Good for you! :)
Benx78@reddit (OP)
I guess it’s mostly personal preference — I’m a PhpStorm fan and really enjoy their global search with a split view, which was my main goal to replicate.
A1oso@reddit
I don't understand. By default, the search panel is in the left sidebar. When you open it, you effectively have a split view: search results in the sidebar, the file containing the current result in the main panel.
Benx78@reddit (OP)
Originally I wanted to create a modal like in phpstorm, but it’s not possible with extension.
Anyways I totally get that you may preffer the existing way :)
Aware14@reddit
I go out of my way to use VS code search, what does this fix exactly?
I've never had performance issues unless I click the button to exclude gitignore files, ok which case I am accepting the hit because I'm trying to find the source of an error in my node_modules or something
Benx78@reddit (OP)
This is just an opinionated redesign, inspired by phpstorm
Aware14@reddit
Oh the Jetbrains search they put in all their IDEs. Yeah this is specifically why I open some projects in VS code just to search lmao
Benx78@reddit (OP)
Hahaha yeah it’s very opinionated :)
backfire10z@reddit
Thank god it is both lightning fast and blazing fast! I was worried it was slow for a second
SnakeTwix@reddit
As well as the commit history being like 5 commits, with 4 of them being 1 line changes.
Benx78@reddit (OP)
Well yeah it was a weekend fun project with a lot of vibe coding. Disn’t intend to trigger so many people 😂
shogun77777777@reddit
You posted vibe coded junk. Not sure what you were expecting.
Benx78@reddit (OP)
Well I stopped wasting my time before confirming if something has potential.
Good product that no one wants is worse than bad product that some people want
Benx78@reddit (OP)
Fair point. No need to be rude though :)
I dont feel comftarable to waste to much of my time building something nobody wants, there fore this was a fun weekend experiment :)
I confirmed there is demand, even thiugh it got a lot of hate too.
Thanks for your feedback though.
Just next time show a bit more respect for someone who is trying to build something.
WilfredoN@reddit
More interesting that I can exclude node_modules in vs code by myself to, btw, increase speed, or hide some places, and I can add my own patterns, while in the extension code it is stored hardcoded
backfire10z@reddit
I’m fairly confident folders of that kind are already hidden. I’m mostly in Python and the files in my virtual environment don’t come up in the search by default. If I open files in the venv, then that installed library is included IIRC.
zbend@reddit
Nice, what I've always wanted is an easier file folder tree filter like full visual studio has.
dxk3355@reddit
Typical programmer instead of learning to use a tool you make something else equally confusing
MilkEnvironmental106@reddit
It's no longer confusing to the person who spent hours designing it
br0ck@reddit
The gif doesn't look too confusing? Just shows all matches in all files as you type, and you arrow down them and hit enter and it goes to the doc.
The Ai emojis in the doc trigger me though. ha
A1oso@reddit
The built-in search isn't confusing, either. Press ctrl-shift-f and start typing. It shows all matches in all files as you type. Instead of arrow keys, you can press F4 or shift-F4 to select a search result. And you don't need to press enter after that because you're already in the file.
The built-in search tool can also replace, it also supports regular expressions, it also allows you to include/exclude certain folders, and it ignores anything specified in
.gitignoreby default.Benx78@reddit (OP)
That's why my extension is optional and if you like the existing way, no need to even give it a shot :D
I plan on adding additional functionalities as well - like regex search.
backfire10z@reddit
The built-in VSCode search already has regex search as well.
Benx78@reddit (OP)
Exactly - it's inspired by phpstorm global search. And it's just the first version I coded for fun :)
Yeah sorry, I vibe coded the docs :D
Benx78@reddit (OP)
hahah I make that for fun :) I understand you may not like it.
the inspiration was taken from phpstorm global search, which is in my humble opinion much better.
redfournine@reddit
https://xkcd.com/927/
I'm sure some of u would know what xkcd this is, without even opening it lol
despacit0_@reddit
That looks good, but did you know about the quick search they added recently?
Benx78@reddit (OP)
Thanks! I actually don't know. I will take a look.