LoginSignup
31
31

More than 5 years have passed since last update.

go getしたライブラリをIntelliJ IDEAの補完候補に追加するには

Posted at

SDKのclasspathに$GOPATH/srcを追加する必要がある。

  1. File -> Project Structure を開く
  2. +ボタンから$GOPATH/srcにあたるディレクトリをclasspathに追加する
  3. File -> Invalidate Caches / Restart -> Invalidate and Restart を選択

IntelliJの再起動が完了したら補完候補に追加されているはず。

スクリーンショット 2014-06-24 21.49.26.png

31
31
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
31