Path Variables page
Revert path variables and the list of ignored variables to their initially saved states.
This field shows the name of a path variable (readonly).
This field shows the value of a path variable (readonly).
or ⌘ N
Create a new path variable.
Edit the selected path variable.
or ⌥ ⌦
Delete the selected path variable.
List the names of the variables that should be ignored. Use semicolons
Add / Edit Variable dialog
Specify the path variable name.
Specify the path variable value. Use ⇧ ⏎ to select the necessary file or folder in the Select Path dialog.
Example: creating a new path variable
You may have a library that is located outside your project directory. This library is attached to your project, and the path to this library is included in the .iml file of your project. However, this path should not be absolute, because the location on this library may be different on your teammates' computers. In this case, you can create the
Press ⌃ ⌥ S to open the IDE settings and select.
In the Add Variable dialog, type the
PATH_TO_LIBvariable, and its value that points to the library location on your disk.
Share the .iml file through your version control system.
After your teammates update their projects from VCS, they will change the
PATH_TO_LIBvariable value so that it points to the library location on their computers.