Eclipse can't be told to respect such formatting, but you can force the
issue with trailing // comments:

fooBuilder() //
  .withKetchup() //
  .withMayonaise() //
  .andLikeThat();

It's not pretty, but I don't think there is anything else you can do.

On Mon, Aug 30, 2010 at 11:26 AM, Nick Chalko <[email protected]> wrote:

>
>
> On Mon, Aug 30, 2010 at 11:18 AM, Scott Blum <[email protected]> wrote:
>
>> Will our Eclipse formatter settings respect this?  Or will it auto-format
>> such a construct into something else?
>>
>>
> I have not tested the eclipse formatter.
>
> --
> Generate you java flags for easier testing.
> go/java_flags <https://goto.google.com/java_flags>
> <https://goto.google.com/java_flags>
>
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to