Commit Graph

118 Commits

Author SHA1 Message Date
Eyal Posener f4461a52b6 Merge pull request #45 from Deleplace/default-gopath
Handle default gopath $HOME/go when env var $GOPATH is not set.
2017-07-30 22:30:24 +03:00
Deleplace 4bd1bbca4a Handle default gopath $HOME/go when env var $GOPATH is not set. 2017-07-30 19:41:18 +02:00
Eyal Posener c111db7af1 Merge pull request #44 from posener/package
gocomplete: Add support for system GOPATH packages
2017-07-28 15:20:25 +03:00
Eyal Posener a67bb12457 gocomplete: Add support for system GOPATH packages
fixes #41
2017-07-28 15:01:07 +03:00
Eyal Posener e8d6fef54b Merge pull request #40 from posener/tool
gocomplete: add go tool subcommands
2017-05-27 20:24:47 +03:00
Eyal Posener 97eda09fcb gocomplete: add go tool subcommands
Fixes #39
2017-05-27 20:21:50 +03:00
Eyal Posener 8a418a6ab0 Merge pull request #38 from josharian/fix-installer
Fix installer
2017-05-23 19:33:44 +03:00
Josh Bleecher Snyder b74be9ff54 add .bash_profile as a bash rc file
This is common on macs.
2017-05-23 08:04:21 -07:00
Josh Bleecher Snyder e3c14b831e check whether rc file exists during installation 2017-05-23 08:03:54 -07:00
Josh Bleecher Snyder de4cdce279 correctly report installation failures
Prior to this, installations failed silently.
2017-05-23 07:43:32 -07:00
Eyal Posener 3e6cff0740 Merge pull request #37 from posener/fixes
Fixes
2017-05-23 07:45:28 +03:00
Eyal Posener 17b9aed67c readme: fix example 2017-05-23 07:39:54 +03:00
Eyal Posener 3636c19b38 Fix example/self
Fixes #34
2017-05-23 07:33:38 +03:00
Eyal Posener 1a4c871bd8 Fix installation
Fixes #36
2017-05-23 07:33:14 +03:00
Eyal Posener bae3fd94da Merge pull request #35 from lucapette/patch-1
Fix typo
2017-05-22 17:32:01 +03:00
lucapette 8bb4de3518 Fix typo 2017-05-22 16:15:58 +02:00
Eyal Posener 55ecf96557 Merge pull request #33 from posener/license
change license to MIT
2017-05-20 23:26:05 +03:00
Eyal Posener 20a143602e change license to MIT 2017-05-20 23:22:26 +03:00
Eyal Posener eade2bb233 Merge pull request #32 from posener/flags
Flags
2017-05-20 22:53:01 +03:00
Eyal Posener 14dcbd6b21 cmd: remove adding of flags from run 2017-05-20 22:29:12 +03:00
Eyal Posener 5ba73666ab cmd: fix complete flags name 2017-05-20 22:15:37 +03:00
Eyal Posener bc002bd8a7 Merge pull request #31 from posener/improves
predict files: remove loop
2017-05-20 09:19:13 +03:00
Eyal Posener 6fc235c5dc predict files: remove loop 2017-05-20 08:13:13 +03:00
Eyal Posener 7636231d03 Merge pull request #30 from posener/improves
gocomplete: improve package completion
2017-05-19 12:05:47 +03:00
Eyal Posener 238b78ffd9 gocomplete: improve package completion 2017-05-19 11:59:51 +03:00
Eyal Posener abde60c79d Merge pull request #29 from posener/metalinter
Metalinter
2017-05-19 00:38:56 +03:00
Eyal Posener 1dc99e31db readme: go get -u 2017-05-19 00:33:53 +03:00
Eyal Posener 606af1720e travis: add gometalinter tests 2017-05-19 00:33:49 +03:00
Eyal Posener a3e3c5274c Merge pull request #28 from posener/gocomplete-improve
Gocomplete improve
2017-05-19 00:20:03 +03:00
Eyal Posener 3555a6948a gocomplete: better pakcages listing
use go/build package
only read one level of packages, and not all packages
2017-05-19 00:15:33 +03:00
Eyal Posener b3f5ec22d3 gocomplete: go run should also predict non-main functions 2017-05-18 23:40:02 +03:00
Eyal Posener dce08717c1 Merge pull request #27 from posener/prefixes
Fix './' prefix for file completion
2017-05-18 23:34:43 +03:00
Eyal Posener 61d9904ba1 Fix './' prefix for file completion 2017-05-18 23:29:55 +03:00
Eyal Posener 659bd9e3d5 Merge pull request #26 from posener/runnable
gocomplete: run only runnable go files
2017-05-15 23:05:08 +03:00
Eyal Posener 3dd16239ee Add example test to increase coverate 2017-05-15 23:01:05 +03:00
Eyal Posener ff8cd4ed39 gocomplete: run only runnable go files
when typing 'go run', the completion will complete only go files
which are in main package and have a main function.
2017-05-15 22:50:05 +03:00
Eyal Posener 3db55cf7d9 Merge pull request #25 from posener/global
Add global flags for command
2017-05-15 20:06:16 +03:00
Eyal Posener 096b79324e Add global flags for command
Fixes #24
2017-05-15 19:32:59 +03:00
Eyal Posener 12dd12532c Merge pull request #23 from posener/get-flags
gocomplete: add build flags to get command
2017-05-15 16:46:51 +03:00
Eyal Posener e00c0546bc gocomplete: add build flags to get command 2017-05-15 16:37:36 +03:00
Eyal Posener 79782dedf9 Merge pull request #22 from divan/master
Update readme.md
2017-05-15 16:35:59 +03:00
Ivan Daniluk 337e95201a Update readme.md
`go install` command won't download source, it works only if source already dowloaded into GOPATH. For the installation, we should use `go get` command - it will download sources first and then run `go install`.
2017-05-15 15:06:36 +02:00
Eyal Posener 75e4e53b5f fmt 2017-05-14 08:41:09 +03:00
Eyal Posener 6c02dfed24 Merge pull request #21 from posener/tests
test: add args tests
2017-05-13 22:57:37 +03:00
Eyal Posener a32482e70d test: add args tests 2017-05-13 22:44:36 +03:00
Eyal Posener 8bad6313cc Merge pull request #20 from posener/readme
fix readme
2017-05-13 11:34:29 +03:00
Eyal Posener 6436632c82 fix readme 2017-05-13 11:31:38 +03:00
Eyal Posener 20781cb9cf Merge pull request #19 from posener/readme
Update readme.md
2017-05-13 11:30:29 +03:00
Eyal Posener fc04737363 Update readme.md 2017-05-13 11:21:02 +03:00
Eyal Posener 758253551e Merge pull request #18 from posener/zsh
zsh support
2017-05-13 11:10:46 +03:00