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

Bug 449295

Summary: Add the ability to "rename" a variable in code, renaming all occurrences at once
Product: [Eclipse Project] JDT Reporter: Ryan White <R160K>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: Lars.Vogel
Version: 4.4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ryan White CLA 2014-10-30 00:55:40 EDT
One should have the ability, like in Visual Studio, to right-click a variable in code and "rename" it: changing all relevant instances of that variable name at once. Eclipse is already capable of identifying relevant instances of a variable name (as it can highlight them all whenever one instance is selected), so this shouldn't be too massive an undertaking for someone familiar with the source.
Comment 1 Lars Vogel CLA 2014-10-30 01:08:48 EDT
This is available as Refactor -> Rename right-click menu or as shortcut SHIFT+Alt+R.