That's good feedback too ;) Actually SHORTCUTS was public you could just do Espruino.Plugins.KeyShortcuts.SHORTCUTS["Ctrl + X"] = ...
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, powered by microcosm.
Report a problem