boolean (@NotNull PsiFile file) { String path = file.getVirtualFile().getPath(); boolean isPlatform = path.contains("/platform/") && !path.contains("/platform/cwm-") && !path.contains("/platform/rd-"); // Rider lives in other repository, but also kind-of platform for Rider IDE boolean isRider = path.contains("/Rider/Frontend/rider/") || path.contains("/Rider/Frontend/rider-cpp-core/") || path.contains("/Rider/Frontend/rdclient-dotnet/"); return !isPlatform && !isRider; }