feat: recording keybindings

Aperta
#413 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, linux
Ambito
desktop

Direzione di ricerca

The issue asks for a way to record a keybinding by pressing keys instead of typing key names, and it names the custom .conf keybinding syntax from #350 as the current approach. Start by reading how the extension's keybinding settings are defined and stored, then decide how a recorded key press would map to that same format. The issue leaves the design open (a record button or automatic capture while typing), so agree on one approach with the maintainers before coding. Done means a recorded shortcut is saved and works in the existing keybinding setup.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
(1) Description

The title should be descriptive enough, but i will reiterate. The syntax description is lucklaster as arrow keys are not mentioned for example. So if there were a button to record your keybinding it would be easier for users to configure their shortcuts/ keybindings as they like.

(2) Alternatives I've considered

This is kind of mentioned with a custom .conf file (#350) for keybindings, although i still think it is way easier to just record a keybinding rather than (1) finding out the name of a key (2) then setting it with a syntax that is kind of unusual?

Two ways of implementation could be (1) adding a record button or (2) pressing multible buttons when entering the new shortcut will automatically add your buttons. Example pressing the "ctrl" key adds or pressing "-" appends "minus" to the text input string.

(3) Design / Screenshots / Mockups
Adding record button

As I mentioned in 'alternatives' this is badly drawn mockup for adding the "record shortcut button"
image

Modal/popup for recording shortcut

And it could create a popup like this if needed. Alterativly use the method of integrating keybinding recording to the alreadly implemented edit shortcut.
image

Lingua principale
JavaScript
Stelle
1.3k
Fork
112
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di forge-ext/forge

Tutte le issue di forge-ext/forge

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.