Myeclipse使用手册

Myeclipse使用手册
Myeclipse使用手册

1、安装

2、注册

3、配置

window ----> preferences

(1)配置JDK

java--->Installed JREs --> Add ---> JRE name ---> JRE home directory --->

(2)配置字符编码

General --> Workspace --> Text file encoding--> other ---> UTF-8

-->

General --> ContentTypes --> 所有的文档类型全部设置为UTF-8 -->

MyEclipse Enterprise... ---> Files and Editors --->所有的子项,都改成UTF-8--->

(3)配置字体、颜色、大小

General -->Appearance ---> Colors and Fonts --> Basic -->

TextFont--->-->

(4)配置代码提示快捷键

Alt+/eclipse 中通用的代码提示键

General --> keys --> content Assist --> -->Binding (Alt+/)---> -->重启MyEclipse

面板关闭和恢复

(1)想恢复某个布局原有的所有面板,window--->Reset perspective

(2)如果想打开某一个面板window-->show view

4、连接SVN 服务器

(1)安装eclipse SVN 插件

插件名称site-1.4.8.zip

Help --> SoftwareUpdates --->Find and Install --> Search for new features to install -->

--> 找到site-1.4.8.zip 并选中,打开--> -->

选中该插件,会出现红色的错误提示---> 展开,取消第二项Subclipse Integrations --> --> I accept .... ---> ... --->

--> ---> 重启myEclipse

检查安装是否成功:在右上角,打开所有面板,会发现多了一个SVN Repository Exploring 面板,说明成功

(2)使用eclipse SVN 插件提供的面板连接SVN 服务器

选中SVN Repository Exploring 面板,在SVN Repositories 面板中点击右键-->New --> Repositories Local... --->

https://172.7.31.102:8443/svn/projectdb/homework/day2

输入用户名和密码

(3)把代码发布到SVN 上

回到Java 面板,在项目上点右键,选择Team --> Share Project ---> 选择SVN 服务器---> 选中刚刚设置的SVN 连接--> next .. ---> 会自动要求跳转到Synchronize(同步面板)---> 选中工程,右键

-->Commit-->添加版本注释--->

第二次以后提交,先和SVN 服务器上代码迚行同步对比一下,然后在提交

(4)把代码从SVN 上下载下来

在项目面板中,空白处,点击右键,选中Inport --->SVN --> Checkout Projects from SVN---> 选择一个SVN 资源连接---> 选中该资源下你要导入的项目--->