官术网_书友最值得收藏!

Editors

We're about to write our first program in our new hello directory. You will first need to choose which editor to use. Fortunately, working with Go does not require any special IDE or editor. The Go toolchain integrates easily into many editors and IDEs. Your options range from using a simple text editor, such as Notepad, to full-fledged IDEs dedicated to Go.

I recommend that you start with a simple text editor, such as nano or gedit, since these are included with Ubuntu, easy to use, and support syntax highlighting for Go out of the box. Feel free to choose another editor or IDE though.

Plugins exist for many text editors and IDEs to add Go support. For example, Visual Studio Code, Emacs, Sublime Text, JetBrains IntelliJ, Vim, Atom, NetBeans, and Eclipse all have Go plugins. There are a couple of Go-specific IDEs, namely JetBrains GoLand and LiteIDE, both of which are cross-platform.

Start with the nano or gedit command and explore other editors and IDEs after you are comfortable with Go. This book will not compare the editors or cover how to configure them.

主站蜘蛛池模板: 大石桥市| 邵武市| 姜堰市| 武汉市| 深州市| 射洪县| 康马县| 娄底市| 阿拉善盟| 黄陵县| 信宜市| 佛坪县| 历史| 商都县| 金乡县| 临沧市| 定日县| 石林| 威宁| 常宁市| 桓台县| 清新县| 察雅县| 新安县| 江山市| 石嘴山市| 太仆寺旗| 天峨县| 汤原县| 宜宾县| 探索| 永安市| 安宁市| 台湾省| 辽宁省| 衡阳市| 鄄城县| 安宁市| 布拖县| 辽宁省| 栾川县|