ConfigParser config = YiiStormProjectComponent.getInstance(project).getYiiConfig();
if (config != null) {
HashMap<String, String> classMap = config.getComponentsClassMap();
if (classMap != null && classMap.size() > 0) {
for (String componentName : classMap.keySet()) {
completionResultSet.addElement(new ConfigComponentLookupElement(componentName, project));
}
}
}
}