In general, the checkstyle module should be considered authoritative. All of our IDE integration is done best-effort by folks who use those IDEs.
So I'd be +1 on getting eclipse to match what we currently do via command line. IIRC, there's a section on the ref guide on using eclipse that we could update if we can't automate this for some reason. Any IntelliJ folks know if we have this same problem there? -busbey On Tue, Jul 3, 2018 at 1:44 PM, TAK-LON WU <[email protected]> wrote: > Hi guys, > > Recently I hit a `ImportOrder` failure with the autobuild checkstyle module > in branch-1, I cut a JIRA https://issues.apache.org/jira/browse/HBASE-20837 > for asking about the right import orders/layouts for master (or branch-1). > > beside that, I'm wondered if this is a checkstyle problem for > master/branch-2 as well? > > btw this is the proposed import order in eclipse format aligning with > checkstyle > in master branch > <https://github.com/apache/hbase/blob/master/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml> > > > #Organize Import Order > > 5=org.apache.hadoop.hbase.shaded > > 4=org.apache.hbase.thirdparty > > 3=javax > > 2=java > > 1= > > 0=\# > > > Thanks, > Stephen
