Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goimports Does Not Run on Save #925

Open
bobhancock opened this Issue Apr 14, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@bobhancock
Copy link

bobhancock commented Apr 14, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.