Search code examples
phpphpstorm

Rounded C file type in PhpStorm instead of PHP


Sorry to bother, but I searched everywhere and cant understand why my PhpStorm is showing SOME php files as c (?) file type

enter image description here

It highlights file in yellow, but it's a regular PHP class, same as other files in same folder.

I coudn't find exact matching icon in icon reference as well.

But the main trouble is that storm doesn't commit this file, it doesn't even see it as changed.

How can I fix that?


Solution

  • PHPStorm will use a (C) icon when the class name is identical to the file name. If the class name differs, or if the file does not contain/contains more than a class, the PHP file icon is displayed.