Related to this question about how to run go fmt
on save, but for me I have disabled go fmt
on save because I don't like the way it removes import statements while I am still working on the code.
I would like to run go fmt
on the file I have open when I want to from VS Code. Is there a way to do this?