Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 90529

Summary: Rename in file no longer selects token
Product: [Eclipse Project] JDT Reporter: Randy Hudson <hudsonr>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Randy Hudson CLA 2005-04-06 16:38:53 EDT
When invoking the quick fix to rename a class name or variable, the selection is
no longer set to the thing being renamed, forcing you then double click or
select the term being renamed.
Comment 1 Michael Valenta CLA 2005-04-06 16:43:41 EDT
This sounds more like a JDT Text issue
Comment 2 Dani Megert CLA 2005-04-07 04:24:01 EDT
This is an intentional change: we no longer override the users current selection.
Comment 3 Randy Hudson CLA 2005-04-07 13:49:24 EDT
If the current selection has no length, then how is it useful to NOT select the 
item being renamed?

Well, at least it's good to know that things are intentionally harder to use.
Comment 4 Dani Megert CLA 2005-04-08 03:53:39 EDT
>Well, at least it's good to know that things are intentionally harder to use.
That's what we try every day. Just tell us what else is needed ;-)

Have: f<caret>Case, start rename to add "Test": type "Test" and it's done
Have: fTyy<caret>po, start rename to fix typo: one backspace and it's done

Previously you had to revert the selection that had been forced on you.