...

View Full Version : syntax highlighting on none HTML/PHP/JS ect.. File Types



srule_
01-28-2008, 03:21 PM
Hey,
I started developing with cakePHP. Using this framework i must use the file extension ".ctp" for some files in my projects. the .ctp files hold html/php/js/ect... The problem I have is that once i save my files as .ctp my text editor does not recognize the type so I loose all syntax highlighting.

I am using phpDesigner2007 as my editor. Does anyone know of how to change the setterins in phpDesigner2007 to allow syntax highlighting on random file extension?

Alternatively, does anyone know of a text editor that will have syntax highlighting on random extensions?

awatson
01-28-2008, 05:42 PM
Never used phpDesigner2007 - but Textpad does allow you to set up your own file types and assign syntax files to them. You could just add "*.ctp" with the php syntax file.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum