github / github/hotkey

Add support for chords to mapper tool

オープン
#89 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
3.3k
フォーク
99
平均マージ
14時間 22分
マージ済み PR(30日)
6

説明

It would be great if we could also display chords in the mapper tool, similarly to VSCode.

I dug into this a bit and it's more complicated than I expected. If you just have a timer and track keydown events, you get chords like Meta Meta+b because the keydown for Meta is different from the keydown for b. It looks like this is solved in the main code with the 'radix trie' logic, but this seems pretty closely tied to the hotkeys that are configured on the element, and we can't configure _all_ possible hotkeys onto the mapper tool.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by tracing the mapper tool and the main code's radix trie logic described in the issue, then compare how VSCode displays chords. Determine how modifier and keydown events should be grouped when all possible hotkeys cannot be configured on the mapper; done means the mapper displays chords without duplicate modifier entries.

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

評価

技術スタック
javascript
領域
frontend, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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