mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11:28 +07:00
IDEA-359168 Workspace: impossible to remove unloaded project from workspace
GitOrigin-RevId: 766a9897b9054b1833e859355b7b79bd5712a9aa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
05d0cc2621
commit
09f5e6cd9b
@@ -99,6 +99,7 @@ public final class ProjectRootsUtil {
|
||||
return directoryFile.equals(contentRootForFile);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static String findUnloadedModuleByContentRoot(@NotNull final VirtualFile root, @NotNull Project project) {
|
||||
if (project.isDefault()) return null;
|
||||
ProjectFileIndex fileIndex = ProjectFileIndex.getInstance(project);
|
||||
|
||||
Reference in New Issue
Block a user