2

Who knows how to resolve this issue? enter image description here

Federico klez Culloca
  • 26,308
  • 17
  • 56
  • 95
Roman Lototskyi
  • 692
  • 1
  • 5
  • 13
  • https://stackoverflow.com/a/42077735/13576700 – s0xzwasd Mar 05 '21 at 14:10
  • Do you have submodules in your project by any chance? Please check whether they are not listed under "Unregistered root" in Preferences | Version Control – Ruslan Kuleshov Mar 08 '21 at 08:39
  • 1
    The problem was with semilink. I reimported my project and choose real files(packages). Additionally in intellij IDEA Settings->Version Control-> I added my project. – Roman Lototskyi Mar 12 '21 at 07:49

2 Answers2

2

I had similar issue. And the issue was file naming. Other dev changed file name from all lowercase to first letter uppercase. So check from repo what naming is expected and update your path naming accordingly. Hopefully it helps someone.

Rauno
  • 37
  • 4
1

This issue was apparently happening with only a few of my projects, not all. As per the answer & some valuable comments, I couldn't find anything fishy with my setup. The git repo was available under Preferences | Version Control & with no issues with a symlink (as I wasn't using any).

Finally:

  1. I had to "Remove from Recent Projects..." as you can see in the attached screenshot
  2. Deleted the .idea/ directory from the corrupted project

An now I'm able to use the Git "Annotation" using PHPStorm

enter image description here

Rishi Kulshreshtha
  • 1,748
  • 1
  • 24
  • 35