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
  • 5 months ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 185K
  • Win 75K
  • OS X 68K
  • Linux 42K
Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8
Windows 43 49 60 79 82 83 79 47 41 66 67 71 75 63 43 40 58 61 76 90 92 28 42 66 58 64 63 62 29 44 66 63 67 51 64 35 50 71 60 73 59 69 53 54 60 69
OS X 24 37 49 48 50 65 48 49 33 39 50 52 69 54 36 43 54 67 50 63 55 30 38 35 44 54 68 48 20 36 61 49 47 54 57 23 30 57 53 37 47 43 22 35 46 50
Linux 18 22 21 24 32 25 23 15 15 31 33 26 23 32 19 16 30 22 26 36 36 16 19 17 28 27 27 24 28 11 29 24 19 28 34 17 16 24 38 19 24 23 11 17 24 33

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.