Open Olshansk opened 9 months ago
Still doesn't work with the vscode lps or configs, so I have to use the filewatcher command instead:
"filewatcher.commands": [
{
"match": "\\.go*",
"isAsync": true,
"cmd": "/Users/olshansky/go/bin/goimports-reviser -rm-unused -set-alias -format -output write ${file}",
"event": "onFileChange"
}
],
can you use it with vscode now?
Has anyone been able to successfully configure
vscode
to usegoimports-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
Attempt 2
Where
/Users/olshansky/workspace/configs/pocket/poktroll/vscode/goimports-reviser.sh
is:Meta Request: Please no suggestions to use a different editor.