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 20595 - Allow diff to use currently selected editor buffer as one of its input files
Summary: Allow diff to use currently selected editor buffer as one of its input files
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 blocker with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 96469 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-02-15 14:33 UTC by Peter Kalab
Modified: 2008-04-25 12:37 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 Peter Kalab 2002-02-15 14:33:13 UTC
Currently the diff module runs diff on two files that are selected in the Explorer. It would be useful if it was possible to run a diff where one file 
is the currently selected editor buffer and the second file is selected in the explorer, or perhaps a different editor buffer (not sure if Netbeans allows 
selection of an "inactive" buffer tab).

Thanks,
Peter
Comment 1 Martin Entlicher 2002-02-19 16:13:49 UTC
I'm not sure how the selection of inactive editor buffer would be
done.

On nbusers was suggested recently to also provide a diff between the
buffered modified version of the source file and the source on disk.
This is also quite nice functionality. I'm just mentioning it here,
since it's connected.
Comment 2 Marek Grummich 2002-07-22 09:46:24 UTC
Set target milestone to TBD
Comment 3 Martin Entlicher 2002-11-01 09:15:56 UTC
Changing to a feature, so that it shows in plans.
Comment 4 Martin Entlicher 2005-05-16 13:42:37 UTC
Would be nice to have. Scheduling for future.
Comment 5 Maros Sandor 2008-04-08 13:17:16 UTC
*** Issue 96469 has been marked as a duplicate of this issue. ***
Comment 6 Maros Sandor 2008-04-18 10:37:26 UTC
There is a new "Diff To..." action available on a single file selection and also on editor tabs. In the file selector
you can then choose a second file from file system or another editor tab to diff to.
8549be1c1cf6