Is there a diff tool that allows copy-paste
Is there a diff tool that allows you to paste two segments of text and get a diff? I can't use an online tool because I'm dealing with proprietary data, and I haven't found a tool that provides that featu开发者_开发技巧re.
Try WinMerge. It'll do that.
Steps:
- Download and install winmerge
- Open WinMerge & Create new
<CTRL+N>
- Paste into left & right, then refresh
<F5>
In case anyone comes here looking for a tool for Macs that can do this, it seems that there are two tools that can do just this.
Beyond Compare, the Mac version is currently in beta.
Kaleidoscope app
- Copy first text
- File -> New from Clipboard
- Copy second text
- Edit -> Paste to comparison
Unfortunately, it doesn't seem to be possible to change the texts once they've been pasted.
There is also a similar (closed) question (the question itself was for a Mac tool, but at least one answer has an alternative diff tool for Windows):
Diff tool for Mac without saving text to files
For those who use Atom, there’s the split-diff package.
KDiff3 can do that too. On startup just Cancel the open dialog and than copy&paste snippets into the two panes. It immediately (re)computes their diff.
Notepad++ makes it really easy to do that: paste first text, open new tab, paste second text then Plugin > Compare > Compare.
Make sure you have the compare plugin installed.
Source: https://stackoverflow.com/a/15817384/965176
I think this might be what you're looking for - Line Diff - it's a online tool that takes as input two snippets of code/text, diff them and then render a nice github like html page (permanent or temporary stored) that you can then share with coworkers.
I used BBEdit (Mac OS X):
- paste your snippets into 2 separate new documents (without saving)
- go to search → find differences
- using the clock icon, pick your new documents
The app has a subscription model, but this doesn't seem to be a premium feature.
You can try online tools it's good
https://www.diffchecker.com/
Or you can try KDIFF3 its also a good tool http://kdiff3.sourceforge.net/
also you can try online diff tool , maybe it's useful to you.
精彩评论