In SublimeText 2 I can do: cmd + t
And then type either file names or folder names and the results displayed are files that either match files that match the term i'm searching for for files that are in a subfolder of the term i'm searching for, for example if I had directory structure like so:
/
/models
/users
/orders
/products
/views
/users
edit.rb
add.rb
/orders
edit.rb
add.rb
I could do cmd + t
And the type "orders"
and
the only two options that would show up would be
the /orders/edit.rb
and /orders/add.rb
file which i could key navigate down or type add more to the search term "orders edit"
and the only option would be "/orders/edit.rb"
How can i get this same functionality in RubyMine
Use Navigate
| File
, you can type the file name and directory name fragments, like or/ed
, use the slash as the separator. Middle matching is also supported.
More details available in help.
Press shift twice.
Search for Anything with Search Everywhere in IntelliJ IDEA http://mrhaki.blogspot.ca/2014/02/search-for-anything-with-search.html
来源:https://stackoverflow.com/questions/16093780/rubymine-search-project-for-file-by-path