Hi everyone.
The sketch included some HTML code that can't auto formatted, are there any other keys for it?
Or what is the hot key for HTML code auto format?
Thanks
Adam
A text editor with "auto indent" should be good. You can set the "indent" to TAB or SPACES, and set the number of spaces in the indent. Also, turn on "line numbering" in order to find the line that a compiler will indicate when the code is not correct.
Look for the open source "Gedit" for Windows (there are many out there, this is just an easy one for me to spell). I prefer it over the Arduino IDE. It color codes and formats every code from script to asm to HTML!
1 Like
Use Sublime Text to edit the HTML and copy and paste it into the Arduino IDE. Be careful how you copy and paste, as you might get the indentation wrong.
Tinkerer9
1 Like
Great.
Thank you.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.