Joel Wilson, thanks for your research on using $ PATH_VARIABLES $ in IntelliJ Configurations.
Embellish your presence a bit; I found out that if the configuration file changes on the file system, it will be restarted by IJ right away ($ PATH_VARIABLES $ get expand). However, if you make changes to the IJ settings, this is not the case.
But if you: tap ~ / IntelliJ / yourProject / .idea / runConfigurations * .xml
This is enough to reload your configurations.
I also found out that if you close and reopen IJ, they will also be automatically expanded.
And if you look at these .xml files, extended values will never be saved. Extension occurs when loading IJ or changing files.
The bottom line, if you want to exchange common configurations in the repo, and then configure the user variable in IJ PATH variables, you can, and they will be automatically expanded.
If you have to change PATH variables, the new values will contain the changed contents of PATH_VARIABLE.
If you look at the files at the OS level, you will see that the variables are saved. But if you look in the configuration editor, the replaced values will always be displayed there (therefore you cannot directly see that they used the variable). It is best to look at the OS file for this. Jim
source share