Community
Participate
Working Groups
For the following grammar -------- Model: section+=Section*; Section: '[' name=ID ']' (params+=Param)*; Param: name=ID '=' foo=INT; -------- the formatting instruction --------- c.setLinewrap().after(f.getSectionRule()); --------- has no impact.
*** Bug 329150 has been marked as a duplicate of this bug. ***
*** Bug 334187 has been marked as a duplicate of this bug. ***
Is there some work around that do not include the modification of the grammar ?
You can always try to associate the formatting rules with the surrounding grammar elements.
I can confirm that this issue has been solved with one of the recent fixes (which are bug 341647, bug 339997 and bug 341797)