Skip to content

Commit d400d25

Browse files
committed
Add new setting for property expression validation
You can now set the severity of diagnostics related to references to unknown properties using `microprofile.tools.validation.expression.severity`. Requires the server-side changes in eclipse-lsp4mp/lsp4mp#21 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 443aa99 commit d400d25

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,17 @@
161161
"markdownDescription": "Validation severity for property values for MicroProfile `*.properties` files.",
162162
"scope": "window"
163163
},
164+
"microprofile.tools.validation.expression.severity": {
165+
"type": "string",
166+
"enum": [
167+
"none",
168+
"warning",
169+
"error"
170+
],
171+
"default": "error",
172+
"markdownDescription": "Validation severity for property expressions for MicroProfile `*.properties` files.",
173+
"scope": "window"
174+
},
164175
"microprofile.tools.validation.unknown.excluded": {
165176
"type": "array",
166177
"default": [

0 commit comments

Comments
 (0)