go-lang-idea-plugin
vim-go
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
go-lang-idea-plugin | vim-go | |
---|---|---|
2 | 25 | |
4,573 | 15,658 | |
-0.2% | - | |
0.0 | 8.3 | |
over 5 years ago | 13 days ago | |
Java | Vim Script | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
go-lang-idea-plugin
-
How to write your own language plugin for IDEA (part 1)
go-plugin (now this plugin is known as Goland)
-
How to write your own language plugin for IDEA (part 2)
In the previous article, I showed the process of creating a framework for a language plugin. Well-known plugins for Java, go, Frege were used as examples. There are also examples from the plugin for the Monkey language, which I developed while I was figuring out how everything works. Since my goal was not to cover everything, the plugin covers a limited subset of the language. The interpreter for Monkey can be found here.
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).
What are some alternatives?
coc-go - Go language server extension using gopls for coc.nvim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
Go for Visual Studio Code
YouCompleteMe - A code-completion engine for Vim
gocode - An autocompletion daemon for the Go programming language
kotlin-vim - Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support
GNU/Emacs go-mode - Emacs mode for the Go programming language
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
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 :)
delve - Delve is a debugger for the Go programming language.