359 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

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...