devmod icon indicating copy to clipboard operation
devmod copied to clipboard

Hotkeys

Open calebfroese opened this issue 6 years ago • 3 comments

Issue Type

  • [ ] Bug
  • [x] Feature Request
  • [ ] Improvement

Issue Description

In the devmod spirit of moving ever faster when developing applications, hotkeys would be a great addition for commonly used sequences.

You may be able to register a hotkey with a DeveloperModule to select it in the list, and a DeveloperFunction to call it (the same as clicking).

It would be useful for actions that you want to perform often and quickly, instead of clicking around the devmod interface.

Example Usage

Register a user developer module under u, and a clear local storage developer function as a

You would then be able to clear local storage by pressing in sequence ` then u then a

calebfroese avatar Jun 01 '18 08:06 calebfroese

Sounds good. Adding an extra hotkey property to the normal decorator config is probably the best way.

zbarbuto avatar Jun 01 '18 08:06 zbarbuto

Potentially nice also that interfaces do sometimes is underlining the hotkey in the title if it exists - so if the hotkey is Administrator and the hotkey is d then the d is underlined..

zbarbuto avatar Jun 01 '18 08:06 zbarbuto

That sounds like a good way to show the hotkeys without going through the source code 👍

calebfroese avatar Jun 02 '18 05:06 calebfroese