Hi,

      I checked the formatting template and import order for eclipse.
Everything looks great except following couple of things:
1. Statements within switch body indentation should be set to true. So that
we get something like this:
    switch (a) {
      case 0:
        Other.doFoo();
        break;
      default:
        Other.doBaz();
    }

   Vs this:
    switch (a) {
    case 0:
      Other.doFoo();
      break;
    default:
      Other.doBaz();
    }

2. I think we can disable line and block comment auto-formatting in my
opinion. Otherwise it results in extra line wrapping on cntrl+shift+F
 Like this:
    inputPort.put("optional", false); // input port that is not annotated
is default to be not optional
becomes:
inputPort.put("optional", false); // input port that is not
                                                 // annotated is default to
be not
                                                 // optional

3. The import order has static imports at the top, but in other thread on
import order it was mentioned that static imports would be at the bottom.
Whichever one is finalized :)

Thanks!
Isha

On Mon, Sep 28, 2015 at 10:40 PM, Sandesh Hegde <[email protected]>
wrote:

> I have not used this before. Is there a getting started guide or something
> ?
>
> On Mon, Sep 28, 2015 at 6:20 PM Chandni Singh <[email protected]>
> wrote:
>
> > Thank you so much. The configurations for IDE and Eclipse are checked in
> > here:
> >
> >
> https://github.com/chandnisingh/incubator-apex-core/tree/APEX-151/misc/ide-templates
> >
> > I guess netbeans is not popular ;-)
> >
> > Chandni
> >
> > On Mon, Sep 28, 2015 at 6:08 PM, Isha Arkatkar <[email protected]>
> > wrote:
> >
> > > Hi Chandni,
> > >
> > >     I use eclipse, so I can test the style configuration for that.
> > >
> > > Thanks,
> > > Isha
> > >
> > > On Mon, Sep 28, 2015 at 6:04 PM, Chandni Singh <
> [email protected]>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I am going to add style configurations for the 3 popular IDEs-
> > > > 1. Intellij
> > > > 2. Eclipse
> > > > 3. Netbeans
> > > >
> > > > I need help with creating the configuration for Netbeans and
> volunteers
> > > to
> > > > test the configurations that I created for Intellij and Eclipse.
> > > >
> > > > Please do let me know.
> > > >
> > > > Thanks,
> > > > Chandni
> > > >
> > >
> >
>

Reply via email to