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.
When adding a new WATCH I should just be able to shift focus to the WATCH window, click one "slot" past the last one and begin typing and it'll add a new WATCH. When I want to change the watch expression, I should be able to click on it and edit it in-place instead of having to go into the properties menu.
Ok, current approach could be slow when user is to add lot of watches.
Increasing priority, we have more reports in this area.
*** Issue 101926 has been marked as a duplicate of this issue. ***
*** Issue 101928 has been marked as a duplicate of this issue. ***
Adjusting the summary, we'll try to make it into M10.
I am a bit confused by the new summary. Just to make sure we're on the same page, my understanding is that this feature consists of two separate use-cases: 1) The ability to drag-n-drop selected text from the editor into the watch window 2) The ability to click on an "empty slot" and type a new watch "inline" Can you please clarify whether you plan on handling use-case #1 as well?
My mistake, use-case one is covered by a separate issue #44575.
Right. I consider this one to be about in-place editing and adding a new Watch by clicking one "slot" past the last one. Issue #44575 is about drag-and-drop.
It's implemented in trunk: /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/WatchesModel.java,v <-- WatchesModel.java new revision: 1.36; previous revision: 1.35 /cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesNodeModel.java,v <-- VariablesNodeModel.java new revision: 1.19; previous revision: 1.18 /cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesTableModel.java,v <-- VariablesTableModel.java new revision: 1.20; previous revision: 1.19 /cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesActionsProvider.java,v <-- WatchesActionsProvider.java new revision: 1.11; previous revision: 1.10 /cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesNodeModel.java,v <-- WatchesNodeModel.java new revision: 1.16; previous revision: 1.15
I don't really agree that this issue is completed fixed. I was expecting to be able to add watches directly in the watch window. Double clicking on the empty slot pops up the "Add Watch" wizard which is a good start but can't we do away with this wizard altogether and allow the user to type in the expression directly in the watch window? Should I open a new issue to that effect?
I've submitted issue #108861 for that. It's possible to get the row into the editing mode after several single-clicks, but this is because of some strange bug. One click should be enough. Please provide eny comments you have to the editing functionality into issue #108861. Thanks.
Reopening, we're removing this functionality due to implementation problems. (issue #108861) /shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/WatchesModel.java,v <-- WatchesModel.java new revision: 1.41; previous revision: 1.40 /shared/data/ccvs/repository/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/WatchesNodeModel.java,v <-- WatchesNodeModel.java new revision: 1.19; previous revision: 1.18
Implemented again in NB 6.8. It's based on Outline and should work more reliably.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.