Thursday, March 2, 2017

Code Golang efficiently in Sublime Text 3 with GoSublime

Vim is terrible. There are 20 keypresses to editing a 6 line column rather than the 5 clicks it takes in Sublime Text.

You can use Sublime Text with all the helpers that Go provides (gofmt) automatically by installing GoSublime.

1. Install Sublime Text 3

Download and install Sublime Text 3 from the official application website.


2. Install PackageControl in Sublime Text 3

PackageControl for Sublime Text 3 is the most essential plugin for installing other packages. You can either install from the console or install through the helper included with Sublime Text.


3. Install GoSublime

After you have installed PackageControl, simply go to the preconfigured actions (Cmd + Shift  + P) then type in Package Control: Install Package.

Then type in GoSublime, and you are good to go!

No comments:

Post a Comment