Bug 186597 - [evaluation] evaluation actions should work on relevant expression
Summary: [evaluation] evaluation actions should work on relevant expression
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 201429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-11 12:28 EDT by Darin Wright CLA
Modified: 2007-08-31 17:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2007-05-11 12:28:17 EDT
3.3

When there is no explicit selection for an evaluation, we use the current word/identifier containing the caret for an evaluation expression. We should resolve a more relevant expression. For example, if the selected element is a field name, then the expression should be the field. If the selected element is a method, then the expression should include receiver and method arguments.
Comment 1 Darin Wright CLA 2007-05-11 12:28:28 EDT
Consider post 3.3
Comment 2 Curtis Windatt CLA 2007-08-31 15:51:08 EDT
*** Bug 201429 has been marked as a duplicate of this bug. ***
Comment 3 Davor Cubranic CLA 2007-08-31 17:11:58 EDT
What if there are multiple elements in the expression, something like "1+1" with cursor at the end?

How about working on the entire line when the cursor is at the end? I think that's how DoIt works in Squeak, for example.