Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix xml editor #47

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

victornoel
Copy link

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)
Copy link
Owner

@ncjones ncjones left a comment

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
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
Copy link
Owner

ncjones commented Jun 17, 2018 via email

@victornoel
Copy link
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
Author

@ncjones check latest commits.

@victornoel
Copy link
Author

@ncjones ping ? :)

@victornoel
Copy link
Author

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

@Riduidel
Copy link

Riduidel commented Feb 5, 2020

Can anybody merge this branch which is two years old ?

@JacksonBailey
Copy link
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