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

Bug 365182

Summary: [xtext/xtend] refactoring turns simple name into FQN
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Moritz Eysholdt CLA 2011-11-30 07:57:55 EST
Steps to reproduce:

1. create these files
----- Xtend ----
import x.Bar

class Foo extends Bar {	
}
---------------
----- Java ------
package x;

public class Bar {
}
---------------

2. Place your cursor on "Bar" in "class Foo extends Bar".
3. Refactor "Bar" to "Barr".

result: "class Foo extends x.Barr". I'd expect "class Foo extends Barr"
Comment 1 Moritz Eysholdt CLA 2011-11-30 08:03:17 EST
the same happens when an Xtend class is referenced instead of a Java class
Comment 2 Sven Efftinge CLA 2012-01-31 05:17:07 EST

*** This bug has been marked as a duplicate of bug 370135 ***