Sublime Forum

Sublimetext search does not work

#1

Hello,

[os : win7]

I was surprised I could not find some result then I realized, what I was searching was there, but sublime could not find it
also it is an angular project, there are zillion files to search in, way more than 38

(I shrinked ST to avoid big pictures in this posts)

http://img4.hostingpics.net/pics/289395Untitled.png

here in notepad ++ :

[I cannot post the image of notepad++ showing the actual result becos I am a new user (nice) admin, can you add this image from http://www.hostingpics.net ? —> viewer.php?id=924275Untitled.png ]

am I doing something wrong ? (regexp are not enabled)

thanks

0 Likes

#2

do you perhaps have binary_file_patterns set in your project or default preferences, that causes your systemjs.config.js file to be excluded from search?

0 Likes

#3

it is a text file (javascript)

http://www.hostingpics.net/viewer.php?id=924275Untitled.png

0 Likes

#4

right, so it should be searched. That is why I am asking if your ST settings are mistakenly set to treat it as a binary file, as this is the main reason that would prevent a file from being included in Find in Files.

0 Likes

#5

yes,I added a file_exclude_patterns for js files, so probably it’s the reason

but why does ST only search through 38 files? there should be a lot more

0 Likes

#6

Iirc you had to specify cygwin-style pasts like /c/Users/... for find in files. I wonder why it searches 38 files in the first place as I would expect none.

0 Likes

#7

I use /src
and there are not only .js files so it actualy searches through some files

0 Likes