[Memo] [reprinted] the PHP editor in eclipse is associated with the CakePHP *. CTP file (also applicable to Zend studio)

Source: Internet
Author: User
Tags php editor

Recently, I am playing with CakePHP. The View File extensions of this framework are all. in this way, it is uncomfortable to edit PHP without highlighting, so I tried to let him use the PHP editor that comes with Eclipse:
1> right-click the open CTP file and select preferences

2> click editor in the pop-up window.
3> click File associations. In the pop-up window, click Add next to the file type list box to add *. CTP. then keep the selected *. the status of the CTP remains unchanged. Click Add near the list box below, which is *. add the associated editor to the CTP and select the PHP editor.

4> in the 2> dialog box that appears, select content types, expand text, find PHP content type, and add *. CTP.

5> the setting is complete. When you open the CTP file again, It is highlighted as PHP.

ArticleSource: http://luzl.javaeye.com/blog/737175

Related Article

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.