I can only assume it’s because of this.
Can you try running VS Code on the openHAB host, or try using a shared folder? I know those configs will work, and may more easily help to determine the cause of the issue.
I can only assume it’s because of this.
Can you try running VS Code on the openHAB host, or try using a shared folder? I know those configs will work, and may more easily help to determine the cause of the issue.
FYI, I opened an issue for the inline validation issue.
https://github.com/eclipse/smarthome/issues/6430
That’s the problem. Obviously it only works on shared folders. I’ll open a change request. But the inline validation works for me even on shared folder.
What build are you running? It worked up until around September 20.
I’m running with 2.3.0 Stable Release
Hi,
was starting yesterday with VS code. installed the version 0.4.1 from marketplace.
code validation is NOT working using \\openhabpi\openhab240\conf e.g.
code validation is working using X: for mentioned samba share.
Fix for VS Code when using Samba share. by mhilbush · Pull Request #6463 · eclipse-archived/smarthome · GitHub seems to be merged into 0.4.1 …
Don’t know if
https://github.com/eclipse/smarthome/issues/6430
was about the my issue or about “never working via SMB share” ?!? ![]()
BR/
Peter
The xtext upgrade from a while back broke samba shares, which had worked prior to the upgrade. My change fixed it for paths specified using a drive letter, but not for a UNC paths. I’m not sure how to fix it for UNC paths.
Hi Mark,
created
https://github.com/eclipse/smarthome/issues/6892
to help newbies to ease the start using VS code with OH
BR/
Peter
…and closed issue again. ![]()
there is already an issue:
https://github.com/eclipse/smarthome/issues/6611
even the docs for editors stating:
Attention Windows users: Directly accessing network shares (UNC paths) is often not supported. Please be sure to mount the network share to a drive letter
→ not easy for beginners and not hassle-free but everything okay now