microsoft / microsoft/edit

"Find" options symbols

Open
#317 2 comments 2 reactions 0 assignees View on GitHub
C-task
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

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](https://github.com/user-attachments/assets/f51e4fa9-dba9-45fd-a377-a1e7576e109b)

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)

Contributor guide

Open the contributing guide

Research direction

Start by locating the Find UI and its existing Match Case, Match Word, Use Regex, and Close controls. Compare the proposed right-aligned text symbols and shorter Regex label, then review how keyboard shortcuts are handled. Done means an agreed design is implemented for the controls and the requested Alt+C, Alt+W, Alt+R, and Esc shortcuts work.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.