How to tell IntelliJ to pick P4USER, P4PORT etc from environment variables (if set).

As of now, user has to specify P4USER, P4PORT as part of .p4config ($P4CONFIG). Is there a way to tell IntelliJ to pick these values from environment variables (if set).

0
Avatar
Permanently deleted user

Hello chandra,

actually, IntelliJ IDEA uses the following algorithm:

1) locates .p4config files and parses connection related variables from there
2) runs "p4 set" and uses returned values for variables missing in .p4config file

You can check what variables IDEA picked by pressing "Test Connection" button

0

请先登录再写评论。