Regex Syntax Highlighting for Buffer Search - (Like Atom's Find / Replace Bar) #24994
Closed
div-tag
started this conversation in
Feature Ideas / Enhancements
Replies: 1 comment 1 reply
-
It is in the I have created a PR to add this, as seemed pretty small to do: #25005 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Atom had an awesome search bar that had syntax highlighting for regex mode.
This would be an awesome feature for Zed, there are very few (if any) other editors I know of that have this.
It does not matter much for a short regex, but it is incredibly helpful for long complex regex strings.
I personally still open atom up quite often just for that feature, even though I have switched to VSCode and now Zed for everything else.
I might try to poke around and figure out how to do this myself, but I am not very familiar with Rust or the Zed codebase - so I would be in over my head quite a bit!
Could anyone direct me to where the code for the buffer search located? I have tried looking in the /crates folder, and some of files in the /crates/editor folder, but I don't see anything that seems to be related to it...
Screenshots for reference:
Atom:

Zed:

Beta Was this translation helpful? Give feedback.
All reactions