gvlasov
gvlasov

Reputation: 20015

Folders show up miltiple times in PhpStorm project structure

This is what PhpStorm shows:

enter image description here

enter image description here

This is what ls says:

$ ls -a
.  ..  app  .git  .gitignore  .idea  modman  web

Why are directories duplicated and what can I do so it doesn't happen? I tried restarting PhpStorm and removing .idea/workspace.xml, it doesn't help.

Upvotes: 1

Views: 41

Answers (1)

gvlasov
gvlasov

Reputation: 20015

I finally fixed this with the following:

  • mv duplicated_directory _bak;
  • Do something with duplicated_directory in IDE, e.g. collapse/uncollapse it in project view until it disappears;
  • mv _bak duplicated_directory;
  • Do the same with other directories.

Upvotes: 1

Related Questions