Running OH3 in a docker on Synology (learn environment)
When I edit in VSC the settings.json file the syntax checker is working.
When editing rules, items, etc VSC is not reporting errors.
How can I check this? With karaf?
I’m also running OH2.5 native on my Synology
openhab.port to 8080.
openhab.remoteLspPort: 5007
OH3 in docker on same Synology
openhab.port to 9080.
openhab.remoteLspPort: 5008
Any idea how to get LSP working?
Just out of curiosity:
How long did you not close vscode or reboot/shutdown your PC before this?
I can read frequently about problems with vscode and the extension due to a long time usage without closing it and maybe we should try to refresh some parts of the extension on a scheduled base.
This usage behavior occurs way more often than i would have expected in the past.
So we should indeed think about how we can catch errors caused by this and refresh the lsp/rest api connections from time to time.
I had the same issue just again. The PC was suspended. This time was only closing VSC enough to get LSP working again. Maybe you can check the PC resume event.