RubyMine 6.3.0 Web Help

In this section:

To open a file for editing
  1. Do one of the following:
    • Double-click the desired file in one of the Tool Windows.
    • Select the desired file in one of the Tool Windows and press F4F4F4F4F4F4F4F12 or Ctrl+Shift+EF4Command Down or F4F4F3F4.
    • Select the desired file in the one of the Tool Windows and choose Jump to Source on the context menu.
    • Use the Navigate command for a Class, File, or Symbol.
    • Click the desired directory in the Navigation bar, and select file from the drop-down list: ruby_navigationBarOpenFile.png
  2. If the file type is registered, the file opens silently in RubyMine's editor.

    If the file type is registered under the category Files opened in associated applications, it will be opened in its associated application, rather than in the RubyMine editor. By default, RubyMine suggests a number of such file types, for example .doc, .chm, or .pdf.

    If the file type is unknown, RubyMine suggests you to choose whether you want to register a new file type, or open such file in its associated application. Specify your choice in the Register New File Type Association dialog box:

    Click thumbnail to view larger image.


    You can register the required file types on the File Types page of the Settings dialog box.

To open an external file, do one of the following
  1. Choose File | Open on the main menu and select the desired file in the dialog box that opens.
  2. Drag the required file from the Explorer (on Windows), File Browser (Linux), or Finder (on Mac) and drop it to the editor. The file will be opened for editing in a new tab.
To open a directory
To reopen a recent file, do one of the following:
  • To open a recently opened file, choose View | Recent Files on the main menu or press Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EShift+Alt+FCommand ECommand ECommand ECommand E. Then select the desired file from the Recent Files pop-up window, that opens.


  • To open a recently updated file, on the main menu, choose View | Recently Changed Files or press Ctrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+EShift+Meta+EShift Command EShift Command EShift Command EShift Command E. Then select the desired file from the Recently Edited Files pop-up window, that opens.


    Use Recent files limit text box in the Editor settings page to define the maximum number of recent files.

To open invisible files for editing in macos, follow these general steps

Perform this procedure, if you need to edit the invisible files (for example, ~/.profile, ~/.irbrc, ~/.irtrc, ~/.vimrc, ~/.rdboptrc, .htaccess, .htpasswd).

  1. Launch RubyMine in internal mode:
    • Close RubyMine, if it is running.
    • Open file /Applications/
    • In the section Java | VMOptions, append
    • Save Info.plist and launch RubyMine.

    In internal mode, the Tools menu shows item Internal Actions.

  2. Open Tools | Internal Actions | Registry and select the check box ide.mac.filechooser.showhidden.files. Thus invisible files will appear in the file chooser dialog box.

Important note


The maximum size of files parsed by RubyMine is controlled by the idea.max.intellisense.filesize setting in file, located in the bin directory of RubyMine installation. However, the larger file is, the slower its editor works and higher overall system memory requirements are.

See Also


Web Resources: