Bug 244662 - Make editing Watch Expressions easier (in Expressions view)
Summary: Make editing Watch Expressions easier (in Expressions view)
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 04:24 EDT by Dominik Hurnaus CLA
Modified: 2008-08-20 09:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Hurnaus CLA 2008-08-20 04:24:45 EDT
Editing watch expressions currently requires the following steps:
* select the watch expression in the Expressions view
* right click expression
* select "Edit Watch Expression"

Unfortunately there are no hot keys for editing the expression (I don't like context menus and navigating around with the mouse too much).

I would suggest to create a hot key (e.g. "F2") that opens the "Edit Watch Expression" dialog, when a watch expression is selected, and/or open the dialog when the user double clicks a watch expression.

The improved behavior would require the following steps for editing watch expressions:
* select the watch expression in the Expressions view
* press F2

Similarly, adding watch expressions could be simplified by opening the "Add Watch Expression" dialog when the user double clicks in an empty area within the watch expression view.
Comment 1 Curtis Windatt CLA 2008-08-20 09:46:18 EDT
You can use Shift-F10 to open the context menu and then hit 'e' to edit or 'a' to add a watch expression.

Double clicking is typically reserved for expanding/collapsing in a tree.  If accidentally missing the text results in a new expression, I could see some people getting annoyed.