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

Universal/PrecisionAlignment: best guess tabs vs spaces when fixing #123

Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 29, 2022

Enhancement to minimize fixer conflicts/speed up fixer runs.

With this change, the fixer will check whether tab replacement has been done on the indent in the original token content and if so, the fixer will use tabs for the indent replacement instead of spaces.

Includes updated unit tests.
Includes minor test adjustment to ensure that tabs used for inline alignment (vs indent) are disregarded when determining whether tabs or spaces should be used by the fixer.

Enhancement to minimize fixer conflicts/speed up fixer runs.

With this change, the fixer will check whether tab replacement has been done on the indent in the original token content and if so, the fixer will use tabs for the indent replacement instead of spaces.

Includes updated unit tests.
Includes minor test adjustment to ensure that tabs used for inline alignment (vs indent) are disregarded when determining whether tabs or spaces should be used by the fixer.
@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Jul 29, 2022
@jrfnl jrfnl merged commit 906b06d into develop Jul 29, 2022
@jrfnl jrfnl deleted the universal/precisionalignment-improve-fixer-tabs-vs-spaces branch July 29, 2022 13:26
@jrfnl jrfnl changed the title WhiteSpace/PrecisionAlignment: best guess tabs vs spaces when fixing Universal/PrecisionAlignment: best guess tabs vs spaces when fixing Oct 13, 2022
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.

1 participant