diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-09-10 09:59:06 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2026-09-10 09:59:06 -0700 |
| commit | 89cc18bf53ceb9302123bc22a5ad06353faef96f (patch) | |
| tree | a33d961fcf16aeb4c1e5c5dd17b13ebc29459abf /doc | |
| parent | d91cd7a07489c43bf922de246ec5f22f1b3874f3 (diff) | |
RPC Doc update from https://github.com/secondlife/sl-vscode-plugin/pull/136
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/external-editor-json-rpc.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/external-editor-json-rpc.md b/doc/external-editor-json-rpc.md index 570388ac7c..0c32c043fe 100644 --- a/doc/external-editor-json-rpc.md +++ b/doc/external-editor-json-rpc.md @@ -1806,6 +1806,17 @@ nothing" toggle. } ``` +```json +{ + "jsonrpc": "2.0", + "id": 8, + "result": { "success": true } +} +``` + +The extension implements `editor.show_message`. It accepts `level` values of `"info"`, +`"warn"`, or `"error"`; when omitted, `level` defaults to `"info"`. + --- ### CommandList @@ -1858,5 +1869,4 @@ interface CommandParamInfo { | Command | Required params | Description | |---------|----------------|-------------| -| `editor.open_file` | `path: string` | Open a file in the editor. Optional `line: number`. | | `editor.show_message` | `message: string` | Show a notification. Optional `level: "info" \| "warn" \| "error"`. | |
