RubyMine 2021.1 Help

Project Structure dialog

File | Settings | Project | Project Structure for Windows/Linux
RubyMine | Preferences | Project | Project Structure for macOS
Ctrl+Alt+S
Icons general settings

Projects pane

ItemDescription
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

ItemTooltipDescription
Excluded rootExcluded

Mark a folder as an excluded root.

Excluded roots are not visible to RubyMine. 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.pngTest 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

ItemTooltipDescription
the Add buttonAdd Content RootAdd a new root to the content roots. Click the button and navigate to the desired folder in the dialog that opens.
Remove content rootRemove Content EntryDelete selected content root from the project.
Root unmarkUnmarkRemove marking of a content root and denote it with a regular directory icon Icons nodes folder.

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.

ItemTooltip and shortcutDescription
Icons general addAdd
Alt+Insert
Click this button to add a new root to the load path.
Icons general removeRemove
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.

ItemTooltip and shortcutDescription
Folders with localesThis area displays the directories where locales files reside.
Icons general addAdd
Alt+Insert
Click this button to add a new folder with locales.
Icons general removeRemove
Alt+Delete
Click this button to delete the selected directories from the list.
Last modified: 08 March 2021