702 views
in Getting started by
Does EW have a code formatter? Or recommend a online formatter? Some of my code formatting is pretty poor, and I don't have a easy way to auto format it, any advice would be massively appreicated!

1 Answer

0 votes
by
Hello,

No, there is no code formatter.

If your question refers the generated C code, you are free to use any formatters suitable for this purpose. However, we consider the generated code as an intermediate format not primarily intended to be read by human. So we do not see any meaningful necessity to reformat the code.

If you refer to the Chora code, then I see it as problematic. First at all you would need to program a formatter, which can understand Chora. Since there is no integration in EmWi for such formatters, you would need to invoke it separately.

Best regards

Paul Banach
by
Yes, I was referring to the Chora code! Ok, thats disappointing, I was hoping for a quick fix...

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...