When I write code in Netbeans PHP Project that begins with <?hh
then the editor removes all the color coding.
For example, the file is called index.php
and the color coding works great when the code is like this:
<?php
echo "hello world";
but the color coding disappears when I start with the HackLang <?hh
tag like so:
<?hh
echo "hello world";
I tried finding some configuration in Netbeans so that it treats any file with a .php
extension as PHP code no matter if I use <?hh
or <?php
in the start of it.
Does anyone know how to enable color coding in Netbeans irrespective of if I use <?hh
or <?php
at the beginning of the file?