RubyMine 7.0.2 Web Help

Configuring Content Roots

Any project contains at least one content root created together with the project.

You can create additional content roots as well as remove the unnecessary ones.

In this section:

To create a new content root

  1. Open the Project Structure settings.
  2. In the Projects pane of the Project Structure page, click the project you want to configure content roots for.
  3. In the Content roots of the Project Structure page, click the Add Content Root button addRoot.
  4. In the dialog that opens, locate the desired directory and click OK.

    ruby_addContentRoot.png

To remove a content root

  1. Open the Project Structure settings.
  2. In the Projects pane of the Project Structure page, click the project you want to configure content roots for.
  3. In the Content roots pane of the Project Structure page, select the content root to be deleted.
  4. Click the Remove Content Entry button web_ide_remove_content_root.png.
    ruby_deleteContentRoot.png
  5. Confirm deletion.

Specifying folder categories in the Project tool window

  1. Open the Project tool window (e.g. View | Tool Windows | Project ).
  2. Select the folder that you want to assign to test sources.
  3. In the context menu, point to Mark Directory As and select the desired category.
    chef_mark_directory_as

See Also

Web Resources:

Last modified: 24 January 2015
comments powered by Disqus