-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Highlight capturing groups when searching using regex #45665
Comments
(Experimental duplicate detection) |
I'd like to +1 this. |
Absolutely agree with this request. Being able to see each capture group within each match would be extremely helpful. |
Agreed. I just ran into a scenario where this would have been wonderfully helpful. Instead, it's LinqPad to the rescue. :-) |
Unfortunately this isn't really feasible. Would need ripgrep support which is probably not likely. |
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding and happy coding! |
Sad to see this feature request won't be addressed, I was looking for a way to do this precisely. It would make vscode really useful to test and debug custom RegExps if you found a way to bring this feature to the product. |
we still need this tiny custom here |
Is this possible to implement as an extension perhaps? |
When searching using regex, I think it would be useful to differentiate highlighted parts that matches capturing groups in the search results.
This would allow for easier regex replace as well.
In addition to #42715, the captured values recalled using
$n
in the replace field could also benefit from some kind of highlight/color change, for even easier replace.The text was updated successfully, but these errors were encountered: