Configuring Load Path
This feature is supported in the Ultimate edition only.
The following is only valid when Ruby Plugin is installed and enabled!
In this section:
The load path is the path where
load statements will look for files. The specified paths will be used in code completion for
load. If the load path is not defined, code completion will suggest only the paths relative to the project root.
A directory that belongs to the load path is marked as the source root directory in the project view.
Configuring load paths via project structure
To define load paths via Load Path page of the project structure
Configuring load paths via context menu
To define load paths via context menu of the Project tool window
- Right-click the desired directory in the Project Tool Window.
- On the context menu, point to Mark Directory As node.
- Choose Load Path Root.
The directory in question is marked with the source root icon .
To unmark a directory, chooseon the context menu. The directory is then denoted with regular folder icon .