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 months ago
  • 12 minutes ago
  • 5 years ago

Installs

  • Total 180K
  • Win 73K
  • OS X 66K
  • Linux 41K
May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13
Windows 1 59 59 70 61 80 80 31 45 61 84 95 86 70 46 31 60 75 73 78 74 46 61 75 85 78 79 38 33 45 60 93 73 81 81 73 57 101 65 71 87 85 53 44 91 70
OS X 1 37 58 76 47 52 58 37 36 48 52 57 74 62 35 39 49 41 50 66 57 40 41 58 60 51 50 26 33 34 54 64 47 69 47 40 33 71 64 71 53 68 32 40 55 67
Linux 1 23 29 29 40 31 30 17 16 38 27 29 43 37 15 21 26 30 31 39 31 21 32 23 43 41 40 23 19 17 36 27 39 33 42 37 30 28 28 30 30 28 25 19 26 35

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.