Skip to content

Registrable commands for plugins #129

@yannbf

Description

@yannbf

Clear and concise description of the problem

The dev tools floating button is amazing, and I feel like it would benefit from having shortcuts for toggling it on and off.
Additionally, as a plugin developer, I'd like a way to define custom commands and assign shortcuts to them, similar to how VSCode does. Maybe in the future, if it made sense, such commands could be available as part of a general command palette as well, similar to how it's shown in VSCode.

Suggested solution

I'd like to be able to register custom commands which will be triggered based on keyboard shortcuts, which would allow me to do any custom action, for instance enable/disable component highlighting feature.

For the dock itself, I can imagine commands like:

  • Hide/show
  • Open/close
  • Pop out/in
  • Toggle transparency

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions