Skip to content

Add XML Schema version settings #170

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ The following settings are supported:
Since 0.8.0:
* `xml.codeLens.enabled`: Enable/disable XML CodeLens. Default is `false`.
* `xml.symbols.excluded`: Disable document symbols (Outline) for the given file name patterns. Updating file name patterns does not automatically reload the Outline view for the relevant file(s). Each file must either be reopened or changed, in order to trigger an Outline view reload.
* `xml.validation.schemaVersion`: Set the XML Schema version to use. Defaults to `1.0`.

More detailed info in the [Wiki](https://github.com/redhat-developer/vscode-xml/wiki/Preferences).

Expand Down
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,17 @@
"description": "Enable/disable schema based validation. Ignored if \"xml.validation.enabled\": false.",
"scope": "window"
},
"xml.validation.schemaVersion": {
"type": "string",
"enum": [
"1.0",
"1.1",
"1.0EX"
],
"default": "1.0",
"description": "The XML Schema version to use.",
"scope": "window"
},
"xml.symbols.enabled": {
"type": "boolean",
"default": true,
Expand Down