Skip to content

Commit

Permalink
Add 'xml.symbols.excluded' settings
Browse files Browse the repository at this point in the history
Fix redhat-developer#162

Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed Jul 3, 2019
1 parent f36ecdf commit f539c17
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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 given file name patterns. File name atterns updating doesn't reload automaticly the outline. It need to reload the outline or make a change in the document to trigger the reload.

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

Expand Down
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,16 @@
"default": true,
"description": "Enable/disable document symbols (Outline). No symbols are given if `\"xml.symbol.enabled\": false`.",
"scope": "window"
}
},
"xml.symbols.excluded": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Disable document symbols (Outline) for given file name patterns. File name atterns updating doesn't reload automaticly the outline. It need to reload the outline or make a change in the document to trigger the reload.\n\nExample:\n[\n \"**/*LargeFile.xml\"\n]",
"scope": "window"
}
}
},
"configurationDefaults": {
Expand Down

0 comments on commit f539c17

Please sign in to comment.