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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
-
Planned:
2
-
- Rework some snippets, like a single import without an alias
3
-
- Add support for all go tools like fix, vet, oracle
1
+
## 3.4.0 / 2015-12-18
2
+
-[New grammar for Go HTML templates @nanoant](https://github.com/syscrusher/golang.tmbundle/commit/197a72fd128d574e5ec907ec55f51d72c3e163bc)
3
+
-[Proper syntax highlighting for types @nanoant](https://github.com/syscrusher/golang.tmbundle/commit/04083c428fd8ca75c9483e9a8ac09421e67b9d29)
4
+
-[Don't save document before completion- godef uses stdin @msoap](https://github.com/syscrusher/golang.tmbundle/commit/d1d3a8018d4c0e3eed14288dff38d4e32f5d0e1e)
5
+
-[Reapply bugfix when TM_GOPATH not set @tg](https://github.com/syscrusher/golang.tmbundle/commit/4372808d35a64b7934575c0572d0b7de3108cc14)
6
+
-[Improve README about env vars @willfaught](https://github.com/syscrusher/golang.tmbundle/commit/9f4fca8be6e6d3ffb99c6e23aa193a30ac075627)
7
+
-[Use required commands for goimports and golint @rdwampler](https://github.com/syscrusher/golang.tmbundle/commit/b4427d9df7be869965d7008b86b47d3534fb3f72)
8
+
4
9
5
10
### 3.3.0 / 2015-11-27
6
11
-[Hand crafted, beautiful icons that work on HiDPI and lower resolutions @nanoant](https://github.com/syscrusher/golang.tmbundle/commit/6eac77254101eac2d325bc729b633f243865d87b)
Copy file name to clipboardExpand all lines: README.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,19 @@
1
-
## golang.tmbundle v3.3.0
1
+
## golang.tmbundle v3.4.0
2
2
(a TextMate 2 bundle for the go programming language)
3
3
4
4
### Installation
5
5
TextMate should detect .go files and load this bundle. This bundle is a fork from [Jim Dovey's bundle](https://github.com/AlanQuatermain/go-tmbundle) with additional improvements merged from around the community.
6
6
7
7
Changes from the original version (see full changelog for more details):
- Users can supply commands via ENV variables (TM\_GO\_DYNAMIC\_GOPATH, TM\_GO\_DYNAMIC\_PKG, TM\_GO\_DYNAMIC\_PKG\_PATH). The bundle will consult these commands if defined to dynamically change the gopath or package based on the current directory. (thanks [fmccann](https://github.com/fmccann))
11
11
- all non-run go commands operate on the current directory instead of per file if the package is not defined dynamically. (thanks [tg](https://github.com/tg)).
12
12
- run and build work on unsaved files (thanks [tg](https://github.com/tg))
13
13
- added print, println, printf, and fprintf snippets (thanks [jish](https://github.com/jish))
This bundle uses gocode for completion, godoc for documentation, golint for linting, and goimports for automatic imports and formatting. These can be installed with the following commands:
27
19
@@ -32,6 +24,7 @@ go get -u golang.org/x/tools/cmd/goimports
32
24
go get -u github.com/golang/lint/golint
33
25
```
34
26
27
+
35
28
Set the following TextMate variables in the preferences (adjust paths to your own configuration):
36
29
37
30
TM_GOCODE=/Users/myuser/bin/gocode
@@ -41,6 +34,15 @@ Set the following TextMate variables in the preferences (adjust paths to your ow
41
34
TM_GOIMPORTS=/Users/myuser/bin/goimports
42
35
TM_GOLINT=/Users/myuser/bin/golint
43
36
37
+
38
+
To install this bundle manually, open a Terminal window and do:
The bundle implements language syntax, completion via gocode, some snippets, and some compile/format/documentation commands for the [Go language](http://golang.org/).
0 commit comments