1. Open several projects
Any opened project may become a main project after another one is added. The main project will appear at the top of the all projects in all views and in Settings.
To work with several projects, perform the following:
• Open the project which will be the main project.
• To open another module, use File | Open..., and in the Open Project dialog check the Open in current window | Add to currently opened projects option.
• A new project will appear in the tree as an additional node with the name of this project. If you expand the node, you will see the whole structure of the project. The Ruby SDK related to the project is available.
To reopen multiprojects, use File| Open recent. Multiple modules will be separated by a comma.
You cannot add a main project containing several projects to the currently opened one: the Reopen project dialog allows you just to open the main project in the current or a new window:
To remove a project from the main project, navigate to the project to be deleted in the tree, right-click it and choose the Remove from Project View option.
2. Multiple Run Configurations
The default Run Configuration is created with the name of the project as a postfix.
A new run configuration will be created for the project from which you run a script or a test
3. Manage SDK and Gems
To change the settings of Ruby SDK for a project, go to the Tools | Ruby SDK and Gems dialog. All projects will be displayed in right area. Select a project and then select an SDK.
All SDKs are available with related gemsets in the list. To add a new SDK, click + under the list.
Selecting an item means that you choose an SDK for the currently selected project. Install/Update Gems will be invoked for the currently selected SDK.
To install/update gems, press + under the list of gems.
Files from all opened projects are available for navigation. To navigate to a class, open Navigate | Class... and the name of the project will help to choose which file is the destination.
To navigate to File open Navigate | File...
5. Use Rails Generators, Bundler, Rake tasks, Diagrams
To run Rails Generator, first you need to set the context. Selecting a context means that a project is selected in the project tree, a file from this project is opened in the editor and has focus.
For example, select the project before invoking the generator's list.
Run Bundle install
Or any Rake task
Note that a new rake Run configuration will be displayed in the list with the project name as a postfix.
6. Running, Debug, Run Tests, Run with Coverage and e.g.
To run/debug a rails application, use one of the Run configurations
To run a test, use default rake tasks in the run configurations, or create a new one. Creating a new run configuration requires choosing the context first.
7. Version Control
VCS settings are available for each project.
Deployment settings are defined per project. When you deploy to a remote host, you can set the mapping in Settings for each project if you need.
When you use the Capistrano framework, for example, just select the context and capify the application. Then Capistrano's tasks will be available if the corresponding project have a context.