mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show display name instead of id
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ public class InjectLanguageAction implements IntentionAction {
|
||||
assert language != null;
|
||||
final FileType ft = language.getAssociatedFileType();
|
||||
setIcon(ft != null ? ft.getIcon() : EmptyIcon.ICON_16);
|
||||
setText(value + (ft != null ? " (" + ft.getDescription() + ")" : ""));
|
||||
setText(language.getDisplayName() + (ft != null ? " (" + ft.getDescription() + ")" : ""));
|
||||
}
|
||||
});
|
||||
new PopupChooserBuilder(list).setItemChoosenCallback(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user