Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rounded C file type in PhpStorm instead of PHP

Tags:

php

phpstorm

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?

like image 742
Denis Matafonov Avatar asked Oct 29 '25 01:10

Denis Matafonov


1 Answers

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.

like image 172
Nicholas Cloud Avatar answered Oct 30 '25 18:10

Nicholas Cloud