首页 > IT.IT > 安装并配置适合Cakephp的EasyEclipse for PHP

安装并配置适合Cakephp的EasyEclipse for PHP

2009年5月7日  如果本文对您有帮助,请留下您宝贵的足印!==>

一、EasyEclipse for PHP的简单介绍
官方网站:http://www.easyeclipse.org/site/distributions/php.html
目前最新版本是:1.2.2.2。
个人感觉这个东东比一般的编辑器多了个cvs版本管理的客户端。
如果对这个CVS代码库功能不感冒的话,还是不如老实用以前的编辑器。
官方网站有win版、linux版、mac版。
当然本篇能用到的就是win版和linux版了,用哪个都ok。随便装一个喽。
win下面的安装就不说了。现在说说andlinux下面的安装方法。

二、在andlinux下面安装EasyEclipse for PHP
把下载得到的 easyeclipse-php-1.2.2.2.tar.gz 放到win和linux的共享目录下面,

tar zxvf /mnt/win/easyeclipse-php-1.2.2.2.tar.gz -C /opt
mv easyeclipse-php-1.2.2.2.ta.gz easyeclipse
cd easyeclipse
./eclipse

就可以启动eclipse了。当然这个是在andlinux下面的步骤,win下面就不说了。

三、配置easyeclipse适应cakephp

3.1 配置easyeslipse工作区

easyeclipse_andlinux

当然这个路径是andlinux下的路径了。

当选中“use this as the default and do not ask again”的话,以后修改这个配置就是在下图

中的位置了。

windows=》preferences=>project defaults

easyeclipse_andlinux_2

easyeclipse_andlinux_3

3.2 添加对ctp文件[cakephp的模版文件]的语法高亮支持

easyeclipse_andlinux_4

easyeclipse_andlinux_5



3.3 配置编码格式及下一行的分隔符

easyeclipse_andlinux_6

这个地方很重要哦,弄不好就是乱码了。这个地方是个全局设置。

在每个project的properties里面有个对应的设置,可以进行部分修改。

cvs_project_01

cvs_project_02

四、配置CVS代码库

easyeclipse_andlinux_7

easyeclipse_andlinux_8

easyeclipse_andlinux_9

注:

本文截图有linux版本也有windows版本,随手截的图,其实设置都是一样的。


本文来自苏南的博客, 转载请注明网址:http://newsn.net, 谢谢!
我的淘宝小店:http://68zz.com
我的Sina圈子:http://q.blog.sina.com.cn/pctalk


作者: 苏南 分类: IT.IT 标签: ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.