News for hackers. Stuff that matters.
Re:CodeEdit: Building a free, open-source code editor for macOS by HWR_14 on Sunday March 20, 2022 @11:12PM (#30749788)
Related question: What's people's preferred diff tool for code and directories of code on macOS? I haven't found one I liked since the Catalina update killed 32-bit apps.
Re:CodeEdit: Building a free, open-source code editor for macOS by sixstringtheory on Monday March 21, 2022 @01:57AM (#30750761)
Kaleidoscope. File/directory diffing and three way merging, everything can be done with key combinations. Nice interface, can be invoked from command line.
Re:CodeEdit: Building a free, open-source code editor for macOS by guessmyname on Monday March 21, 2022 @03:00AM (#30751060)
Here is a link for commodity: https://kaleidoscope.app
Re:CodeEdit: Building a free, open-source code editor for macOS by mekster on Monday March 21, 2022 @08:53AM (#30753511)
This is probably the best on macOS but as the app is being bounced between different companies (probably 3rd now), now they charge some crazy $165 for the license. At least it's not subscription but feels a bit too much for a diff app.
Re:CodeEdit: Building a free, open-source code editor for macOS by joerobot on Monday March 21, 2022 @12:00AM (#30750083)
I think Meld is a great tool. I haven't found another free tool that works as well. https://meldmerge.org/
Re:CodeEdit: Building a free, open-source code editor for macOS by eludwig on Monday March 21, 2022 @12:35AM (#30750319)
I've used Beyond Compare for many years. Interface is not super polished, but it gets the job done for me. For both Mac & Windows (https://www.scootersoftware.com)
Re:CodeEdit: Building a free, open-source code editor for macOS by readbeard on Monday March 21, 2022 @01:04AM (#30750499)
For git repositories in particular, I find Fork's [0] built-in diff tool to be pretty useful.

[0] https://git-fork.com

Re:CodeEdit: Building a free, open-source code editor for macOS by sgjohnson on Sunday March 20, 2022 @11:17PM (#30749816)
For me it’s the one that’s built into JetBrains IDEs.

Although for directories I believe it only works when combined with Git. I’ve never tried to compare 2 directories of code in a situation that wasn’t a Git changeset.

Re:CodeEdit: Building a free, open-source code editor for macOS by lelanthran on Monday March 21, 2022 @08:33AM (#30753313)
I dunno about directories, I only use the diff from within `git difftool`, and to keep things simple I only use what I find in the default brew repo.

Tkdiff: instant startup, stopped working on latest update so had to junk it. Was not thoroughly happy with it because it never remembered the monitor and position from instantiation to instantiation.

Meld: Very slow startup. Takes 3s or so. Unusable from within `git difftool` due to the insane lag.

Kdiff3: Fast startup, not as quick as Tkdiff, but around 200ms or so. Currently using it happily.

Re:CodeEdit: Building a free, open-source code editor for macOS by raju on Monday March 21, 2022 @07:30AM (#30752776)
There was a discussion around Meld and other tools just yesterday here at HN: https://news.ycombinator.com/item?id=30741123
Re:CodeEdit: Building a free, open-source code editor for macOS by grishka on Monday March 21, 2022 @02:10AM (#30750820)
As I mostly work on Java projects, the one built into Idea/Android Studio is a good one for merge conflicts.
Re:CodeEdit: Building a free, open-source code editor for macOS by xenonite on Monday March 21, 2022 @03:42AM (#30751335)
kdiff3 is my preferred tool, although homebrew doesn't offer M1 compiled binaries yet.