Skip to content

openHAB VS Code Extension 0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@kubawolanin kubawolanin released this 15 Nov 08:44
485c18d

What's new

  • Introduced openHAB Things Explorer view in the sidebar!
    • Create Items directly from Thing's channels.
    • Quick copy name and Thing UID directly from the sidebar
    • Quick access to the binding documentation
  • Insert into Sitemap feature in the openHAB Items view
  • Various Language Server Protocol fixes
  • New configuration parameters:
    • restCompletions - toggles completions from REST API
    • paperPath - defaults to paperui. Change it to ui if you're using openHAB build from before 9th Jan 2017
    • paperInBrowser - if set to true, will open Paper UI in a browser instead of VSCode window
    • lspEnabled - if true, will enable communication with openHAB's Language Server. Note that misc-lsp add-on needs to be installed.
    • lspPort - defaults to 5007, custom LSP port parameter (#42)
  • Fixed "switch" icon coloring (#18)
  • "Set openHAB host" button on error message (#42)
  • Breaking change: openhab.port parameter is now a number (e.g. 8080 instead of "8080").
    Please change it in your settings after upgrade.

Things Explorer Demo

things

Installation

This extension is available on the Visual Studio Marketplace -> https://marketplace.visualstudio.com/items?itemName=openhab.openhab

You can also install it manually:

  1. Download openhab-0.3.0.vsix on your hard drive
  2. Open command line in the same folder you downloaded the extension
  3. Type the following command:
code --install-extension openhab-0.3.0.vsix

This version will override the previous one.

  1. Open Visual Studio Code
  2. Open openhab configuration (openHAB-conf) folder as your workspace
  3. Open user settings (Ctrl/Cmd + Shift + S) and set "openhab.host" to your openHAB IP address
  4. Enjoy! ;-)