Set<VirtualFile> () { Set<VirtualFile> standardResources = myStandardResources.getValue(); Set<VirtualFile> roots = new HashSet<>(standardResources.size() + 1); roots.addAll(standardResources); String path = FetchExtResourceAction.getExternalResourcesPath(); VirtualFile extResources = LocalFileSystem.getInstance().findFileByPath(path); if (extResources != null) { roots.add(extResources); } return roots; }