I want to use IntelliJ IDEA IDE for developing GAE Golang apps. I know I need to download the program and the Golang plugin, but beyond that I am lost. Is there a tutorial available on how to configure IDEA for GAE Go development?
I have my project set up in GOPATH/src/... folder, App Engine SDK is configured and I can run my project from command line using goapp. However, I would like to be able to setup an IDE for syntax checking and be able to run and debug the app from the IDE, rather than resort to using the console.
From the main menu, select Tools | Upload App Engine Application. In the dialog that opens specify the deployment configuration settings and click Run. During the deployment IntelliJ IDEA might prompt you for your Google Account credentials.
Running your application locally Select File > Open to open the project you want to run. Browse to the directory containing your project. Select Tools > Cloud Code > App Engine Run on a local App Engine Standard dev server.
Right click your project in the left pane and select 'Open Module Settings'. From there:
If you also want completion for packages that you download using goapp get XXX
, go to 'Platform Settings -> SDKs' and add the appropriate path there. It should be somewhere under gopath
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With