Eclipse syntax highlighting: trying to specify it for a new file extension, and it's not working Eclipse syntax highlighting: trying to specify it for a new file extension, and it's not working php php

Eclipse syntax highlighting: trying to specify it for a new file extension, and it's not working


You only have to enable it from here

 Window > Preferences > General > Content Types > Text > PHP Content Type

and do a restart.