Skip to content

Code styling seems inconsistent? #5075

@poikilotherm

Description

@poikilotherm

Dear all,

currently being active working on patches and stuff, I wondered about the style conventions you guys use and how I should write my code to be in line with your code of conduct. Example: indentation. I just found http://guides.dataverse.org/en/latest/developers/coding-style.html, which is not very precise/elaborated on that.

I would really enjoy something more sophisticated (like how you would like to see braces been set, etc)...

Also, there seem to be issues with different settings from different developers. An example from my IDEA IDE, showing the Maven pom.xml:
grafik
But I also saw indentation hell in some Java code files...

Maybe some tooling could help with this? E.g. CheckStyle, which can be configured as needed, starting with indentation and maybe add more stuff down the road? This is also available as simple to use Maven plugin...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions