files-community / files-community/Files

Feature: Command palette default selected option

Open
#13,196 2 comments 0 reactions 0 assignees View on GitHub
area - omnibar
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### What feature or improvement do you think would benefit Files?

The new command palette is, for sure, convenient & useful (thanks to you guys). However, it kind of lacks a default/pre-selected option

For example, when you typed "rec", the first item should be highlighted, suggesting that it's the option that will be executed when the user presses the `Enter` key.
![image](https://github.com/files-community/Files/assets/88200096/cb05ccf3-2bf1-4249-be3f-c193f56683e3)

Having a highlighted option on the first result makes it easier to execute the action using a press of a key.

A similar behavior is also used in VS Code,
![image](https://github.com/files-community/Files/assets/88200096/e257473b-b7ac-4a99-98c6-5ad665d5c34e)

### Requirements

- Highlight the first result in the command palette

### Files Version

2.5.22.0

### Windows Version

10.0.23521.1000

### Comments

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.