最近一直是在使用editplus来开发php代码,总是觉得有一些地方不尽如人意。所以趁着时间相对宽松的时候配好了比较顺手的eclipse开 发环境,以前也配过好几次了,因为这个东西一旦配好就会很长时间不用再配,所以很容易忘记,每次配置都要查阅大量的资料,所以这次决定把整个过程记录下 来,备忘一下吧。:)
首先需要下载eclipse和eclipse的运行环境jre以下是目前最新版本的链接:
jre1.5:https://sdlc4b.sun.com/ECom/EComActionServlet;jsessionid=B2C49D3871D8E6FB2ED6881D
Teniga javascript editor(eclipse下js编辑插件):https://sourceforge.net/project/downloading.php?group_id=173119&use_mirror=jaist&filename=com.teniga.javascript.editor_1.0.0.zip&34778493
php edit插件:http://phpeclipse.sourceforge.net/update/releases
eclipse subversion插件:http://subclipse.tigris.org/install.html
好了,做好了以上准备工作我们开始配置我们的环境了。
(1)首先是安装jre,这个不用说了吧,双击安装文件然后一路默认就ok了。
(2)然后将eclipse解压缩至你想存储的位置位置,就可以使用了;准备好了这些之后我们就要开始设置php、js、subversion的插件了。
(3)首先是php,
The easiest was to get involved with
- With Eclipse up and running, select the Help > Software Updates > Find and Install menu option.
- Click on the Search for new features to install radio button and then click Next.
- Click on the New Remote Site button, the New Update Site dialog will appear.
- Enter a name for the udpate site, such as "php plugin" and then enter the URL http://phpeclipse.sourceforge.net/update/releases, click OK to create the new update site entry.
- The entry you just created now appears in the update site list and is selected. Ensure it is the only site selected and click Finish.
- The update manager will now connect to the site and display the feature available on the site. Check the update site and click Next to continue the selection process.
- Accept the terms in the license agreement and click the Next button.
- A list with the feature to install will be displayed. Click Finish to start the installation process.
- The feature and plug-ins will now be downloaded from the site and installed locally. Note that you may be prompted to confirm if it is ok to install unsigned jar files.
- Confirm the following prompt to restart Eclipse.
(4)装js和subversion的插件步骤和php一样,所以这里就不多说了,如果遇到什么问题欢迎留言讨论交流!:)
插入表情