emilk / emilk/egui

Deserialize KeyboardShortcut from string

Open
#7,653 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

**Is your feature request related to a problem? Please describe.**

Rather than having to describe all the fields, it would be nice if one could deserialize from "Ctrl+B" etc. And also serialize to this format. This especially holds for e.g. TOML where the user a bit more easily can write things (rather than e.g. RON).

**Describe the solution you'd like**

As above.

Contributor guide

Open the contributing guide

Research direction

Start by locating the KeyboardShortcut type and reading its current serialization and deserialization behavior. Compare the desired "Ctrl+B" representation with the existing field-based form, including how it should work for TOML and RON; done means both parsing from and serializing to the shortcut string are supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.