Formatter on/off tags?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Formatter on/off tags?

Erwin Mueller
Hello,
does Groovy-Eclipse plugin ignores the auto formatter on/off tags? Because I
wanted to deactivate auto-format for large arrays:

        // @formatter:off
        def input = [
            [phase: Phase.threeHalf, gauge: gaugeMin, denominators: [60, -12,
3, -3, 15, 3, -3, 5,]],
            [phase: Phase.threeHalf, gauge: gaugeMin, denominators: [60, -12,
3, -3, 15, 3, -3, 11,]],
            [phase: Phase.threeHalf, gauge: gaugeC, denominators: [42, 5,]],
            [phase: Phase.zero, gauge: gaugeGrad, denominators: [0, 9, -3, 3,
-3, 3, -3, 3, -3, 3,]],
            [phase: Phase.threeHalf, gauge: gaugeOne, denominators: [0,]],
        ]
        def results = [5.00000141, 5.00000005, 1.86310859, 89.977989729,
4.481689070,]
        // @formatter:on

But the auto-formatter still wraps around the long arrays. Is that feature
implemented in Groovy-Eclipse Feature version 2.9.2.xx-201503271659-e44?

Regards, Erwin.

--
Erwin Müller - [hidden email]
Software Entwickler - (+49)  01577-9505569
Pgp - https://pgp.mit.edu/pks/lookup?op=get&search=0x02E820911DD910FD
Meine Seite - http://www.mueller-public.de/
ANRI - http://www.anr-institute.com/

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Formatter on/off tags?

Andy Clement
I don’t think groovy eclipse supports those formatter tags.

cheers,
Andy

> On May 6, 2015, at 3:11 AM, Erwin Müller <[hidden email]> wrote:
>
> Hello,
> does Groovy-Eclipse plugin ignores the auto formatter on/off tags? Because I
> wanted to deactivate auto-format for large arrays:
>
>        // @formatter:off
>        def input = [
>            [phase: Phase.threeHalf, gauge: gaugeMin, denominators: [60, -12,
> 3, -3, 15, 3, -3, 5,]],
>            [phase: Phase.threeHalf, gauge: gaugeMin, denominators: [60, -12,
> 3, -3, 15, 3, -3, 11,]],
>            [phase: Phase.threeHalf, gauge: gaugeC, denominators: [42, 5,]],
>            [phase: Phase.zero, gauge: gaugeGrad, denominators: [0, 9, -3, 3,
> -3, 3, -3, 3, -3, 3,]],
>            [phase: Phase.threeHalf, gauge: gaugeOne, denominators: [0,]],
>        ]
>        def results = [5.00000141, 5.00000005, 1.86310859, 89.977989729,
> 4.481689070,]
>        // @formatter:on
>
> But the auto-formatter still wraps around the long arrays. Is that feature
> implemented in Groovy-Eclipse Feature version 2.9.2.xx-201503271659-e44?
>
> Regards, Erwin.
>
> --
> Erwin Müller - [hidden email]
> Software Entwickler - (+49)  01577-9505569
> Pgp - https://pgp.mit.edu/pks/lookup?op=get&search=0x02E820911DD910FD
> Meine Seite - http://www.mueller-public.de/
> ANRI - http://www.anr-institute.com/


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email