RubyMine 按路径搜索文件的项目 [英] RubyMine search project for file by path

查看:36
本文介绍了RubyMine 按路径搜索文件的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 SublimeText 2 中我可以:cmd + t

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

我可以 cmd + t

I could do cmd + t

以及类型 "orders" 和唯一会出现的两个选项是/orders/edit.rb/orders/add.rb 文件,我可以通过按键向下导航或输入更多内容到搜索词 orders edit" 唯一的选项是 "/orders/edit.rb"

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"

如何在 RubyMine 中获得相同的功能

How can i get this same functionality in RubyMine

推荐答案

Use Navigate |File,可以输入文件名和目录名片段,如or/ed,使用斜线作为分隔符.也支持中间匹配.

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.

更多详情在帮助中提供.

这篇关于RubyMine 按路径搜索文件的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆