Skip to content

Add new formatting setting xml.format.splitAttributesIndentSize#386

Merged
angelozerr merged 1 commit intoredhat-developer:masterfrom
datho7561:only-one-tab
Dec 23, 2020
Merged

Add new formatting setting xml.format.splitAttributesIndentSize#386
angelozerr merged 1 commit intoredhat-developer:masterfrom
datho7561:only-one-tab

Conversation

@datho7561
Copy link
Copy Markdown
Contributor

Add a new setting which controls the level of indentation of attributes
with respect to their parent element when xml.format.splitAttributes
is set to true.

Based off of a comment by Cong Wang (@I322871) on the vscode-xml Gitter

Signed-off-by: David Thompson davthomp@redhat.com

@datho7561
Copy link
Copy Markdown
Contributor Author

Please see the server side changes: eclipse-lemminx/lemminx#952

Comment thread docs/Formatting.md Outdated
Comment thread package.json Outdated
@datho7561 datho7561 changed the title Add new formatting setting xml.format.numberOfIndentsForSplitAttributes Add new formatting setting xml.format.splitAttributesIndentSize Dec 23, 2020
@datho7561
Copy link
Copy Markdown
Contributor Author

datho7561 commented Dec 23, 2020

  • Rename commit

Comment thread package.json Outdated
@angelozerr
Copy link
Copy Markdown
Contributor

@datho7561 the new xml.format.splitAttributesIndentSize must be added in the README too

Comment thread package-lock.json Outdated
Comment thread README.md Outdated
Add a new setting which controls the level of indentation of attributes
with respect to their parent element when `xml.format.splitAttributes`
is set to `true`.

Based off of a comment by Cong Wang (@I322871) on the vscode-xml Gitter

Signed-off-by: David Thompson <davthomp@redhat.com>
@angelozerr angelozerr merged commit f64634c into redhat-developer:master Dec 23, 2020
@angelozerr
Copy link
Copy Markdown
Contributor

Thanks @datho7561 !

@angelozerr angelozerr added this to the 0.15.0 milestone Dec 23, 2020
@datho7561 datho7561 deleted the only-one-tab branch January 18, 2021 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants