Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions iii-lsp-vscode/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# III Language Server - VS Code Extension
# iii Language Server - VS Code Extension

Autocompletion, hover documentation, and diagnostics for [III engine](https://github.com/iii-hq/iii) functions and triggers.
Autocompletion, hover documentation, and diagnostics for [iii engine](https://github.com/iii-hq/iii) functions and triggers.

![III LSP demo](https://raw.githubusercontent.com/iii-hq/workers/main/iii-lsp-vscode/lsp.gif)
![iii LSP demo](https://raw.githubusercontent.com/iii-hq/workers/main/iii-lsp-vscode/lsp.gif)

## Supported Languages

Expand All @@ -18,7 +18,7 @@ Autocompletion, hover documentation, and diagnostics for [III engine](https://gi

To use a custom binary instead, set `iii-lsp.serverPath` to an existing executable path before activation.

2. **III engine** running locally (default: `ws://127.0.0.1:49134`)
2. **iii engine** running locally (default: `ws://127.0.0.1:49134`)

## Installation

Expand Down Expand Up @@ -86,9 +86,9 @@ After activation, `iii-lsp.serverPath` should point to the downloaded binary in
| Setting | Default | Description |
|---------|---------|-------------|
| `iii-lsp.serverPath` | `""` (auto-filled after first activation) | Path to the installed or custom `iii-lsp` binary |
| `iii-lsp.engineUrl` | `ws://127.0.0.1:49134` | WebSocket URL of the III engine |
| `iii-lsp.engineUrl` | `ws://127.0.0.1:49134` | WebSocket URL of the iii engine |

Configure via **Settings** > search "III LSP", or in `settings.json`:
Configure via **Settings** > search "iii LSP", or in `settings.json`:

```json
{
Expand Down
2 changes: 1 addition & 1 deletion iii-lsp-vscode/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function activate(context) {

client = new LanguageClient(
"iii-lsp",
"III Language Server",
"iii Language Server",
serverOptions,
clientOptions
);
Expand Down
24 changes: 19 additions & 5 deletions iii-lsp-vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "iii-lsp",
"displayName": "III Language Server",
"description": "Autocompletion and hover for III engine functions and triggers",
"displayName": "iii Language Server",
"description": "Autocompletion and hover for iii engine functions and triggers",
"version": "0.1.0",
"publisher": "iii-hq",
"engines": {
Expand All @@ -14,9 +14,12 @@
"onLanguage:rust"
],
"main": "./extension.js",
"categories": [
"Programming Languages"
],
"contributes": {
"configuration": {
"title": "III LSP",
"title": "iii LSP",
"properties": {
"iii-lsp.serverPath": {
"type": "string",
Expand All @@ -26,7 +29,7 @@
"iii-lsp.engineUrl": {
"type": "string",
"default": "ws://127.0.0.1:49134",
"description": "WebSocket URL of the III engine."
"description": "WebSocket URL of the iii engine."
}
}
}
Expand All @@ -35,7 +38,18 @@
"test": "node --test",
"package:check": "vsce package --out tmp.vsix && rm -f tmp.vsix"
},
"keywords": [],
"keywords": [
"iii",
"III",
"iii-lsp",
"III-lsp",
"iii language server",
"language server",
"lsp",
"autocomplete",
"hover",
"diagnostics"
],
"author": "",
"repository": {
"type": "git",
Expand Down
Loading