Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A feature in the search tab that is about ignoring search results if they contain a certain string #146664

Closed
ollie-iterators opened this issue Apr 3, 2022 · 1 comment
Assignees

Comments

@ollie-iterators
Copy link

Sometimes, I am searching though the code to fix some code by searching for all instances of the code. Sometimes when I fix the code that I want to be fixed, then the result is still there in the list of search results. It would be good if there were a feature that could have the text that I want it to change into so that it could ignore the changed code so that the code is not accidentally altered again.

For example, if you were commenting out some code by searching for it, you could say ignore the search results: # code that you are searching for, or whatever method that there is of commenting out a single line of code in the programming language that is being used.

@ollie-iterators ollie-iterators changed the title Add feature in search tab called "Search Results to Ignore" A feature in search tab called "Search Results to Ignore" Apr 4, 2022
@ollie-iterators ollie-iterators changed the title A feature in search tab called "Search Results to Ignore" A feature in search tab that is about ignoring search results if they contain a certain string Apr 4, 2022
@ollie-iterators ollie-iterators changed the title A feature in search tab that is about ignoring search results if they contain a certain string A feature in the search tab that is about ignoring search results if they contain a certain string Apr 4, 2022
@roblourens
Copy link
Member

You can write a regex that matches your query and doesn't match what it will change into. Or, use the X button to delete results.

We also have this request which is related: #118128

@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants