3 ms·
Going to piggyback off of this thread and ask: does anyone know of an offline tool like this to show a visual diff between two pieces of text? Edit: I’ve been
by corytheboyd 3y ago
Going to piggyback off of this thread and ask: does anyone know of an offline tool like this to show a visual diff between two pieces of text?
Edit: I’ve been using JetBrains IDEs for at least 10 years now and never thought to type “diff” into the actions menu looking for this… well, sure enough, it’s there! It’s about the same as the merge conflict resolver, which is amazing.
- deleted 3y ago[deleted]
- hangonhn 3y agoIf you're on Windows you can try Win Merge? There are a lot more choices on MacOS and Linux too. Or you can just use the built in comparison ability of VSCode: https://vscode.one/diff-vscode/ https://vscode.one/diff-vscode/
- racl101 3y agoNot free but if you do a lot of text processing and want a power diff tool that even diffs CSV spreadsheets, for example, then Beyond Compare (https://www.scootersoftware.com/home https://www.scootersoftware.com/home) is something I'd recommend. It is not the most expensive nor the cheapest. But it does do visual diff really well. There's a Windows, MacOS and Linux version too.
- corytheboyd 3y agoMore than happy to pay for good software, thanks for the lead! Downloaded and will give it a go this week
- menthe 3y agohttps://github.com/dandavison/delta https://github.com/dandavison/delta
- dotancohen 3y agoAre you on a *nix system? It likely has the `diff` command already installed. $ cat one.txt Hello, I love you, won't you tell me your name? Hello, I love you, let me jump in your game. Hello, I love you, won't you tell me your name? Hello, I love you, let me jump in your game. $ cat two.txt Hello, I love you, won't you tell me your name? Hello, I love you, let me jump in your game. Hello, I love you, won't you tell me I'm lame? Hello, I love you, let me jump in your game. $ diff one.txt two.txt --- one.txt 2023-08-29 19:40:26.777082478 +0300 +++ two.txt 2023-08-29 19:40:43.773040158 +0300 @@ -1,4 +1,4 @@ Hello, I love you, won't you tell me your name? Hello, I love you, let me jump in your game. -Hello, I love you, won't you tell me your name? +Hello, I love you, won't you tell me I'm lame? Hello, I love you, let me jump in your game. In the terminal there is colour highlighting, it is much easier to see.