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.
It is very usefull to mark an expression in editor and drag it to the debug windows. It is then added as a watch. I think that similar feature is quite common in other IDEs for a long time.
*** Issue 88446 has been marked as a duplicate of this issue. ***
Please also add the ability to add new watches by clicking on an empty "slow" in the watch window and typing the expression in directly. This is described in issue 88446.
*** Issue 83737 has been marked as a duplicate of this issue. ***
We currently can not add DnD support to debugger views, because the TreeTableView does not support it. We will add DnD support after it's supported by the TTV. - Adding dependency on issue #29031. *** This issue has been marked as a duplicate of 29031 ***
Well, I did not want to set it as duplicate ;-) reopening...
Another drag and drop use case: Drag one or more local variables from huge long tree in "Local Variables" window and drop it into "Watches" window
Can be implemented when we start using the new Outline View
*** Issue 149889 has been marked as a duplicate of this issue. ***
This issue is important for a partner that creates its own NB based IDE for embedded development
We actually plan to make this work into NetBeans 7.0. We have a UI specification of improvements in Watches window at http://wiki.netbeans.org/DebuggerVariables70#section-DebuggerVariables70-Watches However, this still depends on the OutlineView (issue #136658), which is not in an acceptable state yet, but should be fixed into 7.0.
It looks like the dependency has been fixed, so I'm curios if DnD feature is expected anytime soon?
*** Issue 154953 has been marked as a duplicate of this issue. ***
*** Issue 163636 has been marked as a duplicate of this issue. ***
And do not forget to implement a simple access to the editing watches. Double click and "Insert" key will be very fine. Thanks.
The Drag and Drop of watches was added for JPDA debugger in changeset: 155333:24a6e62d11e8 and changeset: 155334:000ddd04ed49 I'm working on a possibility to re-order watches via DnD and then will put DnD support into generic Watches view so that it works for all debuggers.
Integrated into 'main-golden', will be available in build *200912070253* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/24a6e62d11e8 User: mentlicher@netbeans.org Log: #44575 - Drag and Drop from/to Watches window works for JPDA debugger.
Re-ordering of watches via DnD is implemented in changeset: 155795:a51a2c023c3d http://hg.netbeans.org/main/rev/a51a2c023c3d
Integrated into 'main-golden', will be available in build *200912161400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a51a2c023c3d User: mentlicher@netbeans.org Log: #44575 - Drag and drop implemented for reordering also.
Finally fixed in generic Watches NodeModel in changeset: 156752:1a0a687e7af6 http://hg.netbeans.org/main/rev/1a0a687e7af6
Integrated into 'main-golden', will be available in build *201001150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1a0a687e7af6 User: mentlicher@netbeans.org Log: #44575 - DnD of watches moved to the generic watches NodeModel. Debuggers should implement NodeModelFilter to use the generic DnD functionality.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.