- Open your Eclipse workspace;
- Click on Window | Preferences;
- On the Preference Dialog expand the General node on the tree;
- Click on Content-Types under General;
- On the right panel under Content-Types, expand the Text node;
- Select PHP Source under the Text node;
- You’ll see the list of files associated on the list below e.g. File-Associations;
- Click on the Add button and type the fie extension e.g. *.ctp under file-type;
- Click on Ok to add the file-type;
- Click on Ok to close the Preference Window;
Syntax highlighting CakePHP using Eclipse « Rio Bautista’s TechLog.
No comments:
Post a Comment