RubyMine 2025.2 Help

文件导航

RubyMine 提供工具和操作,让您可以快速定位并打开项目文件。

You can automatically locate a file in the Project

  1. 如果编辑器中打开了文件,请按 Alt+F1 打开 选择位置 弹窗。

    在弹出窗口中选择
  2. 在弹出窗口中,选择 项目视图 并按下 Enter。 RubyMine locates your target in the Project tool window .

请使用 导航栏 作为查找项目路径的便捷工具。

  1. Alt+Home 激活导航栏。

  2. 使用箭头键或鼠标指针定位所需文件。

  3. 双击选中的文件,或按 Enter 在编辑器中打开它。

    RubyMine 导航栏

    您可以单击导航栏中的 class 或接口以查看 方法 列表。 单击列出的某个 方法 可快速在编辑器中导航至该方法。

    导航栏:方法列表

访问文件位置

您可以快速导航至当前正在编辑的文件的位置。

  • Press Ctrl+Alt+F12 or right-click anywhere in the editor and select 在 Finder 中打开.

浏览文件路径

您可以从当前正在编辑的文件路径访问目录中的任意位置。

  1. Press Ctrl+Alt+F12 or right-click anywhere in the editor and select 在 | 文件路径中打开 from the context menu.

  2. In the 在 Finder 中显示 popup, select where to navigate and press Enter.

    在 Finder 弹窗中显示
最后修改日期: 2025年 9月 26日