I intend to improve that quite a lot at some point (I'll export some data from build_docs.py in Espruino) so it'd be cool if your project could take advantage of that (or could help the Web IDE as well ;)
As it looks like you're caching the whole JS command before sending it to Espruino, syntax highlighting would be awesome :)
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.
Hi Gamaiel,
That looks really cool - it doesn't seem to handle multi-line editing yet though?
There's actually some simple autocomplete code in the Espruino Web IDE at the moment - as it's also JS I wonder if it can be shared... https://github.com/espruino/EspruinoWebIDE/blob/master/js/codemirror/addon/hint/espruino-hint.js
I intend to improve that quite a lot at some point (I'll export some data from build_docs.py in Espruino) so it'd be cool if your project could take advantage of that (or could help the Web IDE as well ;)
As it looks like you're caching the whole JS command before sending it to Espruino, syntax highlighting would be awesome :)