Hi all,
I’m experiencing an issue where the DSL syntax reporting and item validation stopped ( I think) working in VS Code (v1.96.x / Extension v1.17.1). It was working perfectly before, and I haven’t changed my workspace structure or settings.
The symptoms:
-
No syntax error reporting in
.rulesor.itemsfiles. -
The extension seems to ignore the IP address in my
.code-workspacefile.
The logs: In the Language Server output, I see the following error: Error: getaddrinfo ENOTFOUND openhabianpi
What I’ve tried:
-
Verified my
.code-workspacesettings:"openhab.connection.host": "192.168.100.50"is set. -
Checked Global/User settings to ensure no override to
openhabianpiexists. -
Verified “Workspace Trust” is enabled for the folder.
-
Restarted VS Code and used “Developer: Reload Window” multiple times.
-
Confirmed the REST API is reachable via the browser at the specified IP.
Even though my workspace specifies the IP address, the extension still tries to resolve the default openhabianpi hostname. Has anyone else seen this behavior in the recent update, or is there a new setting I’m missing?
Thanks in advance for the help!