Code Styling for Arduino Projects

Hello,

I would appreciate if someone could assist me by providing a style configuration file for Arduino. Apparently function naming is unlike normal C++ default styling. For instance:

  • C++ style : digital_write
  • Arduino style : digitalWrite

Thanks

3 comments
Comment actions Permalink

Hello Waleed,

Arduino naming conventions seem to be pretty close to the LLVM conventions. You can reset naming style to this scheme using the "Reset to Scheme" button on the "Code Editing | C++ | Naming Style" ReSharper options page.

0
Comment actions Permalink

Thanks Igor. I was already on that scheme

The same styling is set

 I believe that solved it. I just don't know if there is a scheme for it

0
Comment actions Permalink

It looks like you're not on 2018.3 yet? This is what the "Naming Style" page looks like with LLVM scheme selected in R++ 2018.3:

If you notice any differences with these defaults, we can always add a new builtin scheme - just let us know how Arduino conventions are different from LLVM.

0

Please sign in to leave a comment.