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

Key: IDEABKL-1017
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Dmitry Jemerov
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

Diff tool : more/smarter ignore options when comparing java code

Created: 07 Feb 05 19:33   Updated: 09 Apr 07 18:17
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=15824
When you're looking for duplication between 2 classes, that you're trying to merge, it would be useful if /diff/ had options to ignore :

(the easy part)
1/ comments differences
2/ import differences

(the less easy)
3/ simple expressions form differences
ex:

name = "John" + " " + "Doe";
equals
name = "John Doe";

nofSeconds = 3600 ;
equals
nofSeconds = 60 * 60 ;

we could much further, but this would be a nice start.



 All   Comments   Work Log   Change History      Sort Order:
Taras Tielkes - 03 Apr 07 13:07
Seems the same as IDEABKL-725

Erb - 09 Apr 07 18:17
I'd lose the "less easy part" (that's a different animal), and replace easy #2 with spaces in strings. So the request should be "ignore./do not ignore spaces in strings and comments". Because IDEA can already do special handling on strings and comments.