File | Settings | Languages and Frameworks | Puppet - Environments for Windows and Linux PyCharm | Preferences | Languages and Frameworks | Puppet - Environments for macOS
Item
Description
Synchronize environment with VCS branch name
Select this check box to avoid creating or choosing different Puppet environment on changing branches.
If a Git branch changes, the current environment changes accordingly, thus changing the set of the used libraries automatically.
List of environments and modulepaths
The list is created by and buttons. Besides adding and deleting, it is possible to edit the selected environments.
Click this button to add a new environment to the list. Clicking opens the Create New Environment dialog:
Item
Description
Environment name
This text field shows the suggested environment name. Accept default, of type your preferred name.
Use default modulepath
Select this check box to choose the default modulepath for the created environment.
If this check box is selected, the Custom modulepath field is disabled.
Note that all the existing defaults are already described in the modulepath.
Custom modulepath
This text field is only enabled, when Use default modulepath check box is not selected. Use this field to specify your preferred modulepath for a generated environment. Type the path manually, or click and choose the desired directory in the Select modulepath for this environment dialog.
Click this button to delete the selected environment from the list.
Click this button to change the selected environment. Clicking opens the Edit Environment dialog with the following controls:
Item
Description
Environment name
This text field shows the existing environment name. Type your preferred name.
Use default modulepath
Select this check box to choose the default modulepath for the selected environment.
If this check box is selected, the Custom modulepath field is disabled.
Custom modulepath
This text field is only enabled, when Use default modulepath check box is not selected. Use this field to specify your preferred modulepath for the environment. Type the path manually, or click and choose the desired directory in the Select modulepath for this environment dialog.