shibayu36 / vscode-search-in-current-file

The vscode extension to search in current file quickly
https://marketplace.visualstudio.com/items?itemName=shibayu36.search-in-current-file
MIT License
12 stars 5 forks source link

Add option to reset 'filesToInclude' #13

Closed itacud95 closed 1 year ago

itacud95 commented 2 years ago

Once this extension has search the current file it would be nice to have a option for clearing out 'filesToInclude' field so one can search the whole workspace again.

I see a similar issue has already been made here: https://github.com/shibayu36/vscode-search-in-current-file/issues/3.

Let me know if I can help out with this, or if you can take a look at implementing this.

shibayu36 commented 1 year ago

@itacud95 Sorry for my late response.

Is your usecase the same as https://github.com/shibayu36/vscode-search-in-current-file/issues/3#issuecomment-1425556121 ? Can this comment solve your request?

itacud95 commented 1 year ago

That looks like something that would work, but I have not tested it. I ended up switching to editor.action.nextSelectionMatchFindAction and editor.action.previousSelectionMatchFindAction for searching in-files.