Webstorm中的项目窗格中缺少文件夹 [英] Folders missing in project pane in Webstorm

查看:548
本文介绍了Webstorm中的项目窗格中缺少文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WebStorm中构建了一个项目,然后将项目提交给GitHub。

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

当我重新启动计算机并重新启动WebStorm(和项目)时,我都是在项目窗格中可以看到根文件,没有文件夹(是的文件夹在那里)

When I rebooted the computer and relaunched WebStorm (and the project), all I can see in the project pane is the root files, and none of the folders (yes the folders are there)

请参阅下面的图片以供参考。

See the image below for reference.

有谁知道如何让这些文件夹重新出现在Webstorm的项目窗格中?

Does anyone know how I can get those folders to re-appear in the project pane of Webstorm?

推荐答案

它可能是由损坏的 .idea / modules.xml 项目文件引起的。您可以尝试手动修复它(从本地历史记录,版本控制或备份恢复)或从头开始创建新项目。

It can be caused by the corrupted .idea/modules.xml project file. You can either try to fix it manually (restore from Local History, version control or backup) or create the new project from scratch.

检查此问题以获取提示/解决方法。

Check this issue for the hints/workarounds.

这篇关于Webstorm中的项目窗格中缺少文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆