Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
While for some workspaces with tens of thousands of files it would be performance killer for smaller workspaces I would like to have the option to search "live". When I don't know the exact name of the file I could just start typing and search would make it's job.
If implemented, could it be toggled with a workspace setting and defaulted to 'False' ?
I agree that it could be a nice feature for smaller workspaces.
in settings :
search.autoSearch = auto | afterDelay | off
auto = turn autoSearch to afterDelay if project has <10000 files. Not sure how many files are considered as many for this algorithm. Probably file size is doing impact too.
afterDelay = auto search when "done" typing
Also search.autoSearchDelay = 300
It would mean: if no character input for 300ms - do the search.
Similar to "files.autoSaveDelay": 300 option, which I don't like that it saves after each keyDown event not when done typing but it's different issue. https://github.com/Microsoft/vscode/issues/46338
off = user has submit search input manually like it is now.
I feel like we have opposite experience with search:
1) I open a large file
2) I start typing in a search field and the file starts scrolling automatically to a match of my incomplete query
This is very distracting, especially when I'm trying to construct a search query based on what I see.
And I don't see a search.autoSearch setting anywhere to turn this off.
I've really been longing for this feature after coming over from WebStorm or IntelliJ!
I had no idea how helpful it was until I didn't have it. It can be a life saver to see search results populate live as you type because you often can't remember the full term or there are many similar terms.
I'd love to see live search come to VS Code too!
Would love to see this feature as well, it's the biggest reason I'm considering dropping vscode.
https://nuclide.io/blog/2017/08/31/Code-Search/
Additionally, it'd be great if there was an Omnisearch that searches filenames and content
This would be great to have. Even after weeks of using vscode I forget that it doesn't autosearch and I will highlight text then do CMD+Shift+F expecting to immediately be shown the results. Hitting the Enter key just doesn't want to get saved in my muscle memory :'(
It would also be great if we could enter the search term into command palette/Quick-Pick's input field and get live results in its list.
Something like this:
Landed here after searching for how to enable this feature. It seems it's finally my turn to drop the classic Any news on this ?
Any news on this ?
Most helpful comment
I've really been longing for this feature after coming over from WebStorm or IntelliJ!
I had no idea how helpful it was until I didn't have it. It can be a life saver to see search results populate live as you type because you often can't remember the full term or there are many similar terms.
I'd love to see live search come to VS Code too!