Fix typos and openHAB capitalization (#259)

Signed-off-by: Wouter Born <github@maindrain.net>
pull/260/head
Wouter Born 2021-04-09 20:45:20 +02:00 committed by GitHub
parent a6939ae847
commit cac19605e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View File

@ -41,6 +41,6 @@ Use file attachment for log and config information longer than a few lines -->
## Your Environment
<!-- Include as many relevant details about the environment you experienced the bug in -->
* Version used: (e.g., openhab, vscode and extension versions)
* Version used: (e.g., openHAB, vscode and extension versions)
* Environment name and version (e.g. Chrome 39, node.js 5.4, Java 8, ...):
* Operating System and version (desktop or mobile, Windows 10, Raspbian Jessie, ...):

View File

@ -36,7 +36,7 @@ We pass the function containing the implementation of the command as the second
- `snippets` provides autopcompletion snippets which add predefined templates in the editor
- `meta` holds some metadata like the langauage definition that is needed for syntax highlighting
- `meta` holds some metadata like the language definition that is needed for syntax highlighting
- `.azure-pipelines` holds the configuration we are using for our *continous integration*.
You can find our builds and artifacts on <https://dev.azure.com/openhab/vscode-openhab/_build?definitionId=2>

View File

@ -56,7 +56,7 @@ export class LocalLanguageClientProvider {
}
// Create the language client and start the client.
const lc = new LanguageClient("openhabLanguageServer", "Openhab Language Server", serverOptions, clientOptions)
const lc = new LanguageClient("openhabLanguageServer", "openHAB Language Server", serverOptions, clientOptions)
return lc.start()
}

View File

@ -218,11 +218,11 @@ export class UpdateNoticePanel {
</tr>
<tr>
<td><code>openhab.remoteLspEnabled</code></td>
<td><code>openhab.langauageserver.remoteEnabled</code></td>
<td><code>openhab.languageserver.remoteEnabled</code></td>
</tr>
<tr>
<td><code>openhab.remoteLspPort</code></td>
<td><code>openhab.langauageserver.remotePort</code></td>
<td><code>openhab.languageserver.remotePort</code></td>
</tr>
</tbody>
</table>

View File

@ -61,7 +61,7 @@ class ItemCompletionProvider {
let item
switch (event.type) {
case 'ItemStateEvent':
// called when openhab reaceives an item state. There is also ItemStateChangedEvent, that only notifies you about changes
// called when openHAB receives an item state. There is also ItemStateChangedEvent, that only notifies you about changes
// however the ItemStateChangedEvent is more or less the same as the ItemStateEvent for the change so we do not need to read both
item = this.items.get(itemName)
if (item) {

View File

@ -267,7 +267,7 @@
"sumSince": {
"prefix": "sumSince",
"body": "${1:Item}.sumSince(${2:AbstractInstant})",
"description": "<item>.sumSince(AbstractInstant) - Retrieves the sum of the previous states since a certain point in time. (OpenHab 1.8)"
"description": "<item>.sumSince(AbstractInstant) - Retrieves the sum of the previous states since a certain point in time. (openHAB 1.8)"
},
"concurrency guard": {