Open Clashsoft opened 4 years ago
This is the only library I found: https://github.com/editorconfig/editorconfig-core-java
Unfortunately, it is not properly released to maven.
This library looks like a good alternative: https://github.com/ec4j/ec4j
Generated classes should respect
.editorconfig
on a basic level. That includes:indent_style
andindent_size
end_of_line
andinsert_final_newline
charset
This feature will allow developers to have a consistent code style without having to reformat after every codegen.
Other style choices, such as the placement of braces, spacing around operators, etc., are not covered by the editorconfig standard and may be supported later.