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.08.23.17.18.41
  • github.​com
  • github.​com
  • 1 month ago
  • 12 minutes ago
  • 6 years ago

Installs

  • Total 192K
  • Win 78K
  • OS X 70K
  • Linux 44K
Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12
Windows 7 59 52 47 85 85 89 89 99 50 56 111 154 97 96 36 36 44 76 61 83 66 61 41 45 71 66 71 30 73 41 42 69 64 70 79 73 24 32 77 62 86 83 63 45 58
OS X 6 68 30 43 66 67 82 70 78 49 61 84 123 98 56 24 28 32 55 57 44 49 44 17 34 50 62 51 33 55 28 27 48 66 57 56 48 30 39 36 41 39 55 37 34 30
Linux 1 34 20 18 37 33 32 49 50 28 35 57 73 58 32 28 21 16 24 32 23 32 28 14 31 20 21 32 21 34 22 7 31 26 35 39 27 20 23 24 33 23 38 27 25 24

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.