diff --git a/docs/Validation.md b/docs/Validation.md index 1fd24c4d..33f5bcd2 100644 --- a/docs/Validation.md +++ b/docs/Validation.md @@ -548,10 +548,15 @@ By default, vscode-xml uses this default validation filter: ```json "xml.validation.filters": [ + // Ignore no grammar hint and disable XSD validation for *.exsd Eclipse files. { "pattern": "**.exsd", - "enabled": false + "noGrammar": "ignore", + "schema": { + "enabled": "never" + } }, + // Ignore no grammar hint for Eclipse files like .project { "pattern": "**{.project,.classpath,plugin.xml,feature.xml,category.xml,.target,.product}", "noGrammar": "ignore" diff --git a/package.json b/package.json index 2d390d5b..158238fd 100644 --- a/package.json +++ b/package.json @@ -534,7 +534,10 @@ "default": [ { "pattern": "**.exsd", - "enabled": false + "noGrammar": "ignore", + "schema": { + "enabled" : "never" + } }, { "pattern": "**{.project,.classpath,plugin.xml,feature.xml,category.xml,.target,.product}",