Skip to content

splitAttributes keeps first attribute on same line#161

Merged
NikolasKomonen merged 1 commit into
eclipse-lemminx:masterfrom
NikolasKomonen:splitAttributesFix
Oct 12, 2018
Merged

splitAttributes keeps first attribute on same line#161
NikolasKomonen merged 1 commit into
eclipse-lemminx:masterfrom
NikolasKomonen:splitAttributesFix

Conversation

@NikolasKomonen

@NikolasKomonen NikolasKomonen commented Oct 11, 2018

Copy link
Copy Markdown
Contributor

@alesso-x

alesso-x commented Oct 11, 2018

Copy link
Copy Markdown

@NikolasKomonen thanks for fixing this issue so quickly! I just have one question about the PR. I noticed in the test testSplitAttributes that the first attribute is on the same line as the element. In the issue I submitted redhat-developer/vscode-xml#59 I was only concerned about elements with one attribute not being moved. Would it be possible to keep the existing behavior when there are multiple attributes on a element with the first attribute starting on a new line? Thanks again!

@NikolasKomonen

NikolasKomonen commented Oct 12, 2018

Copy link
Copy Markdown
Contributor Author

@alessandrodimarco sure, I just wasn't sure what people preferred so this will be fine.

Fixes redhat-developer/vscode-xml#59

Signed-off-by: Nikolas Komonen <nikolaskomonen@gmail.com>
@angelozerr

Copy link
Copy Markdown
Contributor

@NikolasKomonen can I merge it?

@NikolasKomonen

Copy link
Copy Markdown
Contributor Author

@angelozerr yup, ill do it.

@NikolasKomonen NikolasKomonen merged commit 0d0dbaa into eclipse-lemminx:master Oct 12, 2018
@NikolasKomonen NikolasKomonen deleted the splitAttributesFix branch October 12, 2018 16:52
@NikolasKomonen NikolasKomonen added this to the v0.0.2 milestone Oct 12, 2018
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