Change template file suffix from .haml.php to .haml, because of .haml suffix can be  recognized by PHPStorm.