RubyMine 2017.1 Help

Project Structure

File | Settings | Project Structure for Windows/Linux
RubyMine | Preferences | Project Structure for macOS
Ctrl+Alt+S
/help/img/idea/2017.1/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.1/rootExcluded.gif 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.

/help/img/idea/2017.1/rootTest.gif 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.1/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.1/rootRemove.gif Remove Content Entry Delete selected content root from the project.
/help/img/idea/2017.1/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.1/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.1/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.1/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.1/delete.png Remove
Alt+Delete
Click this button to delete the selected directories from the list.

See Also

Last modified: 18 July 2017