Sublime Forum

Ctrl-P search as "*m*y*s*e*a*r*c*h*"

#1

Hello,

I have for example in my project :
helloworld\app\controllers\Application.scala
helloworld\app\views\Application\fragment.scaml
etc…

I want be able to type “aca” for search, which be extended to “aca” and match :
helloworld**app**controllers**A**pplication.scala

This is used in lots of other text editor.
I think its a very nice feature :smile:

0 Likes

#2

Using upper case characters, e.g., “ACA”, would match the helloworld/app/controllers/Application.scala as in the example, as would using “a c a”

0 Likes

#3

Hum ? ACA match nothing.
And a c a match in any order, so it match also a a c :confused:

0 Likes

#4

Ah, yes, my mistake - it used to work that way. Upper case characters will match at the beginning of a word (e.g., ST would match sublime_text.cc), but not in the directory portion (nothing will match in the directory portion unless proceeded by a back slash).

0 Likes

#5

So what do you think of my request feature ?
Could you implement it ?

0 Likes

#6

There have been a few requests for this, and I think having it work the way you describe would be a better option than the way it currently works.

There is a significant UI overhaul scheduled for the next major release (after 1.4), I expect it’ll make it as part of that.

0 Likes

#7

Nice, thanks :smile:

0 Likes

#8

Awesome! I’ve been wanting this option (usually called “fuzzy search”, I think) for a long time.

0 Likes

#9

I think this wasn’t added as 1.4. Is it still in the works?

0 Likes

#10

This exists in Sublime Text X.

0 Likes