openhab / openhab-vscode

VS Code extension for openHAB configuration files
https://marketplace.visualstudio.com/items?itemName=openhab.openhab
Eclipse Public License 2.0
159 stars 47 forks source link

Check for restApi setting before opening the items/things explorer #120

Closed Confectrician closed 4 years ago

Confectrician commented 5 years ago

Currently it is possible to open the items/things tab even if rest api is deactivated by configuration. In this case the tab gets opened but simply doesnt show anything.

We should add the tab button anyway, but provide a warning message which tells why there are no items or things visiblen and that it is possible to show them by activating the rest api feature.

Confectrician commented 4 years ago

Solved in #154