PhpStorm在“项目"窗口中隐藏目录 [英] PhpStorm hides directories in Project window

查看:585
本文介绍了PhpStorm在“项目"窗口中隐藏目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用PhpStorm 6.0.3,并且在项目工具"窗口中未显示任何目录.一分钟前它们就在那儿,但我设法通过意外单击或快捷键使它们消失了.

I'm using PhpStorm 6.0.3, and it doesn't show any directories in the Project Tool Window. They were there just a minute ago but I managed to make them disappear by clicking or shortkey on accident.

它们存在于文件系统中-我在Windows资源管理器中看到了它们,但它们只是没有出现在PhpStorm中.我检查了Jetbrains文档,检查了范围并尝试删除项目设置(.idea-dir),但无济于事.

They are there in the file system - I see them in Windows Explorer, but they just don't show up in PhpStorm. I have checked the Jetbrains documentation, checked the scope and tried deleting the project-settings (.idea-dir), but to no avail.

有人对如何再次显示它们有建议吗?还是我可能在哪里搞砸了设置?谢谢!

Does anybody have a suggestion on how to show them again? Or where I might have screwed up the settings? Thanks!

推荐答案

因此,现在已经过了几个月,并且犯了同样的错误.仅这次,我使1个目录消失,而PhpStorm本身不小心将其指向正确的方向.我从项目中排除了该目录,因此不再显示该目录.显然排除的目录未保存在项目设置中,因为重新创建项目无济于事.

So, it's now a couple of months later and made the same mistake. Only this time I made 1 directory disappear and was accidentally pointed in the right direction by PhpStorm itself. I excluded the directory from the project, so it didn't show up anymore. Apparently exluded dirs are not saved in the project settings since re-creating the project didn't help.

这是我找回它的方式:文件">设置">项目设置">目录" 在那里,我看到目录被标记为红色图标,表示已排除.只需右键单击它,然后再次单击排除". Tadaaaa回来了.

Here is how I found it back: File > Settings > Project settings > Directories There I saw my dir flagged with a red icon, meaning excluded. Just right-click it and click 'exclude' once again. Tadaaaa it's back.

我不敢相信我已经忽略了很多次了...

I can't believe I've overlooked it so many times...

这篇关于PhpStorm在“项目"窗口中隐藏目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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