When I switched to the new version of the web editor, the auto indent feature stopped working? When I press the auto-indent button, a spinner spins but none of the source code is modified. What gives?
Hi @gdw971. I have submitted a formal bug report about this to the Arduino Cloud developers. I will post an update here if I receive any news regarding a resolution.
For now, as a workaround you can copy your code into a programming editor or other tool that has a C++ code formatting capability, format it there, then copy the formatted code back to Cloud Editor. You can use the desktop Arduino IDE for this purpose. It allows you to format code by selecting Tools > Auto Format from the Arduino IDE menus. Arduino IDE can be downloaded from the links listed here on Arduino's official "Software" page:
Thank you. I expected many people to raise this issue but your reply is the first acknowledgement of this that I've seen. Thank you again.
You are welcome. I have also been astonished to not see any user reports of this bug before yours, even though I personally encountered it months ago.
In addition to being of great benefit to the users, availability of a code formatter is very important to those of us who provide support to the Arduino community and hope the user code we receive for review and troubleshooting will be in a decipherable condition.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.