-
Notifications
You must be signed in to change notification settings - Fork 148
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 whitespace. #146
Fix whitespace. #146
Conversation
LGTM (I'm probably going to merge soon but first I want to check how long it takes to run PRs against projects that use scalariform) |
Please mention in the commit message that it fixes #149 |
Refer to this link for build results (access rights to CI server needed): |
…tLine and PlaceScaladocAsterisksBeneathSecondAsterisk are true. Fixes scala-ide#147 .
6aca0f5
to
04e7e34
Compare
Updated commit message - although this fixes #147 :) |
Refer to this link for build results (access rights to CI server needed): |
Ok, thanks. |
Refer to this link for build results (access rights to CI server needed): |
Will this be merged soon? It's one of the most annoying bugs we've run into when using Scalariform, and I'd love it if the next release had it fixed. |
The blockers at the moment are all regression testing related. If you'd like to speed up the next release, have a look in Milestone 1.0 and see if you can help. Critical is that new features don't change old behaviour. The tickets contain more discussion. |
I was wondering about blockers for merging this - but I'm happy to look at blockers for the release, too! |
I shall refer all merging to @sschaef |
Awesome, thank you! I'll keep a watch on the milestone tag for areas I can contribute. |
The changes this issue fixes are minor, anyone can easily solve them in their repo. Therefore I'm merging then I don't have to care about it anymore. We are still not near a new release but the snapshots can be consumed, they are hosted on sonatype (but only the one for scalariform, the scalariform-sbt plugin still is not published as a snapshot). |
This fixes a long-standing bug in how comments get formatted if you have the suggested Scaladoc style enabled (both
MultilineScaladocCommentsStartOnFirstLine
andPlaceScaladocAsterisksBeneathSecondAsterisk
set totrue
). Note the unit test commit, which fails on master.This manifested if you had > 1 space leading a scaladoc comment. The worst part was that the formatting would only remove one space at a time - meaning each subsequence scalariform run deleted one additional space.