@lapidist/dtif-language-server 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -8
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -65,9 +65,10 @@ start({ connection });
|
|
|
65
65
|
|
|
66
66
|
The language server reads optional workspace configuration under the `dtifLanguageServer` section.
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
|
70
|
-
|
|
|
68
|
+
<!-- prettier-ignore -->
|
|
69
|
+
| Setting | Type | Default | Description |
|
|
70
|
+
| --- | --- | --- | --- |
|
|
71
|
+
| `validation.mode` | `'on' \| 'off'` | `'on'` | Enables or suppresses schema diagnostics while keeping navigation indexes warm. |
|
|
71
72
|
|
|
72
73
|
Settings can be supplied by clients that implement [`workspace/configuration`](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_configuration) or via editor-specific configuration files.
|
|
73
74
|
|
|
@@ -97,11 +98,12 @@ Integration tests in `language-server/tests/` spin up the LSP over JSON-RPC stre
|
|
|
97
98
|
|
|
98
99
|
## Troubleshooting
|
|
99
100
|
|
|
100
|
-
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
|
104
|
-
|
|
|
101
|
+
<!-- prettier-ignore -->
|
|
102
|
+
| Symptom | Suggested action |
|
|
103
|
+
| --- | --- |
|
|
104
|
+
| Diagnostics do not appear | Confirm `validation.mode` is set to `'on'` and the client calls `textDocument/didOpen` for DTIF files. |
|
|
105
|
+
| Rename edits miss some files | Only documents opened by the client are available to the server. Ensure the editor loads relevant files before triggering rename. |
|
|
106
|
+
| Diagnostics do not reappear after toggling validation | Ensure the client re-requests configuration after edits. Some editors only refetch settings on save or focus changes. |
|
|
105
107
|
|
|
106
108
|
## License
|
|
107
109
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lapidist/dtif-language-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Language Server Protocol implementation for the Design Token Interchange Format (DTIF).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"prepack": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lapidist/dtif-parser": "1.0.
|
|
34
|
-
"@lapidist/dtif-schema": "1.0.
|
|
35
|
-
"@lapidist/dtif-validator": "1.0.
|
|
33
|
+
"@lapidist/dtif-parser": "1.0.6",
|
|
34
|
+
"@lapidist/dtif-schema": "1.0.6",
|
|
35
|
+
"@lapidist/dtif-validator": "1.0.6",
|
|
36
36
|
"jsonc-parser": "^3.3.1",
|
|
37
37
|
"vscode-languageserver": "^9.0.1",
|
|
38
38
|
"vscode-languageserver-textdocument": "^1.0.11"
|