How do I change the icon for a type of file (by extension), for example change icon for .php files?
Well, the title says it all, but here's the situation:
I'm a developer and I work on PHP, Twig, JS, CSS files every single day. I use Sublime Text. They are plain text files, but 1) file preview in Finder (by pressing space) does not show a preview, 2) I cannot assign an icon to files by type/extension. This question is about the second part.
You can see the situation in the screenshot. I can assign icons to specific files, but not to files by extension. Know how to achieve this?
MacBook Pro with Retina display, OS X El Capitan (10.11.6)