helix icon indicating copy to clipboard operation
helix copied to clipboard

Global search should search opened documents

Open pathwave opened this issue 3 years ago • 2 comments

Currently global search only read files from disk, this creates two problems: Unsaved content is not search-able and the resulting search result can end up on wrong line (and selection) because of unsaved content in-between. I think it would be better if it searched throught opened documents and excluded those opened documents from the disk search.

pathwave avatar Oct 11 '22 16:10 pathwave

Good call. I think this would be easier to implement after (the much anticipated) #3110 is merged.

pppKin avatar Oct 18 '22 07:10 pppKin

I implemented it for #4381, so it just needs a copy/paste ish after im done with #4381.

pathwave avatar Oct 20 '22 16:10 pathwave