You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recommended by StyleGuide. Doesn't include commands and snippets because the documentation currently uses GitHub syntax for tables, which TextMate doesn't render well.
This bundle relies on amazing open source tooling for some functionality. These utilities can be installed with the following commands:
3
+
4
+
go get -u github.com/nsf/gocode # completion
5
+
go get -u github.com/zmb3/gogetdoc # documentation
6
+
go get -u golang.org/x/tools/cmd/goimports # import resolution/rewriting
7
+
go get -u github.com/golang/lint/golint # linting
8
+
go get -u github.com/rogpeppe/godef # goto definition
9
+
go get -u github.com/alecthomas/gometalinter # metalinting
10
+
11
+
You may override the following TextMate variables in the preferences (adjust paths to your own configuration). TextMate does not inherit the users environment unless it is launched from the command line. It may be necessary to set TM_GOPATH and GOROOT.
12
+
13
+
TM_GO=/usr/local/bin/go
14
+
TM_GOPATH=/Users/myuser/go
15
+
TM_GOCODE=/Users/myuser/bin/gocode
16
+
TM_GOGETDOC=/Users/myuser/bin/gogetdoc
17
+
TM_GOFMT=/Users/myuser/bin/gofmt # or /Users/myuser/bin/goimports
18
+
TM_GOIMPORTS=/Users/myuser/bin/goimports
19
+
TM_GOLINT=/Users/myuser/bin/golint
20
+
TM_GODEF=/Users/myuser/bin/godef
21
+
TM_GOMETALINTER=/Users/myuser/bin/gometalinter
22
+
23
+
# Further Help
24
+
The full documentation is available on [GitHub](https://github.com/syscrusher/golang.tmbundle/blob/master/README.md), including commands and snippets.
0 commit comments