maxbec / openHAB-Alignment-Tool

This extension adds support for formatting and indenting openHAB files. At the moment only the item-files are supported.
https://marketplace.visualstudio.com/items?itemName=max-beckenbauer.oh-alignment-tool
Eclipse Public License 2.0
21 stars 4 forks source link

Groups get unnecessary brackets #58

Closed CWempe closed 3 years ago

CWempe commented 3 years ago

I think Groups are not handled correctly.

Example:

Group gTest

Result:

Group  gTest  {}

The brackets are inserted by the addon and I guess they will produce an error in openHAB. (did not test this)

v2.1.4