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

Tab and space alignment correction #1572

Merged
merged 10 commits into from
Dec 6, 2018
Merged

Conversation

MacKLess
Copy link
Collaborator

@MacKLess MacKLess commented Oct 12, 2018

Fixes #1294

This forces alignment to use tabs when indicated or defaults to spaces.

If you look at this line in the js.test file (https://github.com/beautify-web/js-beautify/pull/1572/files#diff-e21e76a3df495fbbe325a76d7e3431eaR368), you'll see that what was originally 7 spaces, is now processed as a tab + 3 spaces.

This is a breaking change that will affect people who use any of the "aligned" options; however, this is correct functionality.

@MacKLess MacKLess changed the title Tab wrap Tab and space alignment correction Oct 12, 2018
@bitwiseman
Copy link
Member

This is I highly requested feature.
Now that we've released 1.8.7, I'm willing to start a v1.8.8-alpha series to let people give it a try.

@bitwiseman bitwiseman merged commit b2a4313 into beautifier:master Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants