boolean (@NotNull VirtualFile file) { return FileTypeManager.getInstance().isFileIgnored(file) || ProjectUtil.isProjectOrWorkspaceFile(file) || FileUtil.isAncestor(PathManager.getConfigPath(), file.getPath(), false); // is config file }