A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
Latest commit e2af65c Nov 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Added .github/ISSUE_TEMPLATE.md (optional) Jan 24, 2018
articles * misc cleanup Jul 17, 2013
bin commit the pkg and bin dirs so we can assume they exists Mar 1, 2018
doc fix formatting Jul 18, 2013
gosubl ANN 18.11.06 Nov 6, 2018
images GoSublime needs you! Jul 12, 2018
pkg commit the pkg and bin dirs so we can assume they exists Mar 1, 2018
something_borrowed rename the bundled Go syntax to `GoSublime: Go (Copy)` to make it cle… Sep 14, 2018
src fix #886 Nov 18, 2018
ss - add 2 screenshots Jan 28, 2012
syntax fix pattern for x := 0 syntax Sep 28, 2018
.gitignore automatically load _before.py and _after.py to allow hooking into GS … Jul 12, 2018
.no-sublime-package ? Jul 20, 2013
.travis.yml Improved Travis CI config Nov 5, 2018
9o.md * clarify the interaction between the pre-defined env vars and the us… Jun 30, 2013
AUTHORS.md Update username Mar 14, 2017
CHANGELOG.md ANN 18.11.06 Nov 6, 2018
CONTRIBUTING.md Added CONTRIBUTING.md (optional) Jan 24, 2018
Comments.tmPreferences fix broken commenting when the Go package is disabled Dec 8, 2017
Default (Linux).sublime-keymap switch to the new .actuate command Oct 6, 2018
Default (Linux).sublime-mousemap * track mouse clicks globally Dec 27, 2012
Default (OSX).sublime-keymap switch to the new .actuate command Oct 6, 2018
Default (OSX).sublime-mousemap * track mouse clicks globally Dec 27, 2012
Default (Windows).sublime-keymap switch to the new .actuate command Oct 6, 2018
Default (Windows).sublime-mousemap * track mouse clicks globally Dec 27, 2012
GoSublime.py automatically load _before.py and _after.py to allow hooking into GS … Jul 12, 2018
GoSublime.sublime-build * make build_command configurable Feb 3, 2013
GoSublime.sublime-commands switch to the new .actuate command Oct 6, 2018
GoSublime.sublime-settings start disabling GS features by default Jul 12, 2018
Indentation Rules.tmPreferences fix broken commenting when the Go package is disabled Dec 8, 2017
LICENSE.md - misc Jul 7, 2012
Main.sublime-menu * fix opening the wrong error log Jun 29, 2013
Preferences.sublime-settings - add global prefs... add dot(.) to trigger autocompletion Apr 24, 2012
README.md Update README.md Nov 11, 2018
SUPPORT.md Update SUPPORT.md Nov 11, 2018
THANKS.md Add Sander van Harmelen Mar 8, 2014
USAGE.md Cleaning USAGE.md Aug 31, 2013
_after.py automatically load _before.py and _after.py to allow hooking into GS … Jul 12, 2018
_before.py automatically load _before.py and _after.py to allow hooking into GS … Jul 12, 2018
gs9o.py add UI support for UserCmd prompts Aug 22, 2018
gscommands.py * implement goto definition with a dedicated margo.sh command goto.de… Jul 12, 2018
gscomplete.py use relative imports everywhere to avoid more of Python's BS Feb 1, 2018
gsdoc.py use relative imports everywhere to avoid more of Python's BS Feb 1, 2018
gsev.py remove UncleSam image Oct 6, 2018
gslint.py use relative imports everywhere to avoid more of Python's BS Feb 1, 2018
gspalette.py use relative imports everywhere to avoid more of Python's BS Feb 1, 2018
gstest.py use relative imports everywhere to avoid more of Python's BS Feb 1, 2018
margo_sublime.py move the top-level margo.py into gosubl/ to prevent reloading when th… Feb 18, 2018

README.md

GoSublime Backers on Open Collective Sponsors on Open Collective Build Status

Intro

GoSublime is an IDE-like plugin for Sublime Text 3 mainly, but not limited to, providing integration for most of your Go/Golang development tools.

See https://margo.sh/b/hello-margo/ for a brief introduction to margo, the engine behind GoSublime.

Installation & Support

See https://margo.sh/b/migrate/ for instructions on how to install GoSublime.

See SUPPORT.md for details about what level of support you can expect while using GoSublime.

Features

  • code completion from Gocode (fork);
  • context aware snippets via the code-completion popup;
  • sublime build system(ctrl+b) integrating with GoSublime 9o command prompt with live command output;
  • lint/syntax check as you type or on save;
  • quickly jump to any linter error reported in any open file or package;
  • quickly fmt your source or automatically on save to conform with your coding 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 or package;
  • 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.;
  • create your own margo extensions in Go to e.g. add context-aware commands to the command palette.

Demo

Copyright, License & Contributors

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

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

See https://margo.sh/funding/ for ways in which you can help support future development of margo and GoSublime.


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]