idea-gitignore: "You are editing file which is ignored" warning after upgrading to IDEA 2017.1
I’m getting .i* You are editing file which is ignored
warnings for random files after I upgraded to IntelliJ IDEA 2017.1. The warning might disappear when restarting IDEA, but it might also reappear for one or more different files.
The files in case are not ignored and they show up in git as expected.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 51
- Comments: 30
NIT: maybe a good chance to correct the spelling to
You are editing a file which is ignored
or rephrase. 😉Same problem on PHPStorm 2019.1.2 Plugin version: v3.1.1.191 Thank you.
+1
Also getting this error. After updating to 2017.1 files are ignored at random. If cache is invalidated or IDE is restarted then all files go back to normal.
After a few minutes another file (not necessarily the same file) will become ignored. Might need to uninstall plugin till a fix is applied as this stops your ability to add or commit a file to your repo.
Same problem on idea 2018.2.4 , Plugin version: 3.0.0.182 Thank you.
idea 2021 solved by restart !
I had solved this by manually adding the affected files in git. Go to file, right click, Git -> Add
How do we get this issue reopened again as there still seems to be a problem
PHPStorm 2019.1 Plugin version: v3.1.2.191
Same problem on PhpStorm 2018.2 Plugin version: 3.0.0.182
I can confirm that this also happens on my projects based on git. One is local git repository without remote origins, another one is with corporate gitolite server. In both cases files marked as ignored are totally random.
Most recent scenario:
This behavior prevents using commit from Idea but everything is commit fine when doing from command line or other GUI tool.
I tried putting this line in .gitignore. It changed state for the current session but didn’t prevent from happen after Idea restart.
!/src/main/
IntelliJ IDEA 2017.1.1 Build #IU-171.4073.35, built on April 6, 2017 JRE: 1.8.0_112-release-736-b16 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.12.4
Same issue with Android Studio 3.5.2 Build #AI-191.8026.42.35.5977832, built on October 30, 2019 JRE: 1.8.0_202-release-1483-b03 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0
@AveVlad That was not really an answer to @kevinhaas question.
@kevinhaas easy man