Skip to content

Releases: openhab/openhab-vscode

openHAB VS Code Extension 0.3.0

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

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! ;-)

openHAB VS Code Extension 0.2.0

20 Oct 17:32
Compare
Choose a tag to compare
Pre-release

What's new

  • Language Server Protocol support
  • You can now disable REST API connection
  • Updated logo icons
  • Better error handling
  • Fixed REST connection with Basic Authentication
  • Paper UI URL is now dynamically detected
  • More new snippets

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.2.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.2.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! ;-)

openHAB VS Code Extension 0.1.0

07 Jul 11:03
Compare
Choose a tag to compare
Pre-release

What's new

  • Completely new openHAB Items Explorer view in the sidebar!
    • Preview all of your items thanks to the REST API
    • Dynamic rules from the Items Explorer view - including the current state
    • Ability to copy Item's name and state
    • Clicking non-Group item opens it in the Paper UI by default
    • Note: Currently in VS Code stable Items Explorer is permanently visible. VS Code Insiders allows you to hide the tree view thanks to vscode#29436
  • Added Items autocompletion (with IntelliSense documentation) (#7)
  • Quick search in the Community Forum
  • Added icon theme

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.1.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.1.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. Enjoy! ;-)

openHAB VS Code Extension 0.0.2

21 Jun 19:34
Compare
Choose a tag to compare
Pre-release

What's new

  • openHAB host and port are now configurable through the user settings (#14)
  • Added "openhab.searchCommunity" action allowing to search selected text in the openHAB Community (#13)
  • Minor tweaks in the code and documentation (#6 #13)

Installation

This extension is not available in the Marketplace yet.
However, you can install it manually:

  1. Download openhab-0.0.2.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.0.2.vsix

This version will override the previous one.

  1. Open Visual Studio Code
  2. Open openhab configuration (openHAB-conf) folder as your workspace
  3. Enjoy! ;-)

VS Code becomes openHAB-enabled!

19 Jun 06:45
Compare
Choose a tag to compare
Pre-release

Installation

This extension is not available in the Marketplace yet.
However, you can install it manually:

  1. Download openhab-0.0.1.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.0.1.vsix
  1. Open Visual Studio Code
  2. Open openhab configuration (openHAB-conf) folder
  3. Enjoy! ;-)