How to update stored Run Configurations and Custom Intentions
Answered
Hi,
there is one thing I cannot figure out. We create some Run Configurations and our own Intentions. All was saved as a Project File stored into git.
After a while, new IntelliJ version came out and I had to adapt some setting in one of ou Run Configuration. But it seems that it generated a bunch of other unrelated changes in the XML file.
How are these files suposed to be kept up-to-date? Is there some recommended workflow? Even when some of our colleagues don't use the latest version as me?
Thak you very much
Please sign in to leave a comment.
Question number 2: Are these config files actually 100% compatible between different operating systems? Linux, Mac, and Windows?
Hello, Radek Crlik. Please, accept my apologies for the late answer.
Unfortunately, there is no certain workflow to update the Run configurations and custom Inspections (I believe you mean Inspections, not Intentions, as there is no option to add a custom intention action). Depending on the technologies you use, some of them should be untouched for a relatively long time; some of them (for example, Run configurations for debugging in Docker containers) were reworked recently. I can only recommend you inspect the release notes to understand if there are some changes related to the features you use.
The files themselves are compatible, but the paths specified there are not changed depending on the OS; you should update them manually in the IDE (
Run | Edit Configurations…
and set up the correct paths).HI Olga Mulina , no problem at all :) Thank you for the answer. It really helps.