Skip to content

Commit

Permalink
fix(icon): fixes an issue that does not open folded directories (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavankjadda authored Feb 8, 2024
2 parents dc3a451 + f85a93c commit c0b06f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import com.intellij.ide.projectView.ProjectViewNode
import com.intellij.ide.projectView.TreeStructureProvider
import com.intellij.ide.projectView.ViewSettings
import com.intellij.ide.projectView.impl.ProjectViewPane
import com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode
import com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode
import com.intellij.ide.projectView.impl.nodes.PsiFileNode
import com.intellij.ide.util.treeView.AbstractTreeNode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class FoldableProjectSearchScope(
private val patternCache = PatternCache.getInstance(project)
private val patterns = pattern
.applySettings()
.split(',')
.split(' ')
.filter(String::isNotBlank)
.mapNotNull {
patternCache.createPattern(it, Syntax.GLOB)
Expand Down

0 comments on commit c0b06f4

Please sign in to comment.