ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

DevEnv: add-brackets in astylerc set to true

Open Rohan-Dah opened this issue 2 years ago • 1 comments

As per the style guide https://ardupilot.org/dev/docs/style-guide.html , control statements (if, while, do, else) should always use braces around the statements. This can be implemented by setting add-brackets option to true.

Rohan-Dah avatar Feb 03 '23 14:02 Rohan-Dah

Isn't that implicit?

I mean, if not, the line above would seem to suffer the same problem.

peterbarker avatar Sep 11 '24 12:09 peterbarker

No answer from @Rohan-Dah . Please re-open if you want to pursue

peterbarker avatar Jun 05 '25 00:06 peterbarker