right at the end kubo offers a fix and a zip file but even recently with the extension downloaded through VScode the problem exists. I must admit somehow I skipped seeing that zip and will give it a go in a few days (vacation) and update my initial post with the outcome.
first, thank you very much for this awesome Add-On, its really easy and stylish to use!
One Issue: I’ve installed it on my PC and it worked out of the box. Then I installed Visual Code and downloaded the plugin the same way like on my PC (hostname still openhabianpi). On the PC (Windows 7) it worked with BasicUI integration in VS Code but on my Laptop (W10) there comes a notification “unable to open ‘ohpi’: resource is not available.”
I thought its a Windows 10 Problem and as long as it would work on the PC I thought its ok for me. But after a few hours now I tried it again at my PC and the same error occurs.
I connected the openHAB-conf network-folder to a drive-letter on both computers an opened the conf-folders in VS Code. I couldnt find this error on the webs, does someone has the same problem or any solution?
I have been using the extension without trouble until just recently. The THINGS and ITEMS are no longer populating on the left side menu. Not sure what I did…
I’m using extension v0.4.0. Sintax highlighting is working fine and I get the items and things lists working fine. Autocompletion… could be better but is almost fine. The problem is with the LSP, I can’t get “Problems” window working.
I realised there is always a cope of errors in the output window whenever I open VS Code
[Error - 5:58:39 PM] Connection to server is erroring. Shutting down server.
[Error - 5:58:39 PM] Connection to server is erroring. Shutting down server.
But LSP is enabled and working in the RaspPi running OpenHAB 2.3 Release on a non-raspbian OS
In the openHAB VS Code Extension documentation I read this:
but I access my openhab through localhost, and localhost:8080 is where my OpenHAB is accesible from my Mac… In fact before 0.4.0 sitemap view used to work fine from VSCode. What would be the proper setting for Mac to get LSF working?
Wow, this setting finally makes VS Code work now with all features on my windows machine, thank you very much @Udo_Hartmann !
Where is that port (5007) documented ? Could not find that info in the docs?