MCPcopy
hub / github.com/DisposaBoy/GoSublime

github.com/DisposaBoy/GoSublime @v20.06.14 sqlite

repository ↗ · DeepWiki ↗ · release v20.06.14 ↗
2,921 symbols 8,376 edges 264 files 641 documented · 22%
README

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

  • Old demo http://vimeo.com/disposaboy/gosublime-demo2

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]

Extension points exported contracts — how you extend this code

Type (Interface)
All types implement the Type interface. [12 implementers]
src/gosublime/something-borrowed/types/types.go
ClientAction (Interface)
ClientAction is an action that may be sent to the client. [5 implementers]
src/margo.sh/mg/actions/action.go
Object (Interface)
An Object describes a named language entity such as a package, constant, type, variable, function (incl. methods), or la [5 …
src/gosublime/something-borrowed/types/objects.go
OutputStream (Interface)
(no doc) [4 implementers]
src/margo.sh/mgutil/iowrapper.go
Caller (Interface)
(no doc) [17 implementers]
src/gosublime/cmd/margo_pkg/registry.go
KVStore (Interface)
KVStore represents a generic key value store. All operations are safe for concurrent access. The main implementation i [1 …
src/margo.sh/mg/db.go
PathFilterFunc (FuncType)
PathFilterFunc returns true if path should not be ignore (when walking GOPATH, etc.)
src/gosublime/margo/opts.go
EditorConfig (Interface)
EditorConfig is the common interface between internally supported editors. The main implementation is `sublime.Config` [1 …
src/margo.sh/mg/state.go

Core symbols most depended-on inside this repo

get
called by 207
gosubl/kv.py
append
called by 181
src/margo.sh/mg/ctx.go
Lock
called by 119
src/margo.sh/mgutil/nocopy.go
Pos
called by 115
src/margo.sh/golang/goutil/goutil.go
String
called by 94
src/gosublime/something-borrowed/types/types.go
errorf
called by 87
src/gosublime/something-borrowed/types/errors.go
pos
called by 72
src/gosublime/something-borrowed/types/operand.go
underlying
called by 56
src/gosublime/something-borrowed/types/predicates.go

Shape

Method 1,552
Function 842
Struct 327
Class 105
TypeAlias 48
FuncType 26
Interface 21

Languages

Go73%
Python27%

Modules by API surface

gosubl/gs.py81 symbols
src/gosublime/something-borrowed/gocode/decl.go70 symbols
src/margo.sh/vfs/vfs.go61 symbols
src/margo.sh/htm/htm.go60 symbols
gs9o.py60 symbols
gosubl/margo_state.py58 symbols
src/margo.sh/mg/reducers.go56 symbols
gosubl/margo.py56 symbols
src/gosublime/something-borrowed/types/gcimporter.go47 symbols
gosubl/mg9.py46 symbols
something_borrowed/diff_match_patch/python3/diff_match_patch.py42 symbols
something_borrowed/diff_match_patch/python2/diff_match_patch.py42 symbols

For agents

$ claude mcp add GoSublime \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact