Skip to content

Commit 03aa415

Browse files
committed
Increase relevance of Import-Package quick-fix proposals
The proposals to add bundle requirements has a value of 16. Assign a relevance of 20 to Import-Package proposals to show them higher up in the list.
1 parent 3cca022 commit 03aa415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/correction/java/QuickFixProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public void addResolutionModification(IProject project, ExportPackageDescription
274274
// same package
275275
if (addedImportPackageResolutions.add(desc.getName())) {
276276
var change = JavaResolutionFactory.createImportPackageChange(project, desc, cu, typeToImport);
277-
result.add(JavaResolutionFactory.createJavaCompletionProposal(change, 4));
277+
result.add(JavaResolutionFactory.createJavaCompletionProposal(change, 20));
278278
isDone = true;
279279
}
280280
}

0 commit comments

Comments
 (0)