feat: recording keybindings

Abierto
#413 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript, linux
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
JavaScript
Estrellas
1.3k
Forks
112
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de forge-ext/forge

Todos los issues de forge-ext/forge

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.