gocode VS vim-go

Compare gocode vs vim-go and see what are their differences.

gocode

An autocompletion daemon for the Go programming language (by nsf)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
gocode vim-go
2 19
4,972 14,672
- -
0.0 8.6
about 2 months ago 22 days ago
Go Vim Script
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gocode

Posts with mentions or reviews of gocode. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-12.

vim-go

Posts with mentions or reviews of vim-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-22.
  • Which editor do you use for your Go coding?
    16 projects | reddit.com/r/golang | 22 Jun 2022
    Neovim with its lsp integration. Yes, my configuration breaks whenever neovim is upgraded (it is < v1 after all). But usually I wait a little while, and then update plugins and I’m good to ‘go’. One very very good plug-in is https://github.com/fatih/vim-go. The wiki page has a suggested vimrc, which works very well to integrate things like identifier highlighting, and references.
    16 projects | reddit.com/r/golang | 22 Jun 2022
    with this wonderful plugin: https://github.com/fatih/vim-go
    16 projects | reddit.com/r/golang | 22 Jun 2022
  • Sometimes broken scroll: not a few lines as usual but a page
    1 project | reddit.com/r/vim | 9 Jun 2022
    Hi, usually Vim works as expected: scroll mouse event move a buffer content for a few lines. But sometimes something broke and every scroll event move a whole screen, like I pressed PageUp or PageDown. I thought that this is a defect with some plugin - because I can reproduce it only with vim-go and mouse=a - without other plugins and configs. I tried multiple terminals, and even boot Ubuntu live USB - still reproducible with my private company codebase, so I cannot share the code. This is my ticket for that plugin - the author said that this is might be something with my system configuration. Please help.
  • What's your Golang IDE?
    4 projects | reddit.com/r/golang | 25 Feb 2022
  • Anyone write Go full time using vim?
    13 projects | reddit.com/r/golang | 5 Jan 2022
    At first Ihad struggled with some common "IDE" tasks. But then I discovered vim-go and realized that it could do pretty much everything that I need and even more.
  • Share your must-know Go development tips
    7 projects | reddit.com/r/golang | 26 Dec 2021
    I use vim as an editor, and I think that vim-go (https://github.com/fatih/vim-go) is a huge help, if you use the "gd" shortcut to take you to where a variable, type or function is defined, and the ctrl-T shortcut to take you back. Use goimports (https://pkg.go.dev/golang.org/x/tools/cmd/goimports) as the vim-go code formatter. This will keep imports up-to-date. There are some other vim-go features that may be helpful. You can have it highlight syntax errors, for example. Not every feature is helpful to every programmer, however.
  • Use LSP with vim-go
    1 project | reddit.com/r/neovim | 6 Oct 2021
    I just started using Go and found vim-go plugin, this plugin supports special features in Go that other languages (Nodejs) don't have like find structs that implement an interface.
  • vim-rust go-to-definition doesn't work with standard library features
    2 projects | reddit.com/r/vim | 1 Sep 2021
    Maybe there's a reason why this isn't possible, but if I compare this work-flow with something like https://github.com/fatih/vim-go I can use go-to-definition for everything (whether it be a third-party package or a standard library feature such as fmt.Printf).
  • golang project static check &amp; quickfix window
    1 project | reddit.com/r/vim | 24 Aug 2021
    I would check out the vim-go plugin, it has support for golangci-lint which supports vet.

What are some alternatives?

When comparing gocode and vim-go you can also consider the following projects:

coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

coc-go - Go language server extension using gopls for coc.nvim.

YouCompleteMe - A code-completion engine for Vim

Go for Visual Studio Code

kotlin-vim - Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support

GNU/Emacs go-mode - Emacs mode for the Go programming language

deoplete.nvim - :stars: Dark powered asynchronous completion framework for neovim/Vim8

Local Golang playground - GNU/Emacs mode that setup local Go playground for code snippets like play.golang.org or even better :)

ale - Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support

go-lang-idea-plugin - Google Go language IDE built using the IntelliJ Platform

go.nvim - Modern Go plugin for Neovim, based on gopls, treesitter AST, Dap and a variety of go tools.

GoSublime - A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.