Reputation: 2961
Ihave used String Substitution Preferences in Eclipse to set properties that would otherwise be pulled in by Maven.
I am now developing in IntelliJ, and looking for similar capability, so I can substitute string params when running tests locally from IntelliJ.
Does anyone know how I can do this?
Upvotes: 2
Views: 1450
Reputation: 401877
IntelliJ IDEA doesn't have such feature. There is Settings
| Path Variables
, but it's effective only for the file system paths and works transparently, without explicitly specifying the variables in the dialog.
Note that several Run/Debug configuration types have an option to specify custom environment variables which may be of some help.
Upvotes: 1