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
Hello! I've encountered a problem. I can’t find information anywhere on how to configure the formatting of empty lines. Do I understand correctly that now in SwiftFormat you can either clear all spaces in empty lines or not format them at all?
I have these settings--indent tab, --tabwidth 4,--trimwhitespace nonblank-lines and SwiftFormat simply ignores this nightmare:
Expected result (Ctrl+I in Xcode):
What do you think and what can you advise in this case? Thanx!
The text was updated successfully, but these errors were encountered:
I think this isn't supported at the moment - as you say the options are either to truncate blank lines or leave them alone. I'll consider this a feature request.
Thank you very much, I'll be waiting!
I think this is a relatively popular problem since many people have spaces and tabs highlighted. And also adding spaces on empty lines is the default behavior of Xcode.
Hello! I've encountered a problem. I can’t find information anywhere on how to configure the formatting of empty lines. Do I understand correctly that now in SwiftFormat you can either clear all spaces in empty lines or not format them at all?
I have these settings
--indent tab
,--tabwidth 4
,--trimwhitespace nonblank-lines
and SwiftFormat simply ignores this nightmare:Expected result (Ctrl+I in Xcode):
What do you think and what can you advise in this case? Thanx!
The text was updated successfully, but these errors were encountered: