新建workspace后eclipse一些设置

1.eclipse关闭鼠标移动提示代码功能: 
eclipse-->window-->Java-->Editor-->Hovers-->Combined Hover(去掉这个选项就可以了) 


2.自定义快捷键代码提示设置方法: 
eclipse(MyEclipse)-->window-->Preferences-->General-->Keys-->Content Assist-->Binding:(先删除原来的再输入你习惯的快捷键)。注意:设置了Content Assist 就是设置了Content Assist(xxxxxx)下面所有功能的快捷键,下面再设置的快捷键不能跟这个相同,否则会冲突导致不停的闪动半分钟左右。 
注意:Alt+/(?)这个快捷键eclipse已经默认为自动补全的了,设置成这个就不起作用了,一般用Alt+.(>)就没问题。 


3.格式化代码时自动换行:
打开Eclipse的Window菜单,然后Preferences->Java->Code Style->Formatter->Edit/Show(根据不同版本可用的按钮会不一样) ->Line Wrapping->Maximum line width:由80改成800就行了。


4.代码自动提示:
window--preference--java--editor--content assist,
页面最下面倒数第二行那个框里修改成.abcdefghijklnmopqrstuvwxyzQWERTYUIOPLKJHGFDSAZXCVBNM


5.删除无用的工程路径
General-> Startup and Shutdown -> Workspaces 


5.修改eclipse主题颜色和字体
(1)主题颜色:
1).Help→Install New Software..., press Add Site and enter Eclipse Color Theme as the name and http://eclipse-color-theme.github.com/updateas the URL. Then select the new entry from the select box labeled Work with, mark Eclipse Color Theme for installation and proceed.
2)After the installation, go to Window→Preferences→General→Appereance→Color Theme to change the color theme.
(2)字体:
window--preferences--general--appearance--colors and fonts--java(or basic)--java editor text font

6.导入新的andorid.jar后eclipse还是有资源报错问题,添加如下rules即可:(com/android/internal/** 和 android.R.*)
7.eclipse代码模板:
Window->Preferences->Java->Code Style->Code Templates


你可能感兴趣的:(eclipse,MyEclipse)