Summary: | Evaluate actions of the Display view evaluate on empty selection (1GENSR6) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Darin Swanson <Darin_Swanson> |
Component: | Debug | Assignee: | Joe Szurszewski <eclipse> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Darin Swanson
2001-10-10 22:16:06 EDT
Suggest not to select current line - we cannot infer what the user wants to "inspect/display". However, we need to find out from EG, if action should just be disabled when no selection, or if we should provide a dialog explaining that an expression needs to be selected to be evaluated. From EG In your particular case of Display/Inspect: * automatically expanding the selection to the line is not consistent with the rest of the platform. In particular the user never sees this implicit selection and the wrong expression could be executed by accident. * recommend to just disable Display/Inspect when the selection is empty * to simplify the execution of the recently entered text, we could provide a short-cut (ctrl-w) that selects the text between the end of the last output and the current cursor position (see 5357) Fixed. Please verify in the display and Java Editor context menus and tool bars And the snippet editor. Verified in context menu and toolbar for snippet editor, in context menu and toolbar for DisplayView, and in context menu for java editor. |