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

add multiline for bindingconfig only #12

Closed CWempe closed 4 years ago

CWempe commented 4 years ago

Just discovered this nice extension.

But I am missing one feature.

Format item configurations like this:

image

Basically everything is in one line. But the bindingconfig (in {}) should be broken into multiple lines to not exceed the screen.

maxbec commented 4 years ago

Thanks for the input. Is saw this format the first time right now and i have to admit that i really like it. It's on the feature list.

maxbec commented 4 years ago

Feature added in the latest version. Here ist the commit: 8cc5215944156de742304c7b786c9ae14b468775