Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363465 - [xtend] support "orgnaize imports" on packages
Summary: [xtend] support "orgnaize imports" on packages
Status: VERIFIED FIXED
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: v2.7
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 08:58 EST by Moritz Eysholdt CLA
Modified: 2014-08-21 08:13 EDT (History)
2 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-10 08:58:43 EST
1. select a java package that contains xtend files
2. trigger the context menu
3. select "source" -> "organize imports"

Expected behavior: imports in xtend files are organized.

Right now, if the package contains no Java files, the error message "the selection contains no compilation units" pops up.
Comment 1 Dennis Huebner CLA 2014-06-20 08:27:15 EDT
Pushed to review
https://git.eclipse.org/r/#/c/28805/
Comment 2 Dennis Huebner CLA 2014-06-20 10:01:49 EDT
Merged into master
Comment 3 Stefan Oehme CLA 2014-08-21 08:13:24 EDT
It works via the menu, but the more natural CTRL-SHIFT-O just gives me

"the selection contains no compilation units"

I assume there was no way to integrate with JDT?