Skip to content

Commit

Permalink
Preference to enable/disable validation or schema (#100)
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Komonen <[email protected]>
  • Loading branch information
NikolasKomonen authored Jan 28, 2019
1 parent fdee161 commit 6180853
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"description": "Specifies extra VM arguments used to launch the XML Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector",
"scope": "window"
},
"xml.problems.noGrammar": {
"xml.validation.noGrammar": {
"type": "string",
"enum": [
"ignore",
Expand All @@ -176,6 +176,19 @@
"default": "hint",
"description": "The message severity when a document has no associated grammar.",
"scope": "window"
},
"xml.validation.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable all validation.",
"scope": "window"
}
,
"xml.validation.schema": {
"type": "boolean",
"default": true,
"description": "Enable/disable schema based validation. Ignored if \"xml.validation.enabled\": false.",
"scope": "window"
}
}
},
Expand Down

0 comments on commit 6180853

Please sign in to comment.