RubyMine search project for file by path

为君一笑 提交于 2019-12-07 06:01:03

问题


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


回答1:


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.




回答2:


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!