1

この投稿によると、自動インポートは GoClipse で有効にすることができます:

1) install goimports:
go get code.google.com/p/go.tools/cmd/goimports

2) in eclipse goto: Preferences -> Go -> Go Formatter and set it to be the path of the goimports bin

This will fix all imports when you format. If you combine this with #67, then imports will be automatically fixed on save.

問題

Eclipse で Go Formatter を検索しようとすると、見つかりません。

ここに画像の説明を入力

4

1 に答える 1