Skip to content

Commit 03f0cb2

Browse files
committed
add more excluded folders to TreeMapper
1 parent 998c44f commit 03f0cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SharpIDE.Application/Features/SolutionDiscovery/TreeMapperV2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static IEnumerable<SharpIdeFile> GetAllFiles(this SharpIdeFolder folder)
1212
.Concat(folder.Folders.SelectMany(sub => sub.GetAllFiles()));
1313
}
1414

15-
private static readonly string[] _excludedFolders = ["bin", "obj", "node_modules"];
15+
private static readonly string[] _excludedFolders = ["bin", "obj", "node_modules", ".vs", ".git", ".idea", ".vscode"];
1616
public static List<SharpIdeFolder> GetSubFolders(this SharpIdeFolder folder, IExpandableSharpIdeNode parent, ConcurrentBag<SharpIdeFile> allFiles, ConcurrentBag<SharpIdeFolder> allFolders) => GetSubFolders(folder.Path, parent, allFiles, allFolders);
1717
public static List<SharpIdeFolder> GetSubFolders(string folderPath, IExpandableSharpIdeNode parent, ConcurrentBag<SharpIdeFile> allFiles, ConcurrentBag<SharpIdeFolder> allFolders)
1818
{

0 commit comments

Comments
 (0)