builder-go
is a Linter provider that builds your go source code and allows you to see syntax or compilation errors. It depends on the following packages:
The following commands are run for the directory of the current file:
go install .
(for normal.go
files)go test -o {tmpdir} -c .
(for_test.go
files)
gocode
(and a few other tools, like gotype
) work on .a
files (i.e. the package object archive), and the way to keep these up to date is to run go install
periodically. This ensures your autocomplete suggestions are kept up to date without having to resort to gocode set autobuild true
🎉.
I'm open to suggestions for detecting a package which is built with gb; please feel free to submit a pull request that detects a gb package without any explicit configuration and runs it.