
I use my trackpad and often resort to Control-click as a right-click or secondary-click. You'll notice only one tab in the editing panel.Ĭontrol-click is not the same as right-click. Then, when you Command-click the second file, you'll see its contents, but again, neither are open. When you select the first file, you'll see its contents, but it's not open. Standard Mac shorcut here, ( single) click the first file, then Command-click the second file. In this case, be sure to close it before trying to compare. Double-clicking a file or making a modification to a file will automatically change a file's status to "Open".

You can tell if a file is open if it's listed in the "Open Files" section at the top of the Side Bar. Single-clicking a file in the Side Bar does not open the file, but it does display it.

You can either "View > Side Bar > Show Side Bar" or use the shortcut, Command-K, Command-B.įiles must be closed (ie, saved) to compare. You will now see two root-level folders in your sidebar. Then, select "Project > Add Folder to Project", navigate to the folder you want and click "Open". If the files you want to compare are not part of the same hierarchy, first open the folder containing one of the files.

I'm using Sublime Text 3 (build 3143) on Mac and have been trying for about 30 minutes to find this File Compare feature. (This is very similar to Marty F's reply, but addresses some issues from previous responses, combines several different suggestions and discusses the critical distinction that gave me problems at first.) UPDATE JAN 2018 - especially for Sublime/Mac
