edit icon indicating copy to clipboard operation
edit copied to clipboard

"Find" options symbols

Open barsdeveloper opened this issue 7 months ago • 2 comments

Hello, Did you consider simplifying the UI for the "Find" to use text symbols similar to VS Code (right-aligned, on the same line with the input)? Image

An example could be

[aA][a̲b̲][.*]
[aA] a̲b̲  .*
 aA [a̲b̲] .*
 aA  a̲b̲ [.*]
 aA  a̲b̲  .*

But probably better:

[☐aA] [☐a̲b̲] [☐.*]

(the underlying uses U+0332, a more common symbol could work as well)

Also instead of "Use Regex" probably just "Regex" is enough Also shortcuts would be nice to have:

  • Match Case: Alt+C
  • Match Word: Alt+W
  • Use Regex: Alt+R
  • Close: Esc (this works)

barsdeveloper avatar May 27 '25 11:05 barsdeveloper

VS Code has tooltips, and we don't. I think this makes it harder for us to use these short names. Lots people are highly averse to using the mouse in a TUI application and so we can't add tooltips on mouse hover either. If we showed tooltips on focus, then this would loose any advantage over the current approach.

Also shortcuts would be nice to have: [...]

I didn't know about those... Should be easy enough to add?

lhecker avatar May 27 '25 12:05 lhecker

True but then there are other editors that take this to the extreme making it impossible to exit without some magic key combination that is not shown anywhere in the UI. I think between visual studio and VS Code, those symbols are common enough to be understood by most of people and if someone doesn't understand them, most like he doesn't need the feature anyway and the default behavior is good enough to cover the use case.

barsdeveloper avatar May 27 '25 13:05 barsdeveloper