If it matters, I've been writing code for many years, but I'm only now exploring golang and vscode at the same time.
On my Linux box, I installed vscode (1.56.2) and the golang plugin (0.25.1).
I've been stepping through some simple golang tutorials, and I noticed a curious thing that happened when I saved a file I had edited.
This is the line I had:
out = append(out, base + v)
When I saved it, it went to this:
out = append(out, base+v)
It removed the spaces around the "+" operator. I went searching through the vscode and golang extension settings, and I found almost nothing about what it will do on save.
In fact, in Settings, I have "Format On Save" UNchecked.
So, what is doing this, and why? Do I have any ability to configure this?