![]() 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. If Sublime/Mac is running, select "File > Open", navigate to the desired folder, don't select a file or folder and click "Open".Īdd a folder to a project.If Sublime/Mac is not running or if it's running but no windows are open, drag a folder onto the Sublime app.If you want to compare two files, they must be saved to disk and part of the current project. Many instructions above start with "Select File > Open Folders," but that doesn't exist on Sublime/Mac.įile compare works on a Project basis. There is no File > Open Folders on Sublime/Mac. ![]() I have successfully compared files that are UTF-8, ISO-8559-1, and Windows-1252. The file format does not need to be UTF-8. I had used it before on Sublime/Mac without any problems, but this time, it was trickier. ![]() 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
0 Comments
Leave a Reply. |