Check for duplicates
Problem
keyboard shortcuts are not displayed on the screen in core, but may be displayed in some cases such as in help menus. having text associated with the shortcut would make it easier for developers to implement their own help menus.
Request
add an optional displayText property to KeyboardShortcut interface. it should be allowed to be a string or a function that returns a string.
being optional means this is not a breaking change
then update all existing keyboard shortcuts in core to provide text for all built-in shortcuts. the ones in core should be a function that returns a Blockly.Msg for the shortcut as it will be displayed in menus
Alternatives considered
No response
Additional context
No response
Check for duplicates
Problem
keyboard shortcuts are not displayed on the screen in core, but may be displayed in some cases such as in help menus. having text associated with the shortcut would make it easier for developers to implement their own help menus.
Request
add an optional
displayTextproperty toKeyboardShortcutinterface. it should be allowed to be a string or a function that returns a string.being optional means this is not a breaking change
then update all existing keyboard shortcuts in core to provide text for all built-in shortcuts. the ones in core should be a function that returns a
Blockly.Msgfor the shortcut as it will be displayed in menusAlternatives considered
No response
Additional context
No response