Sublime Forum

file_exclude_patterns does not work reliable

#1

Hi,

I have a problem with Sublime Text (2 and 3) on my Mac OS (10.9.3).
I would like to ignore a specific file from the search, because often when I do a global search, I find the keyword in a minified javascript file which makes the results very confusing.
The ST Documentation presents the file_exclude_patterns parameter which should remove the corresponding files from my project structure as well as from the search. I configured my project as follows, but on a global search the result still shows a match in the ext-all.js file. What do I do wrong? What can I do?

{
	"folders":
	
		{
			"path": "/Users/lukas/Projects/MyProject/",
			"file_exclude_patterns": "ext-all.js"]
		}
	]
}
0 Likes

#2

What do you mean by “global search” ?
I’ve the same file in the “file_exclude_patterns” of my project and it didn’t shows on Goto Anything (“ctrl+p”).
I’m on ST3.

0 Likes

#3

I mean the “Find in Files” Function (File > Find in Files), where you can search in all files at the same time.

0 Likes