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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.