what eclipse version are u using?

I have ganymed 
Version: 3.4.1
Build id: M20080911-1700
x86_64
and the following options:

insert NL after annotations on members
insert NL after annotations on parameters
insert NL after annotations on local variables

LieGrue,
strub


--- Gurkan Erdogdu <[email protected]> schrieb am Sa, 17.1.2009:

> Von: Gurkan Erdogdu <[email protected]>
> Betreff: Eclipse Formatting
> An: [email protected]
> Datum: Samstag, 17. Januar 2009, 11:15
> Hi;
> 
> Is there anyway to define correct indentation for the
> annotated method parameters? Currently when eclipse
> formatter is run, the method with annotated parameters  are 
> looking so badly;
> 
> For example, 
> 
>  public IService getService(@Binding1 IService service) 
> 
>  This method is formatted to
> 
>  public IService getService(@Binding1
>     IService service)
> 
> when the formatter is run.
> 
> When I was looking the eclipse formatter configuration,
> there is a "New Line" tab in the formatter wizard
> but it has 2 choice, 1* new line 2* not new line. But I want
> to mix together. When I use the annotation on the class or
> method level, I want to use choice 1 otherwise choice 2.
> 
> Is there any way for this?
> 
> Thanks;
> 
> /Gurkan



Reply via email to