Xcode seems to be going crazy and inserts whitespaces everywhere just after saving any file.
Auto indent seems to fix it, but right after saving, all the whispaces come back.
Any idea on how to work around this?
Really wish I didn't have to add trailing_whitespace
to the ignore list of the .swiftlint.yml
file.
I already had it on, wonder if something is acting up. I didn't have this problem before today.
Auto indent (ctrl + i) introduces trailing whitespaces in lines, and "automatically trim trailing whitespaces" do not trigger on auto indent. You have to select all content in your file, cut and paste it again before saving to trigger an "edit"
Most helpful comment