Skip to content

Fix xml editor - #47

Open
victornoel wants to merge 4 commits into
ncjones:masterfrom
victornoel:fix-xml-editor
Open

Fix xml editor#47
victornoel wants to merge 4 commits into
ncjones:masterfrom
victornoel:fix-xml-editor

Conversation

@victornoel

Copy link
Copy Markdown

Closes #41 by setting xml editor indent size to 1 when using tabs.

This replaces #42 and I also cherry-picked the commit of #45. Si they can both be closed when this is merged.

I also used the latest version of editorconfig-core-java.

victornoel and others added 2 commits June 9, 2018 18:12
mapped tab_width with:

 - tabWidth (org.eclipse.ui.editors)
 - org.eclipse.jdt.core.formatter.tabulation.size (org.eclipse.jdt.core)
 - formatter_tab_size (org.eclipse.ant.ui)

mapped indent_size with:

 - indentationSize (org.eclipse.wst.xml.core)
 - org.eclipse.jdt.core.formatter.indentation.size
(org.eclipse.jdt.core)

@ncjones ncjones left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At a glance this looks fine. I'll try to do some testing today or tomorrow. Can you add a test for this scenario?

@victornoel

Copy link
Copy Markdown
Author

@ncjones how am I expected to test this? There is no test at all for the visitor, and even if there were, what could I test exactly? Sorry I'm a bit lost there :)

@ncjones

ncjones commented Jun 17, 2018 via email

Copy link
Copy Markdown
Owner

@victornoel

Copy link
Copy Markdown
Author

@ncjones perfect, I didn't see it because I didn't get imported into eclipse with the other projects. Any reason why it's not part of the multi-module parent project?

@victornoel

Copy link
Copy Markdown
Author

@ncjones check latest commits.

@victornoel

Copy link
Copy Markdown
Author

@ncjones ping ? :)

@victornoel

Copy link
Copy Markdown
Author

@ncjones maybe you have more time now? ;) thanks!

@Riduidel

Riduidel commented Feb 5, 2020

Copy link
Copy Markdown

Can anybody merge this branch which is two years old ?

@JacksonBailey

Copy link
Copy Markdown
Contributor

@ncjones Hey, any chance we can get this merged and a new version deployed? If you're busy can we make our own version and publish it to Eclipse marketplace? Thanks :)

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.

XML Editor behaves incorrectly when using tabs and indent_size other than 1

5 participants