Sublime Forum

Sublime Text 4 - doesn't find text in all files using "Find in Folder"

#1

Hi, I used “Find in Folder” from my top folder looking for “previewNode” (no quotes). It only found it in one javascript file so I thought, obviously, it was only in that file. After hours of cache clearing, etc, I finally fired up grep an it found it in two files; both in the same folder. Any ideas?

As a newbie I can only attach one image so here’s my best putting 3 together:

System: Windows 10
Sublime Text 4 - Stable Channel, Build 4126

0 Likes

#2

Oh, just noticed that I forgot to add that I’ve tried it removing , with the same result.

0 Likes

#3

Seems like it’s only finding owner_archive.js due to the file being open. Perhaps your project/settings are excluding that directory or your path is invalid?

0 Likes

#4

Thanks for your response! That wasn’t the problem, but I figured it out. I had set up a file_pattern to not scan any “min” javascript files:

"binary_file_patterns": 
	[
		"bootstrap*.*",
		"jquery*.*",
		"*min*.js"
],

But it was flagging the file “admin_message_board.js” since it had “min” and “.js”

Just putting it here in case anyone else is having weird search results. :slight_smile:

0 Likes