SOQL Formatter enhancement

Issue #764 resolved
Aliaksandr Luferau created an issue

Hello Scott. Will be good a option to automatically wrap a list of fields in SOQL to multiple lines if it will be longest that right margin. As for example for JS array initializer "wrap if long" - see attached pic: wrap_if_long.png

Comments (2)

  1. ruiter.gripp

    +1
    Would love to see the “wrap if long” option in Apex Code Style. Not only for SOQL, but for method params as well.

  2. Scott Wells repo owner

    While not a formatter enhancement, there is already a code intention (activated by Alt/Opt+Enter) that will allow you to place each SELECT item on its own line (or all of them on a single line) to accomplish the same goal.

  3. Log in to comment