用于Go语言开发的Eclipse插件:GoClipse
jopen
10年前
GoClipse是一个用于Go语言开发的Eclipse IDE插件。GoClipse的目的是创造一个让初学者和中级用户很容易上手Go语言开发的编程环境。
特性
- 可配置的语法高亮
- 通过Gocode实现自动完成
- 通过自动完成弹出窗口查看文档
- 在Eclipse中查看错误报告
- 命令文件和包的自动构建
调试功能.
功能齐全的GDB调试器的支持(重复使用的Eclipse CDT的GDB集成)
- Stop/resume program execution. Listing program threads and stack frame contents.
- Setting breakpoints, watchpoints (breakpoint on data/variables), tracepoints. Breakpoint conditions.
- Stack variables inspection view. Expression watch and view. Disassembly view.
- Non-stop mode (for supported GBDs). Reverse debugging (for supported GDB targets).
Execution stopped on a breakpoint |
---|
安装
环境要求:
- Eclipse 4.3 (Kepler) or later (http://www.eclipse.org/).
- A 1.7 Java VM or later (http://www.java.com/). Otherwise GoClipse will silently fail to start.
- Go development tools and libraries installed on target machine (http://golang.org/doc/install.html). Currently, only the plan 9 style compilers are supported. GCCGO may be supported in the future
说明:
- Use your existing Eclipse, or download a new Eclipse package from http://www.eclipse.org/downloads/.
- For an Eclipse package without any other IDEs or extras (such a VCS tools), download the "Platform Runtime Binary".
- Start Eclipse, go to
Help -> Install New Software...
- Click the
Add...
button, then enter the Update Site URL: https://github.com/GoClipse/releases/raw/master/ in the Location field, click OK. - Select the recently added update site in the
Work with:
dropdown. TypeGoClipse
in the filter box. Now the Goclipse feature should appear below. - Select the
GoClipse
feature, and complete the wizard.- Dependencies such as CDT will automatically be added during installation.
- Restart Eclipse. After that take a look at the configuration section in the User Guide.
Updating:
If you already have GoClipse installed, and want to update it to a newer release, click Help -> Check for Updates...
.