This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The formatting of two version of a file often differs if several IDE:s are used in a project. It would be nice to have a option for diff to ignor *all* formatting. The following code would not be different: A: if (true) { foo = 1 + 3; B: if(true) { foo=1+3 ; Conceptually you could think of this enhancement as a bytecode diff operation.
This would be a great feature, since this is what you are up-to when compareing java files: What's been changed logically, and not what formatting has changed. I hope this will be implemented someday :-) Cheers, Tamas
It is not about ignoring the format. It is easier to format both sides the same way and then compare them. It would be also feasible to create a plugin for this. Both sides/streamsources (left and right) are being formatted before showing the creating the diff.
Hi, Basically the same thing :-) Just it would be great to be able to skip the code noise. additionally fields and methods could be sorted so their order would not matter as well. Cheers, T