You are reading a single comment by @TheAkki and its replies. Click here to read the full conversation.
  • @Robin Thx for the help.
    Yes, i was grow up in development with C++. Actually is my home plc programming. (Nearly zero curly braces) ;)

    So i will avoid to copy it in notepad. ;) I will try if it works.

  • Thr 2020.03.26

    'I will try if it works'

    Try the second snippet from post #4. It does work/compile.

    'So i will avoid to copy it in notepad'

    There is an option within notepad++ just haven't found it yet.

    Ohhhh, @TheAkki no need to avoid notepad++ as I use it as my primary Espruino development. I use it daily and with 1000+ lines of code, such as your code file. Edit the file which will reside in the \Projects folder of the WebIDE save location, using the nice color hilighting, bookmarks and indentation etc. within notepad++. Save the file. Go to the WebIDE and click the lower folder on the middle bar. Select that file and it will appear on the right hand editor side. Click the upload icon.

    While editing on the right side, be careful using the save icon. It is easy to get/lose file edits when using the WebIDE and notepad++ together. Got burned a few times with lost edits and took a bit of patient learning to maintain and get the hang of it.

About

Avatar for TheAkki @TheAkki started