Eclipse的使用手册
2 Eclipse的使用手册
去官网下载将压缩包解压即可

![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-NmrJ76qP-1606192939699)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124122427489.png)]](https://img-blog.csdnimg.cn/20201124124524519.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
工作空间一般按照默认就可,不建议放在c盘
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-KLIfqwY6-1606192939702)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124122604358.png)]](https://img-blog.csdnimg.cn/20201124124536911.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-l4FxaCth-1606192939717)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124122748153.png)]](https://img-blog.csdnimg.cn/20201124124548599.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
这里一般安装了jdk的话会默认有安装jdk的路径,如果没有需要自己去添加
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-3hHItfQj-1606192939720)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124122959482.png)]](https://img-blog.csdnimg.cn/20201124124602490.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
File->new->project:
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-XlyT2IYX-1606192939722)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123057998.png)]](https://img-blog.csdnimg.cn/20201124124616528.png#pic_center)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-vB05D03g-1606192939724)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123108952.png)]](https://img-blog.csdnimg.cn/20201124124624663.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-pV5GEftx-1606192939727)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123156326.png)]](https://img-blog.csdnimg.cn/20201124124633961.png#pic_center)
File->import![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-4GAR2aDe-1606192939730)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123233268.png)]](https://img-blog.csdnimg.cn/20201124124642926.png#pic_center)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-4lkZyTR9-1606192939732)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123240965.png)]](https://img-blog.csdnimg.cn/20201124124713723.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-N7sJHWgo-1606192939734)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123308714.png)]](https://img-blog.csdnimg.cn/20201124124726817.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
这里需要注意如果工作空间已经存在项目,是导不进去的
Src->存放源代码的位置
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-MguyoTcl-1606192939737)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123517408.png)]](https://img-blog.csdnimg.cn/20201124124737421.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-sw4BhfBA-1606192939739)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123530495.png)]](https://img-blog.csdnimg.cn/20201124124746779.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
Window->最后一个选项
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-MclVCy31-1606192939742)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123613543.png)]](https://img-blog.csdnimg.cn/20201124124755454.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
Ctrl + 加号(+):字体放大 ctrl+ 减号(-) :字体缩小
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-FpLDHNTM-1606192939744)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123643665.png)]](https://img-blog.csdnimg.cn/20201124124810417.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
输入法必须为英文状态(美式键盘)
代码快速提示: alt+/ main/syso
类重命名 : F2
单行的注释: Ctrl +/ 再按一次ctrl+/ 取消原来的注释
块注释: ctrl+shift+/
取消块注释: ctrl+shift+
保存: 经常保存 ctrl+s
代码对齐: ctrl+shift + f (ctrl+a ctrl+i)
字体设置:放大快捷键ctrl+=,缩小ctrl±
Ctrl+C 复制
Ctrl+V 粘贴
Ctrl+X 剪切
Ctrl+A 全选
Ctrl+Z 撤回
Ctrl+Y 反撤回
Ctrl+D 删除整行
这里介绍一个小方法:
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-cftMy4pb-1606192939747)(C:\Users\Administrator.USER-20190614YY\AppData\Roaming\Typora\typora-user-images\image-20201124123908229.png)]](https://img-blog.csdnimg.cn/20201124125001983.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3podWFuZzE1,size_16,color_FFFFFF,t_70#pic_center)
打开搜狗输入法将这个选项勾上,打代码的时候就不用担心符号会错了

浙公网安备 33010602011771号