Skip to content

Commit

Permalink
Fixes eclipse#857 - Removes line wraps before property description
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Pizonka <simon@pizonka.de>
  • Loading branch information
Ebolon committed Apr 12, 2018
1 parent d0ea579 commit ac87625
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,9 @@ class DatatypeFormatter extends AbstractDeclarativeFormatter {
c.setNoSpace().after(f.propertyAccess.commaKeyword_5_3_0)

c.setNoSpace().before(f.enumAccess.commaKeyword_11_1_0)

//Property description
c.setNoLinewrap().before(f.propertyAccess.descriptionAssignment_7)
c.setLinewrap(2).after(f.propertyAccess.descriptionAssignment_7)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,8 @@ class FunctionblockFormatter extends AbstractDeclarativeFormatter {
c.setNoSpace().before(f.operationAccess.commaKeyword_4_1_0)
c.setLinewrap(1).after(f.operationAccess.commaKeyword_4_1_0)

//Property description
c.setNoLinewrap().before(f.propertyAccess.descriptionAssignment_7)
c.setLinewrap(2).after(f.propertyAccess.descriptionAssignment_7)
}
}

0 comments on commit ac87625

Please sign in to comment.