[Editors] Add LSP to VS Code section (#550)
* Added Marketplace link.\n Corrected image alt tag.\nImproved installation section to marketplace install.\nAdded section about rule validation with a link to the vscode repo readme file. Signed-off-by: Jerome Luckenbach <github@luckenba.ch> * Added list item 0 in the installation instructions Signed-off-by: Jerome Luckenbach <github@luckenba.ch> * Correct list marker Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)pull/553/head
parent
4a51317763
commit
77afb85cea
|
@ -19,25 +19,25 @@ This documentation page can give you some guidance in choosing the right one for
|
||||||
## openHAB VS Code Extension
|
## openHAB VS Code Extension
|
||||||
|
|
||||||
openHAB VS Code is an extension for the [Visual Studio Code](https://code.visualstudio.com) editor.
|
openHAB VS Code is an extension for the [Visual Studio Code](https://code.visualstudio.com) editor.
|
||||||
|
You can find it in the [Microsoft Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=openhab.openhab).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
1. Download the latest release from [openhab-vscode](https://github.com/openhab/openhab-vscode/releases)
|
1. Install [Visual Studio Code](https://code.visualstudio.com/Download) if not yet available.
|
||||||
2. Install the extension with one of the following methods
|
2. Open the extension sidebar. 
|
||||||
- Open command line in the same folder you downloaded the extension
|
3. Search for openHAB and install the extension.
|
||||||
Type the following command:
|
|
||||||
```shell
|
|
||||||
code --install-extension openhab-0.0.2.vsix
|
|
||||||
```
|
|
||||||
- Go to the extensions area and install the extension like showed in the screenshot:
|
|
||||||

|
|
||||||
|
|
||||||
Currently openhab-vscode isn't yet listed in [Microsoft Visual Studio Marketplace](https://marketplace.visualstudio.com/vscode), but the contributors are working on it already.
|
|
||||||
|
|
||||||
[Visit the Extensions GitHub Page for further Informations](https://github.com/openhab/openhab-vscode/blob/master/README.md "GitHub Repo for the VS Code Extension")
|
[Visit the Extensions GitHub Page for further Informations](https://github.com/openhab/openhab-vscode/blob/master/README.md "GitHub Repo for the VS Code Extension")
|
||||||
|
|
||||||
|
### Rule Validation
|
||||||
|
|
||||||
|
This extension has the ability to check rules and validate them through a so called `Language Server`.
|
||||||
|
(If youn want to know more about this in general look [here](https://langserver.org/).)
|
||||||
|
The validation needs a running openHAB installation in your environment and can be activated with some simple steps.
|
||||||
|
You can find all important information in the extensions [readme file](https://github.com/openhab/openhab-vscode#validating-the-rules).
|
||||||
|
|
||||||
{: #esh-designer}
|
{: #esh-designer}
|
||||||
## Eclipse SmartHome Designer
|
## Eclipse SmartHome Designer
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 34 KiB |
Binary file not shown.
After Width: | Height: | Size: 325 B |
Loading…
Reference in New Issue