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

Bug 365191

Summary: [xtend] refactoring: support package refactoring
Product: [Tools] Xtend Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: CoreAssignee: Project Inbox <xtend-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: jan.materne, jan, joerg83reichert, sven.efftinge, thsoft, vladdu55
Version: 2.2.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Moritz Eysholdt CLA 2011-11-30 08:33:23 EST
I'm aware of two use cases that would be nice to support:

1. If a Java Package is renamed in the Package Explorer and the package contains Xtend files, the package declaration in these files should be adopted to the new package name.
2. Allow to trigger a rename refactoring on a package declaration within an Xtend file. The file would need to be moved to the new package during this refactoring.
Comment 1 Jan Koehnlein CLA 2012-11-07 05:20:55 EST
*** Bug 378347 has been marked as a duplicate of this bug. ***
Comment 2 Jan Koehnlein CLA 2012-11-07 16:48:10 EST
Should be a lot easier to implement now we have support for changes to resources taht have been moved/renamed within the same operation (IChangeRedirector).
Comment 3 Jan Koehnlein CLA 2014-11-11 09:31:18 EST
*** Bug 432293 has been marked as a duplicate of this bug. ***