LSP not working

none
Tags: #<Tag:0x00007fe06b466920>

(Rolf) #1

Dear all

I don’t get the error correction / highlighting of errors (red waved lines below code, I guess) in my openhab files working. I have set the settings.json as follows:

{
    "openhab.host": "openhabianpi",
    "openhab.port": 8080,
    "openhab.lspPort": 5007
}

What do I miss here?

Any help is much appreciated

Best regards
rolf


(Rolf) #2

one amendment: for .js files the error correction/indication seems to work. For rules, items etc. nothing is showing up.


(Rossko57) #3

When VSC tries and fails to connect to openHAB LSP, you should get this message
[Error - 11:49:50 AM] Connection to server is erroring. Shutting down server.


(Rolf) #4

Dear all

I got it working, however don‘t know why. In any case many thanks for the hints.

Best regards
Rolf


(Allen) #5

how did you get it working ?
add it to the tread so that if some one els might come up with the problem there is information available .