安装GO编程语言的环境

huangapple go评论90阅读模式
英文:

Installing environment for GO programing language

问题

我想开始使用GO进行编程。作为一个Windows用户,我了解可以使用NetBeans的GO插件来实现。

到目前为止,我已经在文本文件中编写GO程序,并使用命令提示符运行它们,但我更喜欢使用另一个平台/环境,这样我就可以调试程序了。

这个论坛中的代码示例有语法高亮,并且似乎是从类似Visual Studio的环境中获取的。有人知道这个环境吗?

我会很感激一个简单的解决方案。谢谢! 安装GO编程语言的环境

英文:

I would like to start programming in GO. As I am a Windows user, I understand that it possible to do so using the GO plugin for NetBeans.

Until now, I have written GO programs in text files and run them using the command prompt, but I prefer to use another platform/environment so I would be able to debug the programs.

The code examples in this forum are syntax highlighting and seem to be taken from an environment like Visual Studio. Does anyone know about the environment?

I would appreciate a simple solution. Thank you! 安装GO编程语言的环境

答案1

得分: 2

英文:

IDEs built specifically for Go and still actively maintained:

答案2

得分: 1

你可以通过谷歌搜索找到几个集成开发环境(IDE),例如:
http://go-ide.com/ 或者
https://code.google.com/p/goclipse/

英文:

Googling you can find several IDE, for instance:
http://go-ide.com/ or
https://code.google.com/p/goclipse/

答案3

得分: 1

你可能会发现这个问题被关闭,因为它非常主观,并且是一个常见问题。然而,简单的答案是:根据你的描述,你可能会喜欢goclipse

更完整的答案是:Go开发没有一个“真正的环境”。你在这里看到的代码示例是使用Stack Overflow的语法高亮显示器着色的,并且以纯文本形式提交的。你可能会发现大多数主要编辑器都有高亮和实用工具。例如,我使用Vim,它有一个插件可以在当前缓冲区上运行gofmt。

我相信一些Windows用户喜欢Sublime Text 2的GoSublime插件。更完整的开发工具列表可以在这里找到。

你真的不需要一个IDE来开发Go。我鼓励你花更多时间使用一个好的编辑器和命令行。熟悉已经分发给语言的工具对我来说是至关重要的(gogodocgofmt)。另请参阅使用GDB调试Go代码

英文:

You may find this question gets closed as it's quite subjective, and a FAQ. However, the simple answer: from your description, it seems likely that you would be comfortable with goclipse.

More complete answer: there is no "one true environment" for Go development. The code examples you see here are coloured using Stack Overflow's syntax highlighter, and were submitted in plain text. You'll probably find highlighting and utilities available for most major editors. For example, I use Vim which has a plugin to run gofmt on the current buffer.

I believe some Windows users are fond of Sublime Text 2's GoSublime plugin. A more complete list of development tools can be found here.

You don't really need an IDE to develop using Go. I'd encourage you to spend more time working with a good editor and the command line. Getting to know the tools already distributed with the language is essential IMHO (go, godoc, gofmt). See also Debugging Go Code with GDB.

huangapple
  • 本文由 发表于 2013年2月27日 05:33:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/15099730.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定