Home Download Buy Blog Forum Support

filtering dirs in Ctrl+P

filtering dirs in Ctrl+P

Postby baael on Sat Sep 26, 2009 12:05 pm

Hi, I just give a try to Sublime. I like it, but I have still many problems with it. One which is more important for me is how to find files in quick open from project (Ctrl+P) window by directory.

Now when I type:
"app"
it shows:
application_controller.rb
application_users.rb
etc

I need it to filter it like it (example):
app/models/file.rb
app/helpers/file.rb
app/models/file.rb
application_controller.rb
application_users.rb

And like it:
"app/"
app/models/file.rb
app/helpers/file.rb
app/models/file.rb

Is it possible?
Thanks.
baael
 
Posts: 2
Joined: Sat Sep 26, 2009 11:59 am

Re: filtering dirs in Ctrl+P

Postby jps on Sat Sep 26, 2009 12:27 pm

You can use a backslash after the name, so searching for "app\" will select all directories named app.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: filtering dirs in Ctrl+P

Postby Henrik on Sun May 16, 2010 12:51 pm

Is there a guide on how to use pattern matching in CTRL+P somewhere? For example, can I match partial directory names or do I always have to know the full directory name? It would be useful to show all files with a certain name constrained to all folders that begins with a certain string.
Henrik
 
Posts: 13
Joined: Mon Dec 21, 2009 3:09 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], fizzicist, Google [Bot] and 12 guests