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
JuliaFormatter doesn't remove whitespace in multi-line strings (where it is semantically significant), nor in comments. This is two related, but potentially distinct asks:
Removing trailing whitespace in comments. Not entirely sure what the rationale is for not removing it in comments by default? Regardless, feels like minimally there should be an option for it.
Opt-in option for removing the semantically significant whitespace in multi-line strings. Theoretically, that whitespace is significant, but in practice it almost never is, and can be stripped (in fact, that might be preferred -- being significant, that whitespace might actually cause bugs). When used in a project that consistently enforce the formatter, this should never cause issues with this changing the program's behavior.
The gripe that motivates this feature request for me is that JuliaFormatter isn't fully consistent with the Trim Trailing Whitespaces functionality in VS Code, and it's often quite annoying to fix up the leftover whitespace from other PRs that JuliaFormatter didn't catch.
JuliaFormatter doesn't remove whitespace in multi-line strings (where it is semantically significant), nor in comments. This is two related, but potentially distinct asks:
The gripe that motivates this feature request for me is that JuliaFormatter isn't fully consistent with the
Trim Trailing Whitespaces
functionality in VS Code, and it's often quite annoying to fix up the leftover whitespace from other PRs that JuliaFormatter didn't catch.X-ref: #351
The text was updated successfully, but these errors were encountered: