[HowTo?] What setting should be used to prevent removing spaces before arithmetic signs

Answered

Editor automatically from the line
NumPins - 1 - Pins_Distance * a - i
makes this line
NumPins-1-Pins_Distance*a-i

This is inconvenient in the "Pins_Distance*a" part since a "sticks" to Pins_Distance.

Is there any solution?

0
1 comment

It is intended in gofmt formatter (Go default formatter). Please see https://groups.google.com/g/golang-nuts/c/PbJ1uTbhFDY for details.

0

Please sign in to leave a comment.