Folders missing in project pane in Webstorm

后端 未结 9 704
感情败类
感情败类 2021-01-31 13:28

I\'ve built a project in WebStorm and then submitted the project to GitHub.

When I rebooted the computer and relaunched WebStorm (and the project), all I can see in the

9条回答
  •  囚心锁ツ
    2021-01-31 14:04

    I see this from time to time. I use Git, and I have my .gitignore file set up as recommended, specifically:

    .idea/workspace.xml
    .idea/tasks.xml
    .idea/*.iml
    

    I sometimes see this after cloning the repository, and when trying to figure out why, I came across this post and read the accepted answer.

    I deleted the modules.xml file and reopened WebStorm (2016.2.4), and it was resolved. I looked at the new modules.xml and found that its contents were exactly the same as before, but my .iml file was bigger.

    So it seems to be a corruption in the .iml file, not modules.xml. I assume that deleting modules.xml triggers a rebuild of the .iml file. Not sure if this helps anyone with anything, but thought I would offer the extra insight.

提交回复
热议问题