You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen some issues about alignment (eg #161 and #176) and I wanted to propose an other option to align comments, such as:
val x = 2 // note the = align, see #176
val fx = f(x).head // the need only the first element
But then, I thought it'd be simpler to have an option such that scalariform only assert there are enough spaces (eg: one before and one after =), but let additional ones that the coder chose to write.
The same goes for additional blank lines.
Tell me if I can be of any help, or some hint on where to look in your code.
The text was updated successfully, but these errors were encountered:
I think you'd need switches in the handling of CompactEnsuringGap and CompactPreservingGap, and append the existing whitespace tokens instead of the " " literals.
I have seen some issues about alignment (eg #161 and #176) and I wanted to propose an other option to align comments, such as:
But then, I thought it'd be simpler to have an option such that scalariform only assert there are enough spaces (eg: one before and one after =), but let additional ones that the coder chose to write.
The same goes for additional blank lines.
Tell me if I can be of any help, or some hint on where to look in your code.
The text was updated successfully, but these errors were encountered: