When comparing FileDiffs vs Git Gutter, the Slant community recommends Git Gutter for most people. In the question“What are the best plugins for Sublime Text?” Git Gutter is ranked 7th while FileDiffs is ranked 39th.
Ranked in these QuestionsQuestion Ranking
Pros
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.
Pro Makes it really easy to see if a line has been inserted, modified or deleted.
Pro Has hot keys for jumping to the next changed line in the file
Git Gutter exposes the commands git_gutter_next_change
and git_gutter_prev_change
for navigating to parts of the file that are different from git. By default they're bound to ctrl+shift+alt+j
and ctrl+shift+alt+k
respectively, but you can change them in your user key bindings file.
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.
Con Directory locking causes issues when changing branches
If you have Sublime Text 3 open when switching branches directories are not removed if they are specific to a branch. This can create a real mess as the directory is treated as a new addition to the destination branch. Deleting the directory is still seen as a directory added then removed in the branch.