Sublime Forum

Case sensitivity in folder_exclude_patterns?

#1

The documentation does not describe the behaviour for folder_exclude_patterns. I’d like to know if rules are case sensitive and support regular expression for Linux OS.

I need rules for

build*/
debug*/
release*/

Are excluded files, folders and binary_file_patterns still indexed? Doesn’t seem to make sense to index these files yet index_exclude_patterns defaults to

"index_exclude_patterns": ["*.log"]

so I think I should throw in all these there, too.

P.S.: regex is not the correct term here but I can’t come up with the right one :frowning:

0 Likes

#2

folder_exclude_patterns is case sensitive and supports regex in Linux.

0 Likes

#3

The term you’re looking for is most likely “pattern matching”, here with a * wildcard.

The exact algorithm for how ST performs these matches isn’t known, but there has been some experimentation. (I’m on mobile though and don’t want to bother searching the github issues right now, thoufg.)

1 Like

#4

folder_exclude_patterns
Excludes the matching folders in the project from the side bar, Goto Anything and any project-wide action.
From: http://docs.sublimetext.info/en/latest/reference/settings.html?highlight=folder_exclude_patterns

0 Likes