Sublime Forum

How do I exclude folder and all subfolders from search?

#1

I want to exclude a data folder and all its subfolders from all searches. In my project file, I have the setting:

“folder_exclude_patterns”: [“C/Dev/project/data/*”]

… but I cannot get this to work. I can’t specify every subfolder because there are thousands of them. Is this supposed to be possible, and if so, what am I doing wrong?

0 Likes

#2

does it make a difference if you change C/ to C:/? or use Windows backslashes?: C:\Dev\project\data\*

maybe binary_file_settings will work better, despite the name:

0 Likes