Description
Describe the problem
Arduino IDE 2.x allows full customization of keyboard shortcuts via the "Keyboard Shortcuts" view (File > Advanced > Keyboard Shortcuts).
The "Keyboard Shortcuts" view contains a list of "commands", which originate from two sources:
- The Eclipse Theia IDE framework Arduino IDE 2.x is built on (and the VS Code application Theia is based on).
- Arduino IDE 1.x
🐛 Some of these commands are redundant:
- "Toggle Line Comment" / "arduino-toggle-comment"
- "Find" / "arduino-find"
- "Find Next" / "arduino-find-next"
- "Find Previous" / "arduino-find-previous"
The list above is incomplete. A comprehensive review must be done of all keyboard shortcuts.
To reproduce
- Select File > Advanced > Keyboard Shortcuts from the Arduino IDE menus.
A "Keyboard Shortcuts" view will open in the main panel. - In the "Search keybindings" field of the view, type
Toggle Line Comment
- Take note of the keyboard shortcut shown under the "Keybinding" column (e.g., Ctrl+/)
- In the "Search keybindings" field of the view, type
arduino-toggle-comment
- Hover the mouse pointer over the row for the "arduino-toggle-comment" command.
- Click the pencil icon that appears on the left side of the row.
- Change the value of the field to something unique (e.g.,
CtrlCmd+Alt+Shift+/
). - Click the OK button.
- Select a sketch editor tab.
- Press the keyboard shortcut for the "Toggle Line Comment" command.
- Press the keyboard shortcut for the "arduino-toggle-comment" command.
🐛 The functionality of the commands is redundant, increasing the already large number of commands in the "Keyboard Shortcuts" view without adding any value for the user.
Expected behavior
All commands listed in the "Keyboard Shortcuts" view have unique functionality.
Arduino IDE version
2.0.2
Operating system
Windows
Operating system version
10
Additional context
Other issues related to making the contents of the "Keyboard Shortcuts" view more user friendly:
- Colliding default keyboard shortcuts #1658
- Provide user friendly command names in "Keyboard Shortcuts" view #1659
Keywords
-
"keybinding"
-
"key binding"
-
"hotkey"
-
"hot key"
-
"accelerator"
-
"key combination"
-
"key sequence"
-
"key chord"
-
"shortcut key"
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details