Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Thanked 28 Times in 28 Posts

    syntax highlighting on none HTML/PHP/JS ect.. File Types

    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?

  • #2
    New Coder
    Join Date
    Jan 2008
    Thanked 3 Times in 3 Posts
    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.
    Web hosting by coders, for coders: php hosting - Magento eCommerce hosting - perl hosting - check us out!


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts