Skip to content

Commit

Permalink
Preference to enable/disable validation or schema
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Komonen <[email protected]>
  • Loading branch information
NikolasKomonen committed Jan 25, 2019
1 parent bf81ad9 commit a7ee844
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 a7ee844

Please sign in to comment.