goimports-reviser
goimports-reviser copied to clipboard
Request for support with VSCode configuration
Has anyone been able to successfully configure vscode
to use goimports-reviser
?
I've tried both of the solutions below, but neither one does anything: no error, no changes, etc... Manually running attempt #2
from my CLI verifies that the binary is properly installed, but the goal is to have it be part of my IDE.
Attempt 1
"go.alternateTools": {
"customFormatter": "goimports-reviser"
},
Attempt 2
"go.alternateTools": {
"customFormatter": "/Users/olshansky/workspace/configs/pocket/poktroll/vscode/goimports-reviser.sh",
},
Where /Users/olshansky/workspace/configs/pocket/poktroll/vscode/goimports-reviser.sh
is:
/Users/olshansky/go/bin/goimports-reviser -rm-unused -set-alias -format -output write "$@"
Meta Request: Please no suggestions to use a different editor.