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 icons for rules, scripts, persistance files #205

Closed CWempe closed 4 years ago

CWempe commented 4 years ago

I just blindly implemented what @VWe1 posted in #198.

I did not test it, because I don't even know how to compile/build a vscode extension. 😄

(This time I signed off the commit)

Signed-off-by: Christoph Wempe cw-git@wempe.net (github: CWempe)

Confectrician commented 4 years ago

Hey @CWempe

Explaining how to buiidl and debug is a bit too much for here, but the changes you made where build into an artifact from our pipeline automatically.

See https://dev.azure.com/openhab/vscode-openhab/_build/results?buildId=106&view=artifacts&type=publishedArtifacts

You can download and install the vsix extension with your changes included for testing. :)

Azure devops links for builds can always be reachead through the "checks" tab of a pull request.

CWempe commented 4 years ago

@Confectrician Wow. That makes testing quiet easy compared to setting up my own developing enviroment. 😄

I had to fix two little errors in VWe1's example. But it looks good now.

image

image

image

Confectrician commented 4 years ago

Wow. That makes testing quiet easy compared to setting up my own developing enviroment. 😄

It isn't that difficult at all, since vscode briongs everything for developing extensions on its own. :) But that was one reason for me to get the pipeline running. I am planning to automatically publiosh the extension and maybe a beta one in the future.