1

I know this feature was available previously. Selecting 2 files inside a project, right clicking them and do a diff on both files. This does not work anymore on build 3103. After selecting both files, I right click and then one file gets deselected. Is there a fix for this?

MattDMo
  • 100,794
  • 21
  • 241
  • 231
merlin
  • 2,717
  • 3
  • 29
  • 59
  • Sublime Text has no native support to run diff, so I'm assuming you're using a third-party package, most likely FileDiff. Sounds like a bug, so you're better off [reporting](https://github.com/colinta/SublimeFileDiffs/issues) it to the author of the package! – idleberg Apr 13 '16 at 13:02
  • @idleberg [au contraire](http://stackoverflow.com/a/30012550/1426065). Sublime has always had a built-in diff functionality, as it's included in the Python stdlib. – MattDMo Apr 13 '16 at 16:24

1 Answers1

0

This appears to be a bug, but it only appears under certain conditions. I tested Build 3103 (the most recent public build) and the latest dev build 3111 (just released today, in fact) on OS X 10.10.5. First I picked two random files in one of the folders of my project that were not already open, clicked to select one, held down and clicked to select the other, then right-clicked on one and selected Diff Files.... The diff view opened up just fine in both 3103 and 3111.

However, if one or both of the files was already open in Sublime, it could not be selected in the sidebar in 3103, and therefore the Diff Files command wasn't accessible. Diffing worked just fine on open files in Build 3111.

So, if you're a registered user (and you really should be if you're using Sublime long-term or for commercial purposes), just download Build 3111 (or whatever the most recent dev build is when you read this) and you'll be all set.

MattDMo
  • 100,794
  • 21
  • 241
  • 231