trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avinash Dongre <>
Subject Re: Standardize on java code style
Date Thu, 07 Jun 2018 05:37:51 GMT
I have not seen the java code, is it maven based project ??

If java project is converted into gradle, then it has spotless plugin which while building
the code fixes the code style.



From: Venkat Muthuswamy <>
Sent: 04 June 2018 23:56:21
Subject: Standardize on java code style


Given that many contributors are touching same java files and using their own editors of choice,
it becomes difficult to review PRs when git reports large change when mismatch in tabs vs

Can we standardize on the java code style using the google java code style? There are plugins
for eclipse and IntelliJ IDEs.
We start using these on any new files we touch going forward.
GitHub - google/google-java-format: Reformats Java source ...<> google-java-format. google-java-format is a program that reformats Java source code
to comply with Google Java Style.. Using the formatter from the command-line ...

For eclipse, You can download the plugin jar and copy it to your eclipse/drop-ins folder.
Restart eclipse and then set your java formatter implementation to google-java-format in Window
> Preferences > Java > Code Style > Formatter > Formatter Implementation

Comments ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message