Reputation: 513
I've been encountering an issue with IntelliJ. Every time I save a change to some FXML I'm editing, the changes are removed upon executing the program.
For instance, I will change the 50.0 above into 160.0, and once I run the program the code changes back to 50.0. I've also attached a picture of the project explorer as it may suggest something with Verison Control.
Evidently some of the colors are not as normal. I imported the project from a Gradle off of a shared GitHub Repo. Thanks!
Upvotes: 1
Views: 5892
Reputation: 1
Running IntelliJ from C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.1\bin: idea64.exe worked for me. Now files are being saved and it's not throwing this error. Navigate to your IntelliJ bin directory above and run IntelliJ from the executable. You may need to regenerate your short cut file to IntelliJ.
Upvotes: 0
Reputation: 56724
You are in the build
folder which contains generated files.
You changed that file, but then it was overwritten. You need to identify the source file and to make that change there if you want to have something persistent.
Upvotes: 6