PhpStorm shows Haml file like plain text (transcompilation works, but not the syntax highlighting)
问题 The syntax highlighting for my haml files in PhpStorm does not work, and the icon is just the icon for plain text. (It should be a red icon with an h, similar to the icon for the scss file.) The transcompilation works only if File type in the watcher is set to Text files . If I choose HAML files , it tells me that there are "No such files in scope". Any ideas, why PhpStorm recognizes the scss file, but not the haml file? 回答1: First of all -- make sure that HAML support plugin is installed and