Skip to content

docs: fix typos, remove obsolete version references, update add-ons links, and improve accuracy#370

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/fix-comments-in-review-thread
Draft

docs: fix typos, remove obsolete version references, update add-ons links, and improve accuracy#370
Copilot wants to merge 3 commits into
mainfrom
copilot/fix-comments-in-review-thread

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 24, 2026

Addresses unresolved review comments from PR #364 and applies the additional instruction to strip obsolete openHAB version numbers throughout the docs. Also improves accuracy and completeness based on reviewer feedback.

Changes

README.md

  • Fix typo: techologytechnology
  • Remove "designed with openHAB 2.x in mind" line
  • Fix image alt text: openHAB2 code snippetsopenHAB code snippets
  • Update supported file types in the intro to list all six formats: *.items, *.rules, *.sitemap, *.script, *.things, *.persist
  • Remove outdated "Integrated Paper UI preview for the Items and Things" feature (Paper UI was removed in v0.8.0)
  • Extend DSL syntax highlighting entry to include things and persist files
  • Update tree view entry to mention both Items and Things
  • Add "Copy name, label, and state of Items or Things directly from the tree view" to reflect copy commands in the extension

docs/USAGE.md

  • Section heading: openHAB 3 Rest APIopenHAB Rest API
  • Fix fulllfilfulfill, apiAPI
  • Strip version number from intro sentence: Since openHAB 3 (…) has been releasedSince openHAB (…)
  • Remove specific build/version strings from LSP section (openHAB 2.2.0 Build #1065, openHAB 2.2 since build #1084)
  • Rephrase API token section to highlight token authentication as the preferred method rather than framing it as extra steps
  • Rewrite LSP section concisely: the openHAB server exposes a language server on port 5007 by default; removed "no additional steps" sentence
  • Add a note after the remote access config about the known deprecation warning issue (#278) and its workaround (full reinstall of the extension)

CONTRIBUTING.md

  • Text: openHAB2 addonsopenHAB add-ons
  • Link text + URL: openHAB2 GitHub repository / openhab2-addonsopenHAB add-ons GitHub repository / openhab-addons

Copilot AI changed the title [WIP] Fix code for all comments in review thread docs: fix typos, remove obsolete version references, update add-ons links May 24, 2026
Copilot AI requested a review from pgfeller May 24, 2026 14:50
Comment thread docs/USAGE.md Outdated
#### openHAB Rest API

Since openHAB 3 (with its on default activated api authentication) has been released you have to fulllfil some additional steps to get a working connection.
Since openHAB (with its on default activated API authentication) you have to fulfill some additional steps to get a working connection.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formulate differently. Those are not additional steps. Higlight, that the API token is the prefered way to authenticate.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rephrased in commit 940e1fa — the section now opens with "API token authentication is the preferred way to connect the extension to openHAB" and frames the steps as setup instructions rather than required extra work.

Comment thread docs/USAGE.md Outdated
Language servers allow you to add your own validation logic to files open in VS Code.
openHAB from version `openHAB 2.2.0 Build #1065` (SNAPSHOT) has the Language Server exposed on `5007` port.
openHAB 2.2 since build #1084 has LSP feature enabled in the runtime, so there are no additional steps for you to make it work.
openHAB has the Language Server exposed on `5007` port.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain in a short, but concice way that the server exposes a language server on port 5007 by default. Remove the section that explains that no additional configuration is necessary.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in commit 940e1fa — the section now reads: "The openHAB server exposes a language server on port 5007 by default, which the extension uses for syntax validation and content assist." The "no additional steps" sentence has been removed.

Comment thread docs/USAGE.md
Although, you can access the Items and Things through the REST API.
Note that LSP (content assist for rules and syntax validation) won't be exposed, so you'll need to disable it too.

The following configuration will allow you to access REST API remotely:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check known issue #278, and include the workarround - and that a warning will be shownn

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in commit 940e1fa — a note block immediately after the remote access config snippet explains that a deprecation warning for openhab.username/openhab.password may appear even without explicitly setting those values, links to issue #278, and gives the workaround (full reinstall of the extension).

Comment thread README.md Outdated
[openHAB](http://www.openhab.org) is a vendor and techology agnostic open source automation software for your home. This [Visual Studio Code](https://code.visualstudio.com) extension allows you to work with openHAB configuration files (like `*.items`, `*.rules`, `*.sitemap` and `*.script`) thanks to the syntax highlighting, code snippets and integrated search.

The extension is designed with openHAB 2.x in mind - most snippets and design patterns will work in openHAB 2.x
[openHAB](http://www.openhab.org) is a vendor and technology agnostic open source automation software for your home. This [Visual Studio Code](https://code.visualstudio.com) extension allows you to work with openHAB configuration files (like `*.items`, `*.rules`, `*.sitemap` and `*.script`) thanks to the syntax highlighting, code snippets and integrated search.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the source code for limitations - as this is not supported for all languages.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in commit 940e1fa — the intro now lists all six supported file types explicitly: *.items, *.rules, *.sitemap, *.script, *.things, *.persist (matching the languages entry in package.json and the documentSelector in LocalLanguageClientProvider.ts), removing the "like … and" framing that implied an incomplete list.

Comment thread README.md
Copilot AI changed the title docs: fix typos, remove obsolete version references, update add-ons links docs: fix typos, remove obsolete version references, update add-ons links, and improve accuracy May 24, 2026
Copilot AI requested a review from pgfeller May 24, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants