RubyMine 7.0.0 Web Help

In this section:

Basics

RubyMine allows you to work with several projects simultaneously. So doing, RubyMine suggests the following options:

  • Each project is opened in its own window. The projects are independent, and cannot share information, except for the Clipboard operations. All the projects run in the same instance of RubyMine and use the same memory space.
  • A newly opened project shares the same window as the already opened one. So doing, the project that has already been opened, is considered the primary project, and is always shown first in the Project tool window. All the other projects are added to the primary project.

    Symbols from the added projects are visible from the primary one, but not vice versa.

    6.0+

    Some settings ( Ruby SDK and gems, content roots) can be configured separately for each project.

Prerequisite

Make sure that one of the options Open project in a new window or Confirm window to open project in in the System Settings page of the Settings dialog is selected.

Opening multiple projects

To open multiple projects
  1. Open a project, while another one is already opened. RubyMine prompts you to select whether you want to open the project in a new window, or reuse the existing window.

    ruby_openProject

  2. Do one of the following:
    • Click Open in new window button to leave the current project in its window and open the new one in a separate window.
    • Click Open in current window, and select the check box Add to currently opened projects.
      The new project opens in the project tree, and adds to the currently opened project. So doing, the project that has already been opened, is the primary project.

      Tip

      Clicking Open in current window without selecting the check box Add to currently opened projects results in closing the current project and opening the new one in the same window.

Deleting a project from view

If you want to close a project that has been added to the currently opened one (primary project), follow these steps:

  1. In the Project tool window, right-click the project to be deleted.
  2. On the context menu of the selection, choose Remove from Project View, or just press DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete or Meta+BackspaceDelete, Backspace or Command BackspaceDelete, Backspace or Command BackspaceDelete, Backspace or Command BackspaceDelete or Command Backspace:

rm_remove_from_project

Important notes

  • When reopening, RubyMine suggests to reopen the whole group of projects.
  • The check box Add to currently opened projects appears when you open a new project in a window, where another project is already opened.

See Also

Concepts:

Procedures:

Reference:

How tos:

  • Working with Multiple Projects

Web Resources: