Releases: DisposaBoy/GoSublime
Disable gocode in go1.11
nsf/gocode is not enabled in go1.11.
Try migrating to GoSublime's development branch https://margo.sh/b/migrate/?_r=r18.07.22
just another update
v18.07.17 ann
Nothing new, just an announcement
v18.05.19
- Improve ligature support in the
GoSublime: Go
syntax
v18.04.30-1
- fix margo build failure in some cases when the go compiler is up/down-graded
v18.04.19-1
- fix margo build failure when
use_gs_gopath
is enabled
v18.03.26-1
- update gocode
- fix gocode completion showing duplicate function parameter names
- add support for restricting the files in which events are triggered
- (hopefully) fix an issue where some users were experiencing laggy input
v18.03.23-1
-
GOPATH is automatically set to the internal GOPATH when editing margo source files
this allows for things like linters and gocode to work when editingmargo.go
-
margo is now only automatically restarted if
go test
succeeds
this further supports linters by not restarting whenmargo.go
compilation fails -
add a default linter pattern for gometalinter
the following reducer/linter should now work without any additional setup&golang.Linter{Name: "gometalinter", Args: []string{"--fast"}},
-
add support for sending settings to margo
in the GoSublime settings, Sublime Text preferences or project settings
the entry"margo": {...}
will be send to margo where reducers can make use of it
by accessingmx.Editor.Settings
e.g.gosublime settings:
"margo": { "message": "hello world from the GoSublime settings", }
project settings:
"margo": { "message": "hello world from the project settings", }
margo.go
mg.Reduce(func(mx *mg.Ctx) *mg.State { var settings struct { // due to limitations in the codec pkg we need to add struct tags // unless we use the exact (capitalized name) in the editor settings Status string `codec:"status"` } err := mx.Editor.Settings(&settings) switch err { case mg.ErrNoSettings: // when the `Started` action is dispatched, no client data is present // and we therefore have no settings return mx.State case nil: return mx.AddStatus(settings.Status) default: return mx.AddStatusf("cannot decode settings: %v", err) } }),
v18.03.21-1
fix exception due to missing import?
v18.03.20-1
- fix a case where (old) margo compilation fails because the Go version cannot
be determined, but the sanity check shows the correct version - move some initializations off the ui thread to avoid ui freezes on startup
- fix the
golang.GoInstallDiscardBinaries
linter failing due to invalid dirname