bvaradar commented on issue #1208: [HUDI-304] Bring back spotless plugin URL: https://github.com/apache/incubator-hudi/pull/1208#issuecomment-573503869 @leesf: >>> Currently, when using "Reformat Code" and "Optimize Imports" in IntelliJ, the checkstyle would not pass, e.g. after reformatting the Indentation is 4 instead of 2, so it will fail. Seems like it has already happened before? Few months back, IIRC, apart from one caveat related indentation for deep nesting fields (You can look at checkstyle-suppressions.xml, everything else used to be consistent between IntelliJ (Reformat/Optimize Imports) and checkstyle. I am pretty sure it got changed in the last few months. You can try Hudi 0.4.6/0.4.7 release branch. One of the biggest issue has been if we do Optimize Import, compilation fails due to checkstyle settings. Can this be made consistent ? Also, From the hudi website, https://hudi.incubator.apache.org/newsite-content/contributing#ide-setup, we mention : "[Recommended] We have embraced the code style largely based on google format. Please setup your IDE with style files from here. These instructions have been tested on IntelliJ." Is this still true given the changes we have done in checkstyle settings ? If checkstyle settings is not consistent with google format, then we need to fix the documentation and provide a intellij settings xml file.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
