So, I decided get started with Golang, and the first thing I really needed was an IDE to work with. Luckily, thanks to the awesome efforts of Mihai Toader, Sergey, Alex and many others from the GO community, there already is a neat open-source plugin for Golang on the IntelliJ platform.
It actually simple to install, but not exactly straightforward because you need to select a couple of things. For those who are new (like me), here’s how to install the plugin on 14.1.x. You can also checkout the source of the plugin at Github – go-lang-idea-plugin
Note: To get started you should have already installed Golang. If you are on Ubuntu, you can have a look at this short tutorial to install Golang on Ubuntu. Otherwise just head-on to install the plugin.
Download the latest version of the IntelliJ 14.1.x
It works for both the commercial or community version of the IDE. Download IntelliJ IDEA 14.1
Install the Golang-IDEA-plugin for IntelliJ 14.1.x
A. When you open IntelliJ, you should see a startup screen like this. On the bottom right, there is a small list of configuration options. Select to configure the plugins.
B. Next, select to show the list of custom plugins.
C. Choose browse repositories at the bottom of the window that pops up.
D. Choose manage repositories on this new window.
E. To add the repository, click on the green “+” icon.
F. Specify the plugin URL, and click OK. You can also use https://plugins.jetbrains.com/plugins/alpha/5047.
G. You will be brought back to the repository list. Select the plugin repository from the listbox at the top-middle part of the screen. You should then see the GO plugin available to you. Select to install the plugin from here.
H. Once you are done, you just need to restart IntelliJ.
That’s all folks! Happy coding!!
The post How to install GoLang IDEA Plugin for IntelliJ 14.1.x appeared first on MunchPress.