Why CakePHP decided to build their own file format instead of .tpl is beyond me... despite that, i can't get syntax highlighting to work in Eclipse... I've followed this guide:
http://planetcakephp.org/aggregator/items/5452-opening-ctp-file-with-syntax-highlight-in-eclipse (dead link) but it doesn't work, I see an error about an unsupported content type for this file. I've added an association to the PHP editor for this file type and it still shows the issue.
Any ideas on how to get syntax highlighting to work?
Make sure you have set the correct editor associations and content types
Go to settings (Window -> preferences
)
Content Types
Content Types
in the search box (should show under General -> Types
Text
, select PHP Content Type
*.ctp
by clicking on the Add button on the right sideFile Association
File Associations
in the search box on the leftIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With