+1 What Bruce said. On Thu, Jun 9, 2016 at 12:24 PM, Bruce Schuchardt <bschucha...@pivotal.io> wrote:
> +1 > I have no preference but would like them to be the same > > > Le 6/9/2016 à 11:24 AM, Udo Kohlmeyer a écrit : > >> I really don't have a preference in regards to import formatting, as long >> as Eclipse and Intellij do the same thing. >> >> --Udo >> >> >> On 10/06/2016 3:54 am, Kirk Lund wrote: >> >>> Sorry this is such a mess. Please vote on how you want it to work and >>> then >>> after everyone finishes voting, I'll update both to be the same as each >>> other. >>> >>> -Kirk >>> >>> >>> On Thu, Jun 9, 2016 at 10:53 AM, Kirk Lund <kl...@pivotal.io> wrote: >>> >>> The Eclipse formatter has now been updated to match the IntelliJ >>>> formatter >>>> as closely as possible. Below is detailed descriptions of the changes: >>>> >>>> 1) rename Eclipse formatter Profile Name from GemFire to Geode >>>> >>>> 2) update Organize Imports to following order: >>>> >>>> all unmatched static imports >>>> <blank line> >>>> java imports >>>> <blank line> >>>> javax imports >>>> <blank line> >>>> all unmatched type imports >>>> <blank line> >>>> batterytest.* (hydra) >>>> <blank line> >>>> cacheRunner.* (hydra) >>>> <blank line> >>>> hydra.* (hydra) >>>> <blank line> >>>> parReg.* (hydra) >>>> <blank line> >>>> perffmwk.* (hydra) >>>> <blank line> >>>> com.gemstone.* (geode/gemfire code) >>>> <blank line> >>>> com.vmware.gemfire.* (geode/gemfire code) >>>> <blank line> >>>> io.pivotal.geode.* (geode/gemfire code) >>>> >>>> (each of the above groups are separated by one blank line -- this is >>>> same >>>> as before) >>>> >>>> The changes to the IntelliJ formatter: >>>> >>>> 1) rename IntelliJ formatter from gemfireCodeStyleScheme to >>>> geodeCodeStyleScheme >>>> >>>> 2) update Import Layout to following order: >>>> >>>> Import static all other imports >>>> <blank line> >>>> import java.* >>>> import javax.* >>>> <blank line> >>>> import all other imports >>>> <blank line> >>>> import batterytest.* >>>> import cacheRunner.* >>>> import hydra.* >>>> import parReg.* >>>> import perffmwk.* >>>> <blank line> >>>> import com.gemstone.* >>>> import com.vmware.gemfire.* >>>> import io.pivotal.geode.* >>>> >>>> I prefer the IntelliJ import layout, BUT I couldn't perfectly control >>>> where the <blank lines> are inserted in the Eclipse formatter. >>>> Apparently >>>> every block of related imports just automatically gets surrounded by a >>>> <blank line>. >>>> >>>> Should we import <blank line> between every block in IntelliJ to match >>>> Eclipse? >>>> >>>> -Kirk >>>> >>>> >>>> >> >