Version Control panel forgets modified files

Answered

Install details at bottom.

New project. Set up as usual.

Work work, edit, commit, edit etc.

Version Control --> Local Changes shows modified files. Only then it suddenly doesn't. The list just disappears. Click the panel's Refresh circle icon, and the list shows up again. Then a while later it disappears. IJ has forgotten that I've edited files.

I tried invalidating caches and restarting, also rebooted the laptop. Still happens. This is the same laptop, same file system, same BitBucket repo, same file layout and IJ settings (as far as I can tell), same everything as many other project I've worked on in the last several years.

This does not happen with other projects that I have open concurrently.

I've been using IJ for probably 10 years, and this particular version for a while now, for many different projects, and I've never seen this before. I don't know if it's something weird in how this project is configured, or if I accidentally changed some setting or what.

Once I get to a good stopping point, I'll blow away the .idea directory and all the .iml files and create a fresh project from the source. But if anyone has a suggestion before I resort to that, it'd be much appreciated!

Thanks,
Jeff

 

IntelliJ IDEA 2016.3.8
Build #IU-163.15529.8, built on March 3, 2018
JRE: 1.8.0_131-b11 amd64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation

0
2 comments

Likely files are lost from the Local Changes list because IDE fails to refresh their status properly, which then works fine after force refresh. Check the logs for the errors, or submit an issue to https://youtrack.jetbrains.com/issues/IDEA with logs attached

> IntelliJ IDEA 2016.3.8

Also, consider trying a newer vesion.

1
Avatar
Permanently deleted user

Okay, I'll take a look at the logs next time it happens. (Had to shift focus to a different project for a while.)

I get the upgrade suggestion, and will do so when I can. It's just weird that as long as I've been on this version and as many projects as I've worked on, it's never happened before.

Thanks.

0

Please sign in to leave a comment.