Skip to content

Commit

Permalink
Client-side preference to turn off document symbols
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
  • Loading branch information
NikolasKomonen authored and fbricon committed Jun 5, 2019
1 parent ef91528 commit a1293cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ The following settings are supported:

Since 0.7.0:
* `xml.java.home`: Set the Java path required to run the XML Language Server. If not set, falls back to either the `java.home` preference or the `JAVA_HOME` or `JDK_HOME` environment variables.
* `xml.symbols.enabled`: Enable/disable document symbols (Outline). Default is `true`.


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

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,12 @@
"default": true,
"description": "Enable/disable schema based validation. Ignored if \"xml.validation.enabled\": false.",
"scope": "window"
},
"xml.symbols.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable document symbols (Outline). No symbols are given if `\"xml.symbol.enabled\": false`.",
"scope": "window"
}
}
},
Expand Down

0 comments on commit a1293cb

Please sign in to comment.