vscode icon indicating copy to clipboard operation
vscode copied to clipboard

"Find all" with "occurrences to exclude"

Open syedrakib opened this issue 9 months ago • 3 comments

Once we "Find All" (Cmd+Shift+F) a word/phrase, we have the option to choose "files to include", "files to exclude".

Image

It will be great to add a textfield to choose "occurrences to exclude"

For example. When i search "maintenance":

  • it reveals lines such as "maintenance", "dev maintenance:", "staging maintenance" - I want to see those lines.
  • but it also reveals lines such as "prod maintenance" that i'm not interested in - I don't want to see those lines.
  • so if i could add occurrences to exclude: "prod", that will give me only the results that i am interested in.

Basically, a way to filter out search results that contain a specific word/phrase in the line of that result.


Some might suggest the regex option. But it's not the easiest method for most layman users.

syedrakib avatar Mar 06 '25 01:03 syedrakib

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!