LookupElementBuilder (@NotNull VcsRef item) { LookupElementBuilder lookupBuilder = super.createLookupBuilder(item); if (myColorManager.hasMultiplePaths()) { ColorIcon icon = RootIcon.createAndScale(myColorManager.getRootColor(item.getRoot())); lookupBuilder = lookupBuilder.withTypeText(getTypeText(item), icon, true).withTypeIconRightAligned(true); } return lookupBuilder; }