microsoft / microsoft/edit

Add a command palette

Open
#25 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-feature
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

We already got a fuzzy matcher (`src/fuzzy.rs`), now all we need is the matching command palette! We can then use it for representing the existing encoding picker, indentation picker, and file picker dialogs.

My biggest open question is: What shortcut do we use? If you take the union of all keyboard keys that popular terminals _don't_ use for themselves already, you're practically left with only A-Z. 😢 Perhaps Ctrl+P is still our best bet, even if it doesn't work in VS Code.

As part of this we should solve #228.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading src/fuzzy.rs and reviewing the existing encoding picker, indentation picker, and file picker dialogs. Resolve the shortcut choice and the relationship to issue #228 before designing the command palette. Done means a command palette exists and can represent those three existing picker dialogs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.