Go Down

Topic: IDE needs a code formatter (Read 458 times) previous topic - next topic

PaulMurrayCbr

The ide really needs a button that will pretty-print your code. I see people on the forums asking about bugs that would be more obvious if their code was indented correctly.
http://paulmurraycbr.github.io/ArduinoTheOOWay.html

CrossRoads

Have you tried Ctrl-T?
Or, Tools:Auto Format?
Indents nicely most of the time.
Also checks that ( )s and { }s all have mates.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

PaulMurrayCbr

http://paulmurraycbr.github.io/ArduinoTheOOWay.html

TheSoundMan

Well I wish I knew that... Although It would be handy if there was button, say near the serial monitor button.

Go Up