RubyMine 2024.1 Help

Project Structure

File | Settings | Project | Project Structure for Windows/Linux

RubyMine | Settings | Project | Project Structure for macOS

Ctrl+Alt+S

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

Item

Tooltip

Description

Excluded root

Excluded

Mark a folder as an excluded root.

Usually, one would like to exclude temporary build folders, generated output, logs, and other project output. Excluding the unnecessary paths is a good way to significantly improve performance.

This command is duplicated from the context menu of a content root.

root_Test.png

Test Sources

Mark a folder as a test root. Such folder displays in the list of test roots.

The files under the test roots are interpreted according to their type. RubyMine can parse, inspect and compile the contents of these roots.

This command is duplicated from the context menu of a content root.

Add/remove content roots

Item

Tooltip

Description

the Add button

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 root

Remove Content Entry

Delete selected content root from the project.

rootUnmark.gif

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.

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 for 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.

Remove

Alt+Delete

Click this button to delete the selected directories from the list.

Last modified: 11 February 2024