void (@NotNull JList<?> list, Object value, int index, boolean selected, boolean hasFocus) { setPaintFocusBorder(false); setIcon(EmptyIcon.ICON_16); setFont(list.getFont()); SearchEverywhereCommandInfo command = (SearchEverywhereCommandInfo)value; append(command.getCommandWithPrefix() + " ", new SimpleTextAttributes(SimpleTextAttributes.STYLE_PLAIN, list.getForeground())); append(command.getDefinition(), new SimpleTextAttributes(SimpleTextAttributes.STYLE_PLAIN, JBColor.GRAY)); setBackground(UIUtil.getListBackground(selected, hasFocus)); }