ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Go​Sublime

by DisposaBoy ST2/ST3 Top 100

A Golang plugin collection for SublimeText **3**, providing code completion and other IDE-like features.

Labels go

Details

  • 2017.03.05.21.36.39
  • github.​com
  • github.​com
  • 3 weeks ago
  • 1 hour ago
  • 5 years ago

Installs

  • Total 173K
  • Win 70K
  • OS X 64K
  • Linux 40K
Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6
Windows 63 72 69 57 57 57 61 68 71 70 92 61 61 78 73 64 90 87 50 60 74 93 47 73 67 51 56 74 78 68 90 96 41 75 74 70 85 73 89 74 35 74 80 85 83 60
OS X 38 83 44 58 34 43 49 64 49 58 45 24 40 53 73 73 67 67 41 27 68 50 57 65 57 46 57 42 60 65 65 53 56 65 68 54 64 40 60 35 27 46 74 70 85 70
Linux 27 28 33 35 19 24 36 26 34 30 37 34 25 39 36 33 29 30 23 21 27 33 30 27 36 24 21 30 35 27 31 31 33 33 29 34 30 33 35 33 22 34 33 41 37 27

Readme

Source
raw.​githubusercontent.​com

GoSublime

Intro

GoSublime is a Golang plugin collection for the text editor Sublime Text providing code completion and other IDE-like features. Only Sublime Text 3 is supported.

Before using GoSublime you should read and understand SUPPORT.md

Features

  • code completion from Gocode
  • context aware snippets via the code-completion popup to complement the existing SublimeText Go package.
  • sublime build system(ctrl+b) integrating with GoSublime 9o command prompt
  • lint/syntax check as you type
  • quickly jump to any syntax error reported (and jump back to where you were before (across files))
  • quickly fmt your source or automatically on save to conform with the Go standards
  • easily create a new go file and run it without needing to save it first (9o replay)
  • share your snippets (anything in the loaded file) on play.golang.org
  • list declarations in the current file
  • automatically add/remove package imports
  • quickly jump your import section(automatically goes to the last import) where you can easily edit the pkg alias and return to where you were before
  • go to definition of a package function or constant, etc.
  • show the source(and thus documentation) of a variable without needing to change views

Demo

Installation

It is assumed that you have a working installation of Git and know how to use it to clone and update repositories.

Run the command git clone https://github.com/DisposaBoy/GoSublime from within the Sublime Text Packages directory. The location of your Sublime Text Packages directory can be found by clicking the menu: Preferences > Browse Packages....

Usage

Please see USAGE.md and 9o.md for general usage and other tips for effective usage of GoSublime

NOTE GoCode is entirely integrated into GoSublime/MarGo. If you see any bugs related to completion, assume they are GoSublime's bugs and I will forward bug reports as necessary.

Settings

You can customize the behaviour of GoSublime by creating a settings file in your User package. This can be accessed from within SublimeText by going to the menu Preferences > Browse Packages.... Create a file named GoSublime.sublime-settings or alternatively copy the default settings file Packages/GoSublime/GoSublime.sublime-settings to your User package and edit it to your liking.

Note: File names are case-sensitive on some platforms (e.g. Linux) so the file name should be exactly GoSublime.sublime-settings with capitalization preserved.

Copyright, License & Contributors

GoSublime and MarGo are released under the MIT license. See LICENSE.md

GoSublime is the copyrighted work of The GoSublime Authors i.e me (https://github.com/DisposaBoy/GoSublime) and all contributors. If you submit a change, be it documentation or code, so long as it's committed to GoSublime's history I consider you a contributor. See AUTHORS.md for a list of all the GoSublime authors/contributors.

Supporters

GoSublime has received support from many kind individuals and as a thank you I've added most to THANKS.md file as a way of saying Thank You. Some donors donated anonymously and so are not listed, however. If you have donated and would like to add an entry to this file, feel free to open a pull request.