Eclipse常规设置(我的Style我做主)
2015-08-21 12:04
567 查看
这个样式你喜欢吗?这种效果你想要吗?一步一步教你打造这个样式。
(1)界面样式
(2)安卓源码
(3)Java源码
1.导入样式(RecognEyes.epf)
Import->General-->Preferences->Browser->C:\Users\Administrator\Desktop\Eclipse常规设置(我的Style我做主\RecognEyes.epf->Finish(如果不喜欢这个样式,还可以还原默认样式哦,在“Eclipse样式”文件夹下有默认样式,当然,你也选择可以导出你的当前样式,以备还原之需)
2.Eclipse显示空格,换行符
选择Window->Preferences->General->Editors->Text Editors->
换行符:Show whitespace characters
行数:Show line numbers
空格符号:Show whitespace characters(configure visibility)->Tab(>>)->Enclosed 去掉勾
3.Eclipse一行最大的长度
选择Window->Preferences->Java->Code Style->Formatter->new ->Line Wrapping ->Maximum line width:->120
4.Eclipse一字体大小
选择Window->Preferences->General->Applearance->Colors and Fonts->Basic->Text Font->五号
5.在Eclipse中关联Android源码(把android-17.zip解压到D:\Eclipse\sdk\sources下)
一、找到项目中的android.jar,右键→properties
二、选择External Folder来关联到外部文件夹D:\Eclipse\sdk\sources
6.在Eclipse下查看java源码
一、把src.zip放在C:\Program Files\Java\jdk1.7.0_17(jdk目录下)
二、windows--preferences--java--installed jres --选中jre6--点击右边的edit--选中jre6/lib/rt.jar --点击右边的 source attachment configuration -- external file selection --找到你的jdk下的src.zip文件
资源截图:
资源下载:点击下载
(1)界面样式
(2)安卓源码
(3)Java源码
1.导入样式(RecognEyes.epf)
Import->General-->Preferences->Browser->C:\Users\Administrator\Desktop\Eclipse常规设置(我的Style我做主\RecognEyes.epf->Finish(如果不喜欢这个样式,还可以还原默认样式哦,在“Eclipse样式”文件夹下有默认样式,当然,你也选择可以导出你的当前样式,以备还原之需)
2.Eclipse显示空格,换行符
选择Window->Preferences->General->Editors->Text Editors->
换行符:Show whitespace characters
行数:Show line numbers
空格符号:Show whitespace characters(configure visibility)->Tab(>>)->Enclosed 去掉勾
3.Eclipse一行最大的长度
选择Window->Preferences->Java->Code Style->Formatter->new ->Line Wrapping ->Maximum line width:->120
4.Eclipse一字体大小
选择Window->Preferences->General->Applearance->Colors and Fonts->Basic->Text Font->五号
5.在Eclipse中关联Android源码(把android-17.zip解压到D:\Eclipse\sdk\sources下)
一、找到项目中的android.jar,右键→properties
二、选择External Folder来关联到外部文件夹D:\Eclipse\sdk\sources
6.在Eclipse下查看java源码
一、把src.zip放在C:\Program Files\Java\jdk1.7.0_17(jdk目录下)
二、windows--preferences--java--installed jres --选中jre6--点击右边的edit--选中jre6/lib/rt.jar --点击右边的 source attachment configuration -- external file selection --找到你的jdk下的src.zip文件
资源截图:
资源下载:点击下载
相关文章推荐
- SpringMVC 使用poi导入导出Excel
- xjc命令转换成java类乱码
- 将java源码打成jar包
- 将java源码打成jar包
- Eclipse中Outline里各种图标的含义
- IntelliJ IDEA像Eclipse一样打开多个项目
- 必备的Java基础知识
- spring相关配置
- 容易出错的Java笔试题
- java打包成jar文件
- java打包成jar文件
- Struts2验证框架的配置及validation.xml常用的验证规则
- Java正则表达式判断字符串包含中文
- SpringMVC学习笔记(史上最全)
- 《Spring3.0就这么简单》
- JNI学习3——JNI中java类型的简写
- 【SpringMVC整合MyBatis】提供学习参考的项目源码
- 一点一点学习struts1(一)_简介
- "Could not find or load main class" in Hadoop or Java using Maven
- java 获取磁盘空间