GoDT - Eclipse Golang Development Tooling
GoDT is Eclipse plugin that helps with writing golang code inside Eclipse editor.
It greatly facilitates writing of golang code with help of gopls (the Go language server).
Implemented features:
- Code syntax highlighting
- Automatic completion
- Go to definition
- Other LSP support features
- build
- go mod commands
- go project neature
Next in development plan:
- Code debugging
Screenshots
Installation
Prerequisites:
- installed Eclipse
- installed golang (go) and PATH environment variable points to it
If you want to download Eclipse -> https://www.eclipse.org/downloads/
If you want to download golang -> https://go.dev/
This section will describe three (3) methods of installation.
-
method - Using Eclipse Marketplace Client inside Eclipse
Start 'Eclipse Marketplace' with going to main menu: Help->Eclipse Marketplace
locate find entry box and write golang in it and then press button Go
after search finishes somewhere in list you will find GoDT and follow procedure afterwards -
method - Using web (browser)
Go to https://marketplace.eclipse.org/content/eclipse-golang-development-tooling
then follow instruction on the page -
method - Using Install New Software inside Eclipse
follow instruction on how to add new software repository to Eclipse
on second step under Location enter:https://zshongyi.github.io/GoDT/update/site.xml
after that just proceed with remaining steps