Skip to content

Commit

Permalink
Preserve whitespace on format
Browse files Browse the repository at this point in the history
Fixes #128

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
  • Loading branch information
NikolasKomonen committed May 6, 2019
1 parent 71236d0 commit f475849
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,18 @@
"description": "Preserve empty content/whitespace in a tag.",
"scope": "window"
},
"xml.format.preservedNewlines": {
"type": "integer",
"enum": [
0,
1,
2,
3
],
"default": 2,
"description": "Preserve new lines that separate tags. The value represents the maximum number of new lines per section. A value of 0 removes all new lines.",
"scope": "window"
},
"xml.format.enabled": {
"type": "boolean",
"default": true,
Expand Down

0 comments on commit f475849

Please sign in to comment.