sysml-v2-lsp 0.36.0 → 0.38.0

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "sysml-v2-lsp",
3
3
  "displayName": "SysML v2 Language Server",
4
4
  "description": "Language Server Protocol implementation for SysML v2, powered by ANTLR4",
5
- "version": "0.36.0",
5
+ "version": "0.38.0",
6
6
  "publisher": "JamieD",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -96,6 +96,40 @@
96
96
  "default": [],
97
97
  "description": "Diagnostic codes to suppress, such as missing-doc. Changes apply to open documents immediately."
98
98
  },
99
+ "sysml.experimental.validateText.enabled": {
100
+ "scope": "window",
101
+ "type": "boolean",
102
+ "default": false,
103
+ "markdownDescription": "Experimental: answer the custom `sysml/validateText` request, which validates SysML text against the workspace model without opening a document or publishing diagnostics. The request is meant for tools that generate or edit SysML text."
104
+ },
105
+ "sysml.experimental.validateText.maxDocuments": {
106
+ "scope": "window",
107
+ "type": "integer",
108
+ "minimum": 1,
109
+ "default": 5,
110
+ "markdownDescription": "Experimental: the most documents one `sysml/validateText` request may validate. Requests with more are rejected."
111
+ },
112
+ "sysml.experimental.validateText.maxLines": {
113
+ "scope": "window",
114
+ "type": "integer",
115
+ "minimum": 1,
116
+ "default": 200,
117
+ "markdownDescription": "Experimental: the most lines of code one document's text may have in a `sysml/validateText` request. Requests with a longer text are rejected. Character limits also apply."
118
+ },
119
+ "sysml.experimental.validateText.maxCharacters": {
120
+ "scope": "window",
121
+ "type": "integer",
122
+ "minimum": 1,
123
+ "default": 8192,
124
+ "markdownDescription": "Experimental: the most characters (UTF-16 code units) per document in a `sysml/validateText` request. Checked before parsing, including for single-line text."
125
+ },
126
+ "sysml.experimental.validateText.maxTotalCharacters": {
127
+ "scope": "window",
128
+ "type": "integer",
129
+ "minimum": 1,
130
+ "default": 16384,
131
+ "markdownDescription": "Experimental: the most characters (UTF-16 code units) across all documents in a `sysml/validateText` request. Checked before parsing."
132
+ },
99
133
  "sysml.maxNumberOfProblems": {
100
134
  "scope": "resource",
101
135
  "type": "number",