Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365191 - [xtend] refactoring: support package refactoring
Summary: [xtend] refactoring: support package refactoring
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.2.0   Edit
Hardware: Macintosh Mac OS X
: P3 enhancement with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 378347 432293 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-30 08:33 EST by Moritz Eysholdt CLA
Modified: 2014-11-11 09:31 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***