Releases: openhab/openhab-vscode
Releases · openhab/openhab-vscode
openHAB VS Code Extension 0.3.0
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 APIpaperPath
- defaults topaperui
. Change it toui
if you're using openHAB build from before 9th Jan 2017paperInBrowser
- if set totrue
, will open Paper UI in a browser instead of VSCode windowlspEnabled
- iftrue
, will enable communication with openHAB's Language Server. Note thatmisc-lsp
add-on needs to be installed.lspPort
- defaults to5007
, 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
Installation
This extension is available on the Visual Studio Marketplace -> https://marketplace.visualstudio.com/items?itemName=openhab.openhab
You can also install it manually:
- Download
openhab-0.3.0.vsix
on your hard drive - Open command line in the same folder you downloaded the extension
- Type the following command:
code --install-extension openhab-0.3.0.vsix
This version will override the previous one.
- Open Visual Studio Code
- Open openhab configuration (
openHAB-conf
) folder as your workspace - Open user settings (
Ctrl/Cmd + Shift + S
) and set"openhab.host"
to your openHAB IP address - Enjoy! ;-)
openHAB VS Code Extension 0.2.0
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:
- Download
openhab-0.2.0.vsix
on your hard drive - Open command line in the same folder you downloaded the extension
- Type the following command:
code --install-extension openhab-0.2.0.vsix
This version will override the previous one.
- Open Visual Studio Code
- Open openhab configuration (
openHAB-conf
) folder as your workspace - Open user settings (
Ctrl/Cmd + Shift + S
) and set"openhab.host"
to your openHAB IP address - Enjoy! ;-)
openHAB VS Code Extension 0.1.0
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:
- Download
openhab-0.1.0.vsix
on your hard drive - Open command line in the same folder you downloaded the extension
- Type the following command:
code --install-extension openhab-0.1.0.vsix
This version will override the previous one.
- Open Visual Studio Code
- Open openhab configuration (
openHAB-conf
) folder as your workspace - Enjoy! ;-)
openHAB VS Code Extension 0.0.2
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:
- Download
openhab-0.0.2.vsix
on your hard drive - Open command line in the same folder you downloaded the extension
- Type the following command:
code --install-extension openhab-0.0.2.vsix
This version will override the previous one.
- Open Visual Studio Code
- Open openhab configuration (
openHAB-conf
) folder as your workspace - Enjoy! ;-)
VS Code becomes openHAB-enabled!
Installation
This extension is not available in the Marketplace yet.
However, you can install it manually:
- Download
openhab-0.0.1.vsix
on your hard drive - Open command line in the same folder you downloaded the extension
- Type the following command:
code --install-extension openhab-0.0.1.vsix
- Open Visual Studio Code
- Open openhab configuration (
openHAB-conf
) folder - Enjoy! ;-)