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.

Bug 96469 - Diff'ing of open files should be much easier
Summary: Diff'ing of open files should be much easier
Status: RESOLVED DUPLICATE of bug 20595
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: diff-issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 18:48 UTC by twolf2919
Modified: 2008-04-08 13:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description twolf2919 2007-02-23 18:48:16 UTC
The only way I know of diffing two open (in editor) files is to find their nodes
in the Project window, select them, and right-clicking Tools->Diff.  That is
VERY ornery if you have a couple large projects with deeply nested package
structures - especially since NB's Project window doesn't seem to track
currently open files.  I could have sworn I used to be able to do this diff'ing
by selecting one tab and then maybe right-clicking on the second file's tab and
selecting 'diff'....but maybe I'm hallucinating.  But consider this a suggestion
for improving the current implementation.

Here's my specific use case:
I'm looking for a specific class, so I do my usual Alt-Shift-O and I see two
classes with the same name but different projects/packages.  I peruse one...then
the other...they appear to be the same so I want to diff them.  Hm.....one is in
package a.b.c.d.e.f in Project A, the other is in g.h.j.k in Project B....gotta
find/select each: do a "Find in->Projects" on the first and, voila, it selects
in the project tree.  But after doing "Find in->Projects" for the second one,
the first one becomes unselected and one must search for that Class by reading
through the project tree and then right-clicking on it and Tools->Diff.....very
frustrating.
Comment 1 Marian Mirilovic 2007-08-09 16:00:15 UTC
Hmm, to be honest I can't imagine better way how to do that.
Comment 2 Maros Sandor 2007-08-09 16:08:56 UTC
I agree this can be annoying at times, we'll think of something more straightforward. Do you have any suggestions/ideas?
Comment 3 _ moser 2007-08-09 16:13:56 UTC
As already said: an action like "Diff to current editor tab" added to the context menus of appropriate explorer nodes
and editor tabs would be nice.
Comment 4 Maros Sandor 2008-04-08 13:17:16 UTC

*** This issue has been marked as a duplicate of 20595 ***