Project panel doesn't show the folders and files are looking as external (?)

The files are looking as ignored files, and not all files and folders are listed!

Tried to delete the ./idea and reopen it but didn't work.

The repo was cloned through the New -> Project from Version Control 

WebStorm 2021.3.2

8

Can be fixed, if you Quit the Webstorm completely (no other projects open), delete the ./idea, and then open again the project.

11

your .idea files are likely broken, the .iml file and/or modules.xml are either missing or corrupted. Deleting and re-creating .idea folder should help:

  • close the project
  • remove it from Recent projects list
  • shut down the IDE
  • delete the .idea folder
  • restart, open the project root folder with File > Open
16

I have another problem now, with the same project. It doesn't recognize that the project has a git repo. There is no Git option anywhere in the IDE! Other projects are working well. Of course, the git is there ".git" and git commands are working from bash, confirmed.

I have tried your steps twice but didn't work.

How to make it work?

0

Any suggestion on how to enforce Webstorm to see that the project is a repo?

0

in Settings | Version Control | Directory Mappings, try choosing GIT as your VCS

0

I had the same issue.  I fixed by using the /File/Repair IDE

9

Fuck, when jetbrains shit stop to do it???

-3

I have this almost every upgrade of IDEA. 

deleting .idea folder indeed fixes the problem, but you lose then all datasorces, runconfigurations, etc.
Instead of deleting, just rename it, so you can copy the folders 'dataSources', 'runcConfigurations', 'shelf', etc.

(going through all steps of the File / Repair IDE did not solve the issue)

0

I had the same issue. 

It's because Intellij don't have the access to document, desktop, etc folder.. 

see. : https://youtrack.jetbrains.com/issue/IDEA-324369

I don't know how autorize Intellij but when I try in an other folder at the root of my mac it's workink well

0

I had the same issue and selecting `Invalidate Cache` seems to fix the problem after it restarts and it completed the rebuild of the cache.

0

I have the same issue after upgrading to 2024.2.1. Downgrading to 2024.1.6 resolves it.

0

请先登录再写评论。