PHP Editor in Eclipse contact CakePHP *CTP file

Source: Internet
Author: User
PHP editor associated with CakePHP *.CTP file in Eclipse
Recently playing cakephp, the framework of the view file extension is full. CTP, so when editing without PHP highlighting feeling very uncomfortable, so I tried to let him use Eclipse's own PHP Editor:
1> in the Open CTP file right click, select Preferences



2> in the pop-up window, click Editor
3> Click File Associations, click Add next to the File Type list box in the pop-up window, add *.CTP. Then leave the selected *.CTP status unchanged, click Add near the list box below and add *.CTP for associated Editor, select PHP Editor



4> Select Content Types in the pop-up window of 2>, expand Text, find PHP Content Type, and add *.CTP.




5> to the completion of this setting, you open the CTP file when the highlight is PHP.



  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.