PR# 11148 Add keyboard shortcut to add a watch expression

Problem Report Summary
Submitter: paulbates
Category: EiffelStudio
Priority: Medium
Date: 2006/08/30
Class: Feature Request
Severity: Non-critical
Number: 11148
Release: 5.7.63005
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Synopsis: Add keyboard shortcut to add a watch expression

Description
I'm a keyboard junky and perfer not to use the mouse when possible.

For me, it's a pain to select a local or an expression and click the "New Expression" button in the watch window. Just as annoying is having to pick an drop a entity into the watch window, which is impossible for locals/arguments.

It would be nice if I could have the caret over a piece of text in the context tool (currently debugging) and press a key to add the word under the caret, to the watch tool. Better still would be to retrieve the entire expression upto the caret position. For example:

  "application.environment.current_working_directory"

If the caret was position over `environment' then the watch expression would yield:

  "application.environment"

Over `current_working_directory' would yield:

  "application.environment.current_working_directory"

In the event of a selection, the selected text would be the expression added to the watch window.

To Reproduce

										
Problem Report Interactions