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

Bug 363465

Summary: [xtend] support "orgnaize imports" on packages
Product: [Tools] Xtend Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: CoreAssignee: Project Inbox <xtend-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: dennis.huebner, st.oehme
Version: 2.2.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: v2.7

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?