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'm having trouble reproducing this issue. It also doesn't make sense to me because the default behavior for SwiftFormat is to put spaces around * and / operators, which isn't happening in your example.
Are you using the command line tool or the Xcode extension? If it's the extension, note that the default behavior is to try and infer the configuration from the file unless you uncheck the "Infer Options Automatically" option in thew SwiftFormat for Xcode helper app.
Default config, xcode 16.2
let x = CGFloat(spellPosition.x)*w + w/2
let y = -CGFloat(spellPosition.y)*h-h/2
Top line is formated correctly bottom line goes from
let y = -CGFloat(spellPosition.y)*h - h/2
to the first one for no obvious reason.
Lint reports: spaceAroundOperators violation
The text was updated successfully, but these errors were encountered: