Commit Graph

92 Commits

Author SHA1 Message Date
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
Eyal Posener 87f385425a readme: change headers 2017-05-13 11:08:03 +03:00
Eyal Posener 3de2e3534f remove testing flags from complete command 2017-05-13 11:07:03 +03:00
Eyal Posener 3776c7286e cmd/install: add support for zsh
Fixes: #9
2017-05-13 11:06:15 +03:00
Eyal Posener cc2d0e6974 Merge pull request #17 from posener/readme
more to read in readme
2017-05-13 00:54:00 +03:00
Eyal Posener c7377ba2de more to read in readme 2017-05-13 00:50:48 +03:00
Eyal Posener 9123548bc5 Merge pull request #16 from posener/recursive-dirs
Recursive directories and complete by go packages
2017-05-13 00:45:08 +03:00
Eyal Posener bc5d682221 fix nested files 2017-05-13 00:40:26 +03:00
Eyal Posener f580110640 gocomplete: complete by packages 2017-05-13 00:17:59 +03:00
Eyal Posener 6640208067 Recursive directory lookup
When only one directory matches the result, search recursively
whithin this directory for files.
2017-05-12 22:46:01 +03:00
Eyal Posener 136e52e074 Merge pull request #15 from posener/doc
Add doc to Args
2017-05-12 15:26:01 +03:00
Eyal Posener ec762b2f87 Add doc to Args 2017-05-12 15:19:47 +03:00
Eyal Posener 2f29661634 Merge pull request #14 from posener/flags-commands
Add Predict method to Flags and Commands
2017-05-12 15:13:43 +03:00
Eyal Posener 66d7d8c670 Add Predict method to Flags and Commands 2017-05-12 15:08:36 +03:00
Eyal Posener bd51afb7f2 Merge pull request #13 from posener/improves
Improves
2017-05-11 22:23:41 +03:00
Eyal Posener 026906bf10 predict files: extract predictFiles function 2017-05-11 22:19:23 +03:00
Eyal Posener 200b1b5b69 predict: split file 2017-05-11 22:02:05 +03:00
Eyal Posener d6cbc0e969 predict: when searching for files, show also directories 2017-05-11 21:57:44 +03:00
Eyal Posener 7b1b902128 Don't complete when last argument is previous directory 2017-05-11 21:06:06 +03:00
Eyal Posener d3bbb859d5 Merge pull request #12 from posener/improves
Enhance program structure and data structures
2017-05-11 20:54:26 +03:00
Eyal Posener ba23c350c7 Fix comment 2017-05-11 20:51:33 +03:00
Eyal Posener 115e175c3d Change Match to be a function 2017-05-11 20:48:40 +03:00
Eyal Posener 967bae76f3 Add Predictor interface 2017-05-11 20:33:29 +03:00
Eyal Posener a28594d28e Add args struct 2017-05-11 18:50:12 +03:00
Eyal Posener dd2171d085 Merge pull request #11 from posener/files-complete
Improve files and directories completion
2017-05-11 02:20:27 +03:00
Eyal Posener 72dfe017e9 Improve files and directories completion 2017-05-11 02:16:39 +03:00
Eyal Posener 1c743d8c0b Merge pull request #10 from posener/alongside
Enable completion and executable be the same command
2017-05-10 20:14:34 +03:00