Home Download Buy Blog Forum Support

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

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

Postby oxman on Sun Aug 29, 2010 10:05 am

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 "*a*c*a*" and match :
helloworld\app\controllers\Application.scala

This is used in lots of other text editor.
I think its a very nice feature :)
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am

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

Postby jps on Sun Aug 29, 2010 10:11 pm

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"
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

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

Postby oxman on Sun Aug 29, 2010 10:23 pm

Hum ? ACA match nothing.
And a c a match in any order, so it match also a a c :/
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am

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

Postby jps on Sun Aug 29, 2010 11:17 pm

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).
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

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

Postby oxman on Mon Aug 30, 2010 12:07 am

So what do you think of my request feature ?
Could you implement it ?
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am

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

Postby jps on Tue Aug 31, 2010 12:58 am

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.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

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

Postby oxman on Tue Aug 31, 2010 7:55 am

Nice, thanks :)
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am

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

Postby edanm on Fri Sep 17, 2010 9:56 pm

Awesome! I've been wanting this option (usually called "fuzzy search", I think) for a long time.
edanm
 
Posts: 131
Joined: Thu Mar 04, 2010 11:05 pm

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

Postby edanm on Thu Nov 25, 2010 3:30 pm

I think this wasn't added as 1.4. Is it still in the works?
edanm
 
Posts: 131
Joined: Thu Mar 04, 2010 11:05 pm

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

Postby adzenith on Thu Nov 25, 2010 7:42 pm

This exists in Sublime Text X.
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 9 guests

cron