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

Go​Sublime

by DisposaBoy ST3 Top 100

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

Labels go

Details

  • 18.07.31
  • github.​com
  • github.​com
  • 3 weeks ago
  • 19 minutes ago
  • 7 years ago

Installs

  • Total 227K
  • Win 95K
  • OS X 81K
  • Linux 50K
Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 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
Windows 70 72 44 36 47 67 70 78 71 43 48 73 82 63 65 87 42 28 74 86 64 72 92 33 52 71 77 72 68 82 33 55 69 67 69 72 76 41 34 65 56 86 81 75 46 42
OS X 39 54 44 23 27 53 55 59 53 27 28 50 49 56 62 40 25 19 49 54 41 51 60 23 38 55 48 58 51 50 25 36 46 52 43 71 36 25 25 31 34 50 48 41 18 30
Linux 17 14 17 25 17 27 30 34 29 12 14 17 24 24 26 22 6 16 18 22 30 21 23 16 20 26 17 36 24 34 17 20 23 30 22 35 36 19 19 25 28 37 26 26 24 30

Readme

Source
raw.​githubusercontent.​com



Backers on Open Collective Sponsors on Open Collective Build Status


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.

Thanks to all the people who contribute. [Contribute].

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.

Donations

Supporting me means I can spend more time working on GoSublime and other Open Source projects, hopefully leading to more consistent and regular development.

Donate using Liberapay

Donate using Liberapay

Donate using PayPal

Donate using PayPal

Become a backer or a sponsor on OpenCollective

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]