[英]Does intelliJ have a String Substitution capabilities?
Ihave used String Substitution Preferences in Eclipse to set properties that would otherwise be pulled in by Maven. 我已经在Eclipse中使用了String Substitution Preferences来设置否则将由Maven引入的属性。
I am now developing in IntelliJ, and looking for similar capability, so I can substitute string params when running tests locally from IntelliJ. 我现在正在IntelliJ中进行开发,并且正在寻找类似的功能,因此在从IntelliJ本地运行测试时,可以替换字符串参数。
Does anyone know how I can do this? 有人知道我该怎么做吗?
IntelliJ IDEA doesn't have such feature. IntelliJ IDEA没有此功能。 There is
Settings
| 有
Settings
| Path Variables
, but it's effective only for the file system paths and works transparently, without explicitly specifying the variables in the dialog. Path Variables
,但是它仅对文件系统路径有效,并且透明地工作,而无需在对话框中显式指定变量。
Note that several Run/Debug configuration types have an option to specify custom environment variables which may be of some help. 请注意,几种“运行/调试”配置类型都有一个选项来指定自定义环境变量,这可能会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.