Go Down

Topic: Problems with Arduino auto format (Read 744 times) previous topic - next topic


(using 1.0.5 on Max OSX).

Auto format often give faulty results. For example, this one  (the 'private' has negative indent).

Code: [Select]

namespace foo {
  struct  {
    static void enter() {
    static uint8 i;

Is it possible to customize the auto format style?  If not, any suggestion for a better auto formatter that works nicely with the Arduino IDE?


Here is another example, notice the negative indentation of  the ':'.

Code: [Select]

namespace foo {
  class bar {
    bar(int a)
      a_(a) {
    int a_; 

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131