Skip to content

Commit

Permalink
Fixes eclipse-vorto#857. Removes line wraps before property descripti…
Browse files Browse the repository at this point in the history
…on and add two after.

Signed-off-by: Simon Pizonka <simon@pizonka.de>
  • Loading branch information
Ebolon committed Apr 12, 2018
1 parent b450015 commit d8e1e06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ generated-sources
*.orig

devtool-project-repository/

.idea
*.iml
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)
}
}

0 comments on commit d8e1e06

Please sign in to comment.