Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preference to enable validation #100

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
NikolasKomonen marked this conversation as resolved.
Show resolved Hide resolved
},
Expand Down