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

"Show in PaperUI - Command" should verify simple mode #118

Closed Confectrician closed 5 years ago

Confectrician commented 5 years ago

If a have debugged it correctly, editing items in paper ui only works when the simple mode is deactivated and items are available in paper ui by navigation.

This results in an empty page if we try to show an item in paper ui through vscode.

Possible solution: Check /rest/services/org.eclipse.smarthome.links/config, when an item is choosen within this command and only try to open it, when the auto linking feature is disabled.

Also push a meaningful notification to the user and inform him about the possibility (and risks) of deactivating the simple mode.

Confectrician commented 5 years ago

Got a working version running locally and will add it to the 0.4.1 release after beta testing.

Confectrician commented 5 years ago

Adressed in #117