RubyMine 2017.3 Help

Project Structure

File | Settings | Project Structure for Windows/Linux
RubyMine | Preferences | Project Structure for macOS
Ctrl+Alt+S
/help/img/idea/2017.3/settings.png


In this section:

Projects pane

ItemDescription
ProjectsThis 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
/help/img/idea/2017.3/root_Excluded.png Excluded 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 on the context menu of a content root.

root_Test.png Test SourcesMark 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 on the context menu of a content root.

Add/remove content roots

ItemTooltipDescription
/help/img/idea/2017.3/addRoot.png 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.
/help/img/idea/2017.3/rootRemove.gif Remove Content Entry Delete selected content root from the project.
/help/img/idea/2017.3/rootUnmark.gif UnmarkRemove marking of a content root and denote it with a regular directory icon directory.png.

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
/help/img/idea/2017.3/new.pngAdd
Alt+Insert
Click this button to add a new root to the load path using the Select Path dialog.
/help/img/idea/2017.3/delete.pngRemove
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.

ItemTooltip and shortcutDescription
Folders with localesThis area displays the directories where locales files reside.
/help/img/idea/2017.3/new.png Add
Alt+Insert
Click this button to add a new folder with locales. Find the desired folder in the Select Path dialog.
/help/img/idea/2017.3/delete.png Remove
Alt+Delete
Click this button to delete the selected directories from the list.

See Also

Last modified: 15 September 2017