vim-go
YouCompleteMe
Our great sponsors
vim-go | YouCompleteMe | |
---|---|---|
25 | 70 | |
15,815 | 25,229 | |
- | 0.4% | |
8.3 | 7.7 | |
4 days ago | 9 days ago | |
Vim Script | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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.
vim-go
-
nvim when I open an empty file from go
There are a handful of really good go plugins that take care of this for you, such as https://github.com/ray-x/go.nvim or https://github.com/fatih/vim-go
-
What's the most commonly used IDE for golang development ?
With vim-go and snippets, neovim has almost the same functionality as GoLand
- Is there any way to autocomplete language functions? For example, show things like fmt.Printf or fmt.Println when writing fmt.Print and pressing the autocomplete key.
-
Which editor do you use for your Go coding?
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.
with this wonderful plugin: https://github.com/fatih/vim-go
- What's your Golang IDE?
-
Anyone write Go full time using vim?
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
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.
-
vim-rust go-to-definition doesn't work with standard library features
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).
YouCompleteMe
-
How to configure vim like an IDE
For vim specifically, I've been using coc.nvim, which works pretty well for my needs, and I know its quite popular. Another fairly popular one is YouCompleteMe, which I had taken a look at for some other languages; but ended up just using coc as I can't justify using YCM once a year (if that) -- too much "headache" for not a lot of use, you know?
-
What’s an free bare bones IDE for Python that works smoothly out of the box?
YouCompleteMe. A pretty good autocompletion plugin, though vim does have its own, somewhat useful built-in auto completion that requires more keystrokes
-
Vim Golang syntax is ugly
There are plugins to do semantic highlighting. I don't use any of them because I'm satisfied with Vim's native syntax highlighting and with tree-sitter (and also because I don't use LSPs), but searching for "Vim semantic highlighting" on DuckDuckGo yields this: https://github.com/ycm-core/YouCompleteMe. The highlighting used in its demo is too baroque for my taste, but looking at your VSCode screenshot, it looks like it would be right up your alley.
-
Will installing Vim get rid of my current work on macOS?
I have an M1 MacBook Pro and have recently started using Vim for the first time, and was looking into installing this plugin but in the installation instructions for macOS, it says we need to do brew install vim to get the version of vim that will work with Python3. I have just been using the default Vim that comes with the laptop and am not sure if this will mess with my current configuration or not. I mostly have 2 questions:
The plugin that is requiring Python3 is You Complete Me here is the link!! The Vundle link I was looking at is also in the body of my post.
- [Neovim] Comment ajouter la complétion de code C / C ++ dans neovim?
-
Vim or Emacs for C++ Coding?
I use vim for C++ coding, however it is a bit difficult to set up to make it productive. I use YouCompleteMe [0] for autocompletion, Vimspector [1] with the C++ plugin for debugging, ALE [2] for linting, along with a few other general plugins (such as NerdTREE for file view).
[0] https://github.com/ycm-core/YouCompleteMe
-
Soliciting opinions: Favorite autocomplete?
I didn't make a complete list of requirements :) This issue makes YCM uninteresting to me, so I've not dug too deep into it.
-
Vim plugin like vscode "go to definition" function
my favorite is YouCompleteMe.
-
⚔️ 7 Secret Weapons for Lightning-Fast Code Writing with VS Code
🔎 Learn more
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Jedi-vim - Using the jedi autocompletion library for VIM.
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
coc-go - Go language server extension using gopls for coc.nvim.
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
vim-lsp - async language server protocol plugin for vim and neovim
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
Go for Visual Studio Code
deoplete.nvim - :stars: Dark powered asynchronous completion framework for neovim/Vim8
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting