metafacture-core icon indicating copy to clipboard operation
metafacture-core copied to clipboard

Ensure consistent formatting of code and xml

Open dr0i opened this issue 5 years ago • 4 comments

There is no consistent formatting of code (and xml? etc.).

  • [ ] agree and document on how to format code
  • [ ] at best find a solution to ensure all the different IDEs use this code formatting
  • [ ] at least ship a template for eclipse users to use these formattings

dr0i avatar Sep 13 '19 09:09 dr0i

There is a .editorconfig since 9988ed377627aef60495a9ca9a2d4d26b5f78fbb. Look how to reuse this e.g. in eclipse.

dr0i avatar Oct 25 '19 11:10 dr0i

This is handled by https://github.com/metafacture/metafacture-core/pull/388. .editorconfig is supported widely, e.g. for codium. Closing.

dr0i avatar Sep 06 '21 08:09 dr0i

Thanks! Didn't know - and, admittedly, didn't check - there already was an issue for this.

blackwinter avatar Sep 06 '21 09:09 blackwinter

This came up again at https://github.com/metafacture/metafacture-core/pull/413#issuecomment-964011789 ff.

We'd have to look into code formatters, I suppose. (Spotless may be an option.)

dr0i avatar Nov 09 '21 12:11 dr0i