GoSublime icon indicating copy to clipboard operation
GoSublime copied to clipboard

goimports Does Not Run on Save

Open bobhancock opened this issue 6 years ago • 0 comments

Sublime Text Version: 3.2.1 Ubuntu 18.04.2 LTS

GoSublimer.sublime-settings: { "env": { "GOPATH": "/home/rwh/go", "GOROOT": "/usr/local/go" }, "fmt_cmd": ["goimports"], }

/home/rwh/go/bin is in the $PATH

which goimports /home/rwh/go/bin/goimports

goimports runs from the command line.

I inserted the new reducer you references #914 and the results of goimports-test are:

[ goimports-test | done ] 2019/04/13 21:25:53.337186 fixImports(filename="/opt/sublime_text/view@18,mg.NewReducerfuncmxmg.Ctxmg.State/"), abs="/opt/sublime_text/view@18,mg.NewReducerfuncmxmg.Ctxmg.State/", srcDir="/opt/sublime_text/view@18,mg.NewReducerfuncmxmg.Ctxmg.State" ... [ /opt/sublime_text/ ] # [ ~/go/src/zarc/ ] #

What is the next step to debug?

bobhancock avatar Apr 14 '19 01:04 bobhancock