That's good feedback too ;) Actually SHORTCUTS was public you could just do Espruino.Plugins.KeyShortcuts.SHORTCUTS["Ctrl + X"] = ...
I'll add that now.
This is probably overkill but potentially if nothing was selected and the cursor was in a global function, the IDE could automatically upload that whole function... With the Acorn parser (used in the 'compiled'/etc handling) it's probably not such a big deal to do.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's good feedback too ;) Actually SHORTCUTS was public you could just do
Espruino.Plugins.KeyShortcuts.SHORTCUTS["Ctrl + X"] = ...
I'll add that now.
This is probably overkill but potentially if nothing was selected and the cursor was in a global function, the IDE could automatically upload that whole function... With the Acorn parser (used in the 'compiled'/etc handling) it's probably not such a big deal to do.