HEADS-project / heads_ide

http://heads-project.eu
9 stars 2 forks source link

Generated code does not use indentation #47

Closed vladimirc closed 9 years ago

vladimirc commented 9 years ago

The generated code should follow the Java Programming Style Guide. For example the proper use of indentation, tabs and spacing.

brice-morin commented 9 years ago

I tend to agree, but:

Also, this comment is valid for all compilers, not just Java (I renamed the issue).

vladimirc commented 9 years ago

We need some prettyPrint just before it is written in to the source file. I guess that we can reuse some existing code or maybe there is something in Java PDE for that.

brice-morin commented 9 years ago

HEADS IDE (one of the basic Eclipse feature) supports automatic reformatting. I recommend to use that as post-processing after the code has been generated.