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 defined ~ as infix method so I can write things like:
3* x~2
Unfortunately, Scalafmt reformats this as 3 * x ~ 2.
To keep the code formatted as I like, it'd be nice to have a configuration spaces.neverAroundInfixOperators similar to the existing spaces.neverAroundInfixTypes.
Note: Scala combinators also use ~ as an infix operator and have examples such as: