When comparing GoSublime vs FileDiffs, the Slant community recommends GoSublime for most people. In the question“What are the best plugins for Sublime Text?” GoSublime is ranked 10th while FileDiffs is ranked 39th. 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 Allows you to open diffs in external diff tool
Instead of creating a new tab with the diff in it, you can tell FileDiffs to open the diff in an external diff tool for side by side comparison and other features.
Pro Easily compare arbitrary code sections
FileDiffs allows you to compare any arbitrary text through multiple commands:
- Compare the current file or selection with any other file via a file select menu
- Compare the current file or selection file with previously selected tab or window or panel
- Compare the current file or selection with your clipboard
- Compare between two selections through Sublime Text's multi-select feature
Pro Command pallet integration
In addition to providing shortcut commands for custom shortcuts, FileDiffs adds new command pallet entries. If you don't use diffs often enough to warrant memorizing a new shortcut command, the command pallet provides a quick and easy way to access the plugin.
Cons
Con Doesn't have side by side comparison
After running FileDiffs, it creates a new diff file in a new tab, which doesn't have the benefit of showing the diffs in context. However, it is possible to open the diff in an external diff tool instead of creating a new tab.