[英]WebStorm/PhpStorm: files missing from project view
I'm working in PhpStorm 2017.3
but this probably applies to many IDEA IDEs. 我正在使用
PhpStorm 2017.3
但这可能适用于许多IDEA IDE。 A while back (on an earlier version) I made a change to project settings that hid .spec.ts
files from the project view. 前一阵子(在较早的版本上),我对项目设置进行了更改,以从项目视图中隐藏
.spec.ts
文件。 I'd like to undo it but I can't figure out what it was. 我想撤消它,但我不知道是什么。
Here are files in a folder as they appear in the IDE: 以下是文件夹在IDE中显示的文件:
Here is the same folder in my OS file explorer. 这是我的OS文件浏览器中的同一文件夹。 Notice all the
spec.ts
files: 请注意所有
spec.ts
文件:
I thought maybe the setting had to do with Scopes after reading LazyOne's answer here . 我认为在阅读LazyOne的答案后,设置可能与Scopes有关。 However I have no scope defined in this project:
但是我没有在这个项目中定义范围:
I also thought that perhaps I had added these files to the list of excluded files in Settings > Directories
but turns out this list has a couple of irrelevant directories but no specific file: 我还认为,也许我已将这些文件添加到“
Settings > Directories
”中的排除文件列表中,但事实证明此列表中有几个不相关的目录,但没有特定的文件:
What did I do to hide these files and how can I undo it? 如何隐藏这些文件,如何撤消?
The setting in question had to do with Settings > Editor > File Types
pane. 有问题的设置与
Settings > Editor > File Types
窗格有关。 See the Ignore files and folders section of this doc page 请参阅此文档页面的“ 忽略文件和文件夹”部分
I had added *.spec.ts
to my list, causing the IDE to pretend those files don't exist at all. 我已经在列表中添加了
*.spec.ts
,导致IDE假装这些文件根本不存在。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.