History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-1530
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Maxim Shafirov
Votes: 1
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Compare two arbitrary folders. Show like diff view in CVS commit

Created: 07 Feb 05 19:49   Updated: 16 Oct 06 17:15
Component/s: Diff/Merge
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
http://www.intellij.net/tracker/idea/viewSCR?publicId=29979
This would be a very useful feature as Compare Two Files is. It just takes it one step further.
Folders are either different or identical. A folder is different iff it contains items that the other doesn't, doesn't contain items that the other does, or if any of its matching (by name) items are different (recursive on folders). Files are different according to standard diff. If a file cannot be compared with diff (such as an unregistered file type), then there are two options:
1. byte comparison, which is slow
2. size comparison, which is fast but potentially inaccurate.
File and folder timestamps should be ignored.

This is an incredibly useful feature for comparing (at a glance, rather than being deluged with output as most diff programs give) very similar, but slightly modified folder structures. Example, if I have two versions of some project and I want to see what was changed between them. If you can see this a la CVS commit, but without the dependency on CVS, that would be fantastic. Also should have ability to double-click on the file to perform a visual diff on the files.

Attached is a simple Ruby script which I use to perform this operation when I need to. If you have ruby configured properly you can just type 'ddif folderA folderB'.



 All   Comments   Work Log   Change History      Sort Order:
Tim Haley - 07 Apr 05 16:53
You might want to check out Beyond Compare http://www.scootersoftware.com for an example of how this can be done extremely well.