1

I tried several editors, TextMate, Coda2, PHPStorm. None of them supports such an exotic combo.

I usually use a trick by adding a HAML comment with PHP opening tag at the beginning:

-#<?

That works OK in simple editors and with simple HAML code, but not in PhpStorm unfortunately. PHP Storm has the temporary inject language functionality that I’ve been using, but this is far from ideal as has to be repeated every.

PhpStorm, HAML file with temporary injected PHP:

enter image description here

1 Answer 1

1

Visual Studio for Mac is a great choice for HAML and PHP. It has a lot of features. Intellisense is one of those, it shows suggestions, meaning and use of commands, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.