Fluent API code formatting in Netbeans 7.2 beta

I always missed a way to format Fluent API code blocks in Netbeans properly.

In Netbeans 7.1 at last there was an option to set the wrapping for chained method calls via:
Preferences: Editor -> Language: Java -> Category: Wrapping

Netbeans 7.1

Netbeans 7.2

Netbeans 7.2 now offers an additional option to choose whether the wrapping should take place:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.