Open
Description
Increasing Access
Like in most of the editor(s), users can change the keymaps
based on their preferences. There should also be a feature to in p5.js-web-editor to change the keyboard shortcuts as user likes.
Feature request details
- Add a
edit
button - create
context
orredux slice
for global state(s) mgmt - track the keys using
onKeyDown
oronKeyUp
, etc. - Also ensure that shortcut don't clash with browser shortcuts
Activity
[processing#3444] Add keyboard shortcut update functionality
karanBRAVO commentedon Apr 10, 2025
I have added the PR to check the feasibility of this feature.
raclim commentedon Apr 10, 2025
Thanks for opening this @karanBRAVO, I think the idea is interesting!
Before adding new features, we generally like to gain some sort of discussion or consensus first among a few folks before starting developing on it. However, since you already have something down, I think it'd be great if you could share some screenshots or videos (either in the PR or here in this issue) of how it functions!
One note I might add though is that we're currently in the process of refactoring the
Editor
component for the CodeMirror 6 upgrade. You can reference the changes here to see what the component looks like so far. Since we're planning to integrate and work with these changes first, I might suggest waiting until that work is done before revisiting this feature.[processing#3444] Add key-maps
[processing#3444] Add keyboard shortcut update functionality
[processing#3444] Add key-maps