Loading plugins/org.etsi.mts.tdl.TDLan2/src/org/etsi/mts/tdl/formatting2/TDLan2Formatter.xtend +6 −0 Original line number Diff line number Diff line Loading @@ -65,7 +65,9 @@ class TDLan2Formatter extends AbstractFormatter2 { } def dispatch void format(PackageableElement p, extension IFormattableDocument document) { p.prepend[newLine] p.allRegionsFor.keyword(';').append[newLine] p.append[newLine] interior( p.regionFor.keyword('{').append[newLine], Loading Loading @@ -132,6 +134,10 @@ class TDLan2Formatter extends AbstractFormatter2 { [indent] ) e.regionFor.keyword('uses').prepend[newLine].surround[indent] if (!e.testObjective.empty) { e.testConfiguration.append[newLine] e.regionFor.keyword('test').prepend[newLine].surround[indent] } if (e.behaviourDescription !== null) { e.behaviourDescription.behaviour.format } Loading Loading
plugins/org.etsi.mts.tdl.TDLan2/src/org/etsi/mts/tdl/formatting2/TDLan2Formatter.xtend +6 −0 Original line number Diff line number Diff line Loading @@ -65,7 +65,9 @@ class TDLan2Formatter extends AbstractFormatter2 { } def dispatch void format(PackageableElement p, extension IFormattableDocument document) { p.prepend[newLine] p.allRegionsFor.keyword(';').append[newLine] p.append[newLine] interior( p.regionFor.keyword('{').append[newLine], Loading Loading @@ -132,6 +134,10 @@ class TDLan2Formatter extends AbstractFormatter2 { [indent] ) e.regionFor.keyword('uses').prepend[newLine].surround[indent] if (!e.testObjective.empty) { e.testConfiguration.append[newLine] e.regionFor.keyword('test').prepend[newLine].surround[indent] } if (e.behaviourDescription !== null) { e.behaviourDescription.behaviour.format } Loading