8000 Redundant commands in "Keyboard Shortcuts" view · Issue #1693 · arduino/arduino-ide · GitHub
[go: up one dir, main page]

Skip to content
Redundant commands in "Keyboard Shortcuts" view #1693
Open
@per1234

Description

@per1234

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0