Interesting - thanks! So for modules it wouldn't be an issue as that happens already, but it's presumably the whole project that causes problems.
I reckon this could be fixed pretty easily in codeWriter.js in the IDE - after all, it already tweaks newlines of the form function a() [newline] {, so I reckon it could add newlines after each function.
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.
Interesting - thanks! So for modules it wouldn't be an issue as that happens already, but it's presumably the whole project that causes problems.
I reckon this could be fixed pretty easily in
codeWriter.js
in the IDE - after all, it already tweaks newlines of the formfunction a() [newline] {
, so I reckon it could add newlines after each function.