openhab / openhab-vscode

VS Code extension for openHAB configuration files
https://marketplace.visualstudio.com/items?itemName=openhab.openhab
Eclipse Public License 2.0
159 stars 47 forks source link

Problems never refresh after modification of file. #208

Closed psyciknz closed 3 years ago

psyciknz commented 4 years ago

When looking in VSCode the rule file doesn't seem to re-evaluate any issues found after they have been corrected. image

image This rule I copied from an existing rule, and altered the code. But now the problems never seem to refresh. Which means I actually gain very little benefit from using VScode as it doesn't add verification for me.

Or is there a way of forcing validation on the open editor?

Your Environment

I do have a rest connection to the openhab server though as it can resolve items for me. But it doesn't like when I add new items, I'm not sure how to force a refresh of the rest api.

Thats most likely what is causing my validation issues.

(e.g., openhab, vscode and extension versions)

Wikibear commented 4 years ago

LSP works without any problem at Linux OS. Using Mint. Same settings with windows and i get the same issue. Via Windows i don't get any syntax check. I must close VSC and after opening error check working short. I can fix then the errors nothing happens. Problems will not refreshed and won't gone. After restart VSC problems gone. I can remember that this works without problems and after some updates of VSC or openhab it doesn't work again.

Wikibear commented 3 years ago

@psyciknz can you check please if it's work now? I doesn't change anything and today it's working again.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 14 days waiting for Feedback. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 years ago

This issue was closed because it has been stalled for 7 days with no activity.