Skip to content

Commit b083998

Browse files
committed
Add settings to ignore unassigned property warnings
See eclipse-lsp4mp/lsp4mp#145 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 3e83a2f commit b083998

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ Default is `none`.
5656
* `microprofile.tools.validation.expression.severity` : Validation severity for property expressions for MicroProfile `*.properties` files.
5757
Default is `error`.
5858
* `microprofile.tools.validation.unknown.severity` : Validation severity for unknown properties for MicroProfile `*.properties` files. Default is `warning`.
59-
* `microprofile.tools.validation.unknown.excluded` : Array of properties to ignore for unknown properties validation. Patterns can be used ('*' = any string, '?' = any character).
59+
* `microprofile.tools.validation.unknown.excluded` : Array of properties to ignore for unknown properties validation. Patterns can be used ('\*' = any string, '?' = any character).
6060
Default is `["*/mp-rest/providers/*/priority", "mp.openapi.schema.*", "kafka-streams.*", "camel.*"]`.
6161
* `microprofile.tools.codeLens.urlCodeLensEnabled` : Enable/disable the URL code lenses for REST services. Default is`true`.
6262
* `microprofile.tools.validation.value.severity`: Validation severity for property values for MicroProfile `*.properties` files. Default is `error`.
63+
* `microprofile.tools.validation.unassigned.excluded`: Array of properties to ignore for unassigned properties validation in Java files. Patterns can be used ('\*' = any string, '?' = any character).
6364

6465
### **Note for MicroProfile Rest Client properties**:
6566

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-microprofile",
33
"displayName": "Tools for MicroProfile",
44
"description": "Language Support for Eclipse MicroProfile",
5-
"version": "0.3.1",
5+
"version": "0.4.0",
66
"icon": "icons/logo.png",
77
"author": "Red Hat",
88
"publisher": "redhat",
@@ -192,6 +192,16 @@
192192
"description": "Array of properties to ignore for unknown MicroProfile properties validation. Patterns can be used ('*' = any string, '?' = any character)",
193193
"scope": "window"
194194
},
195+
"microprofile.tools.validation.unassigned.excluded": {
196+
"type": "array",
197+
"default": [
198+
],
199+
"items": {
200+
"type": "string"
201+
},
202+
"description": "Array of properties to ignore for unassigned MicroProfile properties validation. Patterns can be used ('*' = any string, '?' = any character)",
203+
"scope": "window"
204+
},
195205
"microprofile.tools.codeLens.urlCodeLensEnabled": {
196206
"type": "boolean",
197207
"default": true,

0 commit comments

Comments
 (0)