mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed Hide publications folder (/.publications) in study project view #43
do not show any folder which starts with "."
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ public class StudyTreeStructureProvider implements TreeStructureProvider, DumbAw
|
||||
if (project != null) {
|
||||
if (node.getValue() instanceof PsiDirectory) {
|
||||
final PsiDirectory nodeValue = (PsiDirectory)node.getValue();
|
||||
if (!nodeValue.getName().contains(EduNames.USER_TESTS) && !nodeValue.getName().equals(".idea")) {
|
||||
if (!nodeValue.getName().contains(EduNames.USER_TESTS) && !nodeValue.getName().startsWith(".")) {
|
||||
StudyDirectoryNode newNode = new StudyDirectoryNode(project, nodeValue, settings);
|
||||
nodes.add(newNode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user