README ¶
GoSublime
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]
Directories ¶
Path | Synopsis |
---|---|
something_borrowed
|
|
Go
we want to re-use the existing Go syntax, but AFAIK, there's no way to do that if we disable the Go package...
|
we want to re-use the existing Go syntax, but AFAIK, there's no way to do that if we disable the Go package... |
src
|
|
gosublime/something-borrowed/types
Package types declares the data structures for representing Go types and implements typechecking of package files.
|
Package types declares the data structures for representing Go types and implements typechecking of package files. |
margo.sh/mgutil
Package mgutil is a collections of utility types and functions with no dependency on margo.sh/mg
|
Package mgutil is a collections of utility types and functions with no dependency on margo.sh/mg |