This is a creation in Article, where the information may have evolved or changed. The go language is now becoming more popular among developers, and many people are naturally looking for the right IDE for code syntax highlighting, auto-completion, and other editing features.
The following is a comparison of several commonly used Ides: 1. Sublime text Editor is popular among developers, it should be said that Sublime is not a fully fledged IDE, but it has a lot of language extensions, such as Python, Lua, which has a plug-in gosublime specifically for the Go language, Gosublime provides syntax highlighting and auto-complement, which makes sublime text a useful go IDE.
2. The Intellijintellij IDE is provided by JetBrains and is popular among Java developers, with its own go plugin that supports syntax highlighting, code completion, automatic compilation, and sub-library support. This makes it easy for you to split the project into multiple packages while you can browse them in a separate IDE.
It has a very handy feature, and the plugin uses a highlight to show unused variables or packages (as shown in the Hdea variable is currently unused variable).
3. Liteideliteide is also a dedicated IDE for Golang, I also use it, the function is very comprehensive, with syntax highlighting, automatic completion, automatic compilation, debugging, package browsing and management.
The debugger uses GDB in the background so that you can easily print variable values and view current stack information. 4. Intypeintype is a text editor supported under Windows only, with limited syntax highlighting support and specific highlighting settings.
5. Netbeansnetbeans built-in support for a large number of languages, but also with the go plugin to create a normal project, like creating a go source file, in addition to syntax highlighting, its go plugin does not support other special features, how to use the IDE to compile the go file is not known.
6. Eclipseeclipse is probably the most popular IDE listed here. The Goclipse plugin adds IDE functionality to eclipse to support go. Goclipse provides configurable syntax highlighting, automatic document completion, automatic compilation, and the most important experimental debugging support. 7. Textmatetextmate is a text editor under Mac OS that can be extended to highlight go code and provide source code snippets. 8. The Komodo Editkomodo editor (or IDE) is an open source code editor from ActiveState. It is based on Monzilla 7.0 and supports cross-platform support for multiple languages, but the free version of the Komodo feature is limited, its Golang plugin komodo-go provides basic syntax highlighting, code completion function. 9. Zeuszeus is an editor under Windows that supports the go language directly, it uses ctags to implement code completion, but can be configured to use the Go language, Zeus Support code folding, automatic indentation, code navigation, GDB debugging.
Summary: The following two tables summarize some of the Ides discussed above, which illustrate the licensing of plug-ins or packages, running platforms:
The following table describes the feature items that are available in different ides:
Now, the Eclipse and IntelliJ plug-ins are very mature and have rich features to develop go applications. More lightweight choices like sublime Text2, TextMate, and liteide provide good support for syntax highlighting, pre-defined code snippets, Code autocomplete, and automatic formatting (using GOFMT), and NetBeans and Intype are very limited, They only provide syntax highlighting. There is no discussion like vim and Emacs, because the focus is on the graphics editor. If you don't like the solution in this article and prefer to use a text-based editor, I suggest you look at how go integrates vim and Emacs.
This article has been published in the public number "Golang self-study community" GOLANGZXSQ, welcome attention.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.