Skip to content

Redundant commands in "Keyboard Shortcuts" view #1693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
per1234 opened this issue Nov 18, 2022 · 0 comments
Open
3 tasks done

Redundant commands in "Keyboard Shortcuts" view #1693

per1234 opened this issue Nov 18, 2022 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Nov 18, 2022

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:

🐛 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

  1. Select File > Advanced > Keyboard Shortcuts from the Arduino IDE menus.
    A "Keyboard Shortcuts" view will open in the main panel.
  2. In the "Search keybindings" field of the view, type Toggle Line Comment
  3. Take note of the keyboard shortcut shown under the "Keybinding" column (e.g., Ctrl+/)
  4. In the "Search keybindings" field of the view, type arduino-toggle-comment
  5. Hover the mouse pointer over the row for the "arduino-toggle-comment" command.
  6. Click the pencil icon that appears on the left side of the row.
  7. Change the value of the field to something unique (e.g., CtrlCmd+Alt+Shift+/).
  8. Click the OK button.
  9. Select a sketch editor tab.
  10. Press the keyboard shortcut for the "Toggle Line Comment" command.
  11. 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:


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
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant