I have a Java project and I want to modify it in intellij but I can\'t do it because of this \" read-only file \" or \"file is not writable\"
I was just having this issue and I finally figured out where I was going wrong.
Over an hour of suggestions from Google didn't help. It turns out I was on files selected in the -out > production > MyPath folder instead of the -src folder in my project sidebar. Selecting the -scr > MyClass file allows me to do what I want to do.