Bug 465019 - "Calculate Uses" should order packages
Summary: "Calculate Uses" should order packages
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-20 09:12 EDT by Andreas Sewe CLA
Modified: 2015-04-20 09:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sewe CLA 2015-04-20 09:12:23 EDT
"Calculate Uses" produces an unsorted list of uses constraints:

  Export-Package: org.eclipse.recommenders.jdt;
    uses:="org.eclipse.jdt.core,
     com.google.common.base,
     org.eclipse.jdt.core.dom,
     com.google.common.collect"

This makes it harder than necessary to spot what APIs are used, in particular in a textual diff (e.g., in Gerrit). It would be great if "Calculate Uses" could sort the packages:

  Export-Package: org.eclipse.recommenders.jdt;
    uses:="com.google.common.base,
     com.google.common.collect,
     org.eclipse.jdt.core,
     org.eclipse.jdt.core.dom"