Project Structure
for Windows/Linux
for macOS
Ctrl+Alt+S
In this section:
Projects pane
Item | Description |
---|---|
Projects | This pane displays the list of projects, opened in the same window. The first project in the list is the primary project. |
Project Structure
Use this tab to configure content roots for each of the projects opened in the same window.
Configure content roots
Add/remove content roots
Item | Tooltip | Description |
---|---|---|
Add Content Root | Add a new root to the content roots. Click the button and navigate to the desired folder in the dialog that opens. | |
Remove Content Entry | Delete selected content root from the project. | |
Unmark | Remove marking of a content root and denote it with a regular directory icon . |
Load Paths
Use this tab to specify the path where require
and load
statements will look for files. The specified paths will be used in code completion for require
and load
. If the load path is not defined, code completion will suggest only the paths relative to the project root.
Item | Tooltip and shortcut | Description |
---|---|---|
Add Alt+Insert | Click this button to add a new root to the load path using the Select Path dialog. | |
Remove Alt+Delete | Click this button to delete the currently selected root from the load path. |
i18n Folders
Use this tab to specify the path where RubyMine will search fo the directories with locales.
If the load path is not defined, code completion will suggest only the paths relative to the project root.
Item | Tooltip and shortcut | Description |
---|---|---|
Folders with locales | This area displays the directories where locales files reside. | |
Add Alt+Insert | Click this button to add a new folder with locales. Find the desired folder in the Select Path dialog. | |
Remove Alt+Delete | Click this button to delete the selected directories from the list. |