When comparing GoSublime vs Sublimerge, the Slant community recommends GoSublime for most people. In the question“What are the best plugins for Sublime Text?” GoSublime is ranked 10th while Sublimerge is ranked 26th. The most important reason people chose GoSublime is:
* 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
Ranked in these QuestionsQuestion Ranking
Pros
Pro Provides code completion and other IDE-like 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
Pro Three-way diff allows easy merging of files
Pro sublimerge
i recommend Sublimerge
Pro Highlights intraline changes
Pro Built-in support for Git, Subversion and Mercurial commands
Sublimerge automatically integrates with your version control history, and lets you compare between revisions, branches, remotes, and the staging area.
Pro Can compare to clipboard contents
Cons
Con Bad tech support
Con It's NOT Open Source
You can't fix or, implement nothing. And when the developer abandons the project you will be left in the lurch.
Con It's not free
Nither as free price nor as free in freedom.
Con Cannot compare text within the same file
Sublimerge can only compare entire file diffs, but not two selections within a file. Comparing within files can be useful for example, by refactoring two similar functions to use a shared function. With Sublimerge, you need to copy the sections into two new temporary tabs and compare between the two. This can be cumbersome, as if you have another untitled file, you won't be able to know which one is which.