Add custom Run/Debug Configuration Macros Follow
Answered
Hi, I was wondering if Intellij supports the ability to specify custom macros for the run/debug configuration screen.
1. Run -> Edit Configurations
In this example I have a TestNG test that we use as a system test against a live system (not unit test) but I need to specify the VM arguments. When I click the + on the right side of VM options the macro screen pops up. However, I'm not sure how to add to this list. In eclipse there are string substitutions that I can use to save this data for me instead of having to paste it for each test/run configuration.
Thanks.
Please sign in to leave a comment.
Hi James,
What version of the IDE are you using?
IntelliJ IDEA 2021.2.1 (Ultimate Edition)
Build #IU-212.5080.55, built on August 23, 2021
You can add custom path macros under File | Settings | Appearance & Behavior | Path Variables:
See also https://www.jetbrains.com/help/idea/absolute-path-variables.html
That works. Thank you.