Sublime Forum

How to compare files in ST4?


Native Diff is only if both files are in the same folder or project.
Compare Side by Side plugin is incorrectly opening windows in ST4.
What’s the better solution now?


1 Like


Thanks. I read this post but I don’t have this file:
I only have this:
"C:\Users\Rogerio\AppData\Roaming\Sublime Text 3\Installed Packages\Compare Side-By-Side.sublime-package"

What I have to do?



Open Compare Side-By-Side.sublime-package with 7zip or WinRAR. Drag and drop the in Sublime Text. Add the following lines to file:

		# move view 1 to group 1

		new_window.set_view_index( new_window.active_view(), 0, 0 )

Remember this must be exactly in line 572 and line 573 of the file and with the right spaces. For a visual example, please see the Pull request on Bitbucket. After that, save changes and restart ST4.

1 Like


There’s also Sublimerge, which allows this without needing to pull plugins out and modify them (though it is a commercial package; you can evaluate it first though).

1 Like