Example code on reference pages do not follow the Arduino code format standard #6503
Labels
Component: Documentation
Related to Arduino's documentation content
Library: Ethernet
The Ethernet Arduino library
Library: Other
Arduino libraries that don't have their own label
Library: SoftwareSerial
The SoftwareSerial Arduino library
Library: SPI
The SPI Arduino library
Type: Bug
Tools > Auto Format in the Arduino IDE has established a standard of formatting for all Arduino sketches. It's important to teach beginners to be consistent in whatever code formatting style they choose. Unfortunately Arduino's example code doesn't always follow their own standard.
I recommend using the "examples_formatter" script, or the Arduino IDE's Tools > Auto Format configured with the examples_formatter.conf file on all example code in the Arduino reference pages.
The text was updated successfully, but these errors were encountered: