feat: recording keybindings

オープン
#413 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, linux
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
JavaScript
スター
1.3k
フォーク
112
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

forge-ext/forge のほかの issue

forge-ext/forge の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。