3

I know there are many suggestions on here discussing compatible editors for a Macintosh, but I haven't found any in this regards.

What I love about Notepad++ is the "compare" plugin. I use it for comparing java, xml, and more. What I get in return is a side by side comparison that scroll in sync and the diffs are highlighted not placed in a separate from at the bottom that I must click on to see the difference. Is there any editor out there for Mac that shows a side-by-side comparison with differences highlighted?

1

5 Answers 5

5

I am a fan of BBEdit. You can get a free version of the same called TextWrangler, which is also awesome. Both support this type of diff.

5
  • Ah, you beat me to the TextWrangler thing.
    – 에이바
    Dec 10, 2010 at 16:20
  • @에이바: yup. 4 more
    – Matt Ball
    Dec 10, 2010 at 16:21
  • 1
    @에이바, there's always the "delete" link!
    – Arjan
    Dec 10, 2010 at 16:50
  • I had TextWrangler already, so I went with that. Very good comparison tool more than what I expected it moving changes between two files a breeze. Saved me hours of work.
    – b01
    Aug 6, 2013 at 15:16
  • to compare the files Search->Find Differences. Jan 4, 2019 at 3:54
2

If you have installed Developer Tools:

/Developer/Applications/Utilities/FileMerge.app
0

MacVim with VimDiff in action:

VimDiff

Just enable scrollbind and you have what you want.

0

TextMate is a popular editor, but I don't know if the comparison works.

1
  • It's a color-highlighted unified diff (at least that's what I use). Nothing fancy.
    – Daniel Beck
    Dec 10, 2010 at 19:52
0

Visual Studio Code does a bang-up job. I now miss npp a little less.

vs code compare preview

Here's some instructions on how to do it - it's all straightforward.

1
  • Right now this answer is a link-only answer. Including the relevant information from the link(s) so that the entire answer is here will make it more useful, and less likely to be removed. Aug 31, 2017 at 0:18

You must log in to answer this question.