Search code examples
phpstormwebstorm

WebStorm/PhpStorm: files missing from project view


I'm working in PhpStorm 2017.3 but this probably applies to many IDEA IDEs. A while back (on an earlier version) I made a change to project settings that hid .spec.ts files from the project view. 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:

enter image description here

Here is the same folder in my OS file explorer. Notice all the spec.ts files:

enter image description here

I thought maybe the setting had to do with Scopes after reading LazyOne's answer here. However I have no scope defined in this project:

enter image description here

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:

enter image description here

What did I do to hide these files and how can I undo it?


Solution

  • The setting in question had to do with Settings > Editor > File Types pane. 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.

    enter image description here