This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
forked from mdempsky/gocode
-
Notifications
You must be signed in to change notification settings - Fork 28
An autocompletion daemon for the Go programming language
License
stamblerre/gocode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Autocompletion/refactoring daemon for Go language. Work in progress.. Currently available things: - .a (archive aka package) type info parser - type inference (more or less complete) - vim plugin (basics) - basic autocompletion (really really basic) Screenshots: http://nsf.github.com/images/gocode1.png http://nsf.github.com/images/gocode2.png http://nsf.github.com/images/gocode3.png http://nsf.github.com/images/gocode4.png Demo: http://nsf.110mb.com/gocode-demo.swf (3.6mb) Short usage guide: Everything is pretty simple. Just 'make install' it and make sure it is available on your PATH (vim plugin assumes that). In order to install vim plugin you need to have vim scripts installed from the Go source tree ($GOROOT/misc/vim). After that just run 'update.sh' script from the 'vim' dir in the gocode source tree. It will work on mac and linux (installs vim plugin files in ~/.vim/...). Make sure you have 'filetype plugin on' in vim and you're done! Use <C-x><C-o> for omnicompletion. Daemon is started automatically and it is panic-safe. Means if it dies with a panic during autocompletion, it will drop its cache and continue serving requests. On panic it prints stack trace also. In order to see a stack trace you may want to run it manually somewhere in the terminal using this command: 'gocode -s'. If the daemon was started previously, you can shut it down using this command: 'gocode close'. NOTE: I'm trying to keep git master branch always in a working state. Therefore it's safe and a good idea to keep your app in sync with git repo. Bug reports: If something doesn't work as expected, post your issues here: http://github.com/nsf/gocode/issues
About
An autocompletion daemon for the Go programming language
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Go 65.8%
- Emacs Lisp 19.9%
- Python 6.8%
- Vim Script 5.6%
- Shell 1.9%