1.file->settings->plugins->browse repositories, enter go query, see the right side of the instructions to confirm that the right go plugin can be installed
Open File->settings->languages & Frameworks, which will be more out of the Go Settings menu
2. Create a new project project by default
Right-Test.ho, select "Run ' Test.go '" to
Small Tips1. Tip Gopath is emptyWorkaround:A. Create a new folder (here is my "Goworkpath"), which is manually created bin, pkg, src three directories. b.vi ~/.bash_profile, open edit mode, add export gopath=[***/Goworkpath]source ~/.bash_profile make edits effectiveGo env Verify that the configuration is successfulNote: If you are prompted to do so, check the Go Settings menu in the global libraries to see if you have added a pointer to theChildren of Goworkpath
Links: https://rootpd.com/2016/02/04/setting-up-intellij-idea-for-your-first-golang-project/?utm_source= Tuicool&utm_medium=referral
From for notes (Wiz)
IntelliJ of programming language to build Golang development environment