How to Change Read-Only Status of Files in intellij

前端 未结 7 1892
日久生厌
日久生厌 2021-02-06 22:17

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\"

7条回答
  •  时光取名叫无心
    2021-02-06 22:59

    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.

提交回复
热议问题