Skip to content

Commit

Permalink
v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
syscrusher committed Oct 18, 2015
1 parent 9faf1ad commit 93b9280
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
17 changes: 10 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
Planned:
- Rework some snippets, like a single import without an alias
- Add support for all go tools like fix, vet, lint, oracle
- Add support for all go tools like fix, vet, oracle

### 3.2.1 / 2015-10-18
- [Changed icons for completion menu to HiDPI version @msoap](https://github.com/syscrusher/golang.tmbundle/commit/6201a07c52595cc48f60691eedca973a8121152a)
- [New path to godoc @msoap](https://github.com/syscrusher/golang.tmbundle/commit/f7e24e69d6d099597757754c7097670bd76fac31)
- [FIx duplicate `go get` in imports statement](https://github.com/syscrusher/golang.tmbundle/commit/0fa56a57877e7e947ac338c34438e3c906e430aa)

###3.2.0 / 2015-09-18
- [Support for dynamically determining gopath, package name, and package path @fmccann](https://github.com/syscrusher/golang.tmbundle/commit/49440460f058e80ccf0f2bd44891b48164091128)
- [Support for golint and goimports @fmccann](https://github.com/syscrusher/golang.tmbundle/commit/49440460f058e80ccf0f2bd44891b48164091128)
- [Display package name when running command against package name @fmccann](https://github.com/syscrusher/golang.tmbundle/commit/49440460f058e80ccf0f2bd44891b48164091128)
- [Allow run and build on unsaved files @tg](https://github.com/syscrusher/golang.tmbundle/commit/4809d74ea36654bdd9a2475ded6f729eb3082b65)
- [Support for dynamically determining gopath, package name, and package path @fmccann](https://github.com/syscrusher/golang.tmbundle/commit/26538901bcb6253660bf4fab52dbc336ed984e2c)
- [Support for golint and goimports @fmccann](https://github.com/syscrusher/golang.tmbundle/commit/26538901bcb6253660bf4fab52dbc336ed984e2c)
- [Display package name when running command against package name @fmccann](https://github.com/syscrusher/golang.tmbundle/commit/26538901bcb6253660bf4fab52dbc336ed984e2c)
- [Fmt updates document without saving the current version @tg](https://github.com/syscrusher/golang.tmbundle/commit/998d17a9f8024b2c6571f242d2d93f44723c3e87)
- [Automatically format documents on save @tg](https://github.com/syscrusher/golang.tmbundle/commit/8e6a71b1f8e986b7644c3286c1f4c538dc1345ec)
- [Add fmt.Print snippet @jish](https://github.com/syscrusher/golang.tmbundle/commit/f73850c2774b1bbe6c7ecec40e4bbbb376fa1225)
- [Add fmt.Fprintf snippet](https://github.com/syscrusher/golang.tmbundle/commit/ead451fa74a98628ddeb50ab6d901be18b60bba7)
- [Remove leading path separator (:) from GOPATH @tg](https://github.com/syscrusher/golang.tmbundle/commit/cf4a25062bf453ca1a46a4ad7ef7ff01740f350b)

###3.1.0 / 2015-02-04
- [Run all non-run commands against current directory @tg](https://github.com/syscrusher/golang.tmbundle/commit/d3f09ee3bbe5fba76964e1bdc23e7d7247b733ee)
Expand Down
20 changes: 5 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
## golang.tmbundle v3.2.0
## golang.tmbundle v3.2.1
(a TextMate 2 bundle for the go programming language)

### Installation
TextMate by default will detect .go files and load [Jim Dovey's bundle](https://github.com/AlanQuatermain/go-tmbundle). This is a fork with additional improvements merged from around the community.

Big changes from the default version:
- Support for goimports (thanks [fmccann](https://github.com/fmccann))
- Support for golint (thanks [fmccann](https://github.com/fmccann))
- Support for goimports and golint (thanks [fmccann](https://github.com/fmccann))
- 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))
- 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)).
- run and build work on unsaved files (thanks [tg](https://github.com/tg))
- added print, println, printf, and fprintf snippets (thanks [jish](https://github.com/jish))
- bugfixes
- HiDPI completion icons (thanks [msoap](https://github.com/syscrusher/golang.tmbundle/commits/master?author=msoap))
- bugfixes (thanks everyone!)

To install this bundle manually, open a Terminal window and do:

Expand All @@ -22,22 +22,12 @@ git clone git://github.com/syscrusher/golang.tmbundle.git
```


This bundle uses gocode for completion and godoc for documentation, which can be installed with:
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:

```Shell
go get -u github.com/nsf/gocode
go get -u golang.org/x/tools/cmd/godoc
```

This bundle uses goimports for cleaning up imports and reformatting code, which can be installed with:

```Shell
go get -u golang.org/x/tools/cmd/goimports
```

This bundle uses golint for linting code, which can be installed with:

```Shell
go get -u github.com/golang/lint/golint
```

Expand Down

0 comments on commit 93b9280

Please sign in to comment.