1.查看錯誤: ctrl+1
2.智能補全: alt + /
3.增強自動補全
在Eclipse中,從Window -> preferences -> Java -> Editor -> Content assist -> Auto-Activation下,我們可以在"."號後面加入我們需要自動提示的首字幕,比如"abc",可以把26個字母的大小寫全部加上(.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_).
http://www.cnblogs.com/sunjie21/archive/2012/06/28/2567463.html
4.導入外部 android framework class.jar包:
右擊已建工程->buildpath->addlibrary->user library->new->起名:test, system library選中,保證eclipe boot時加載->add the external jar
->返回 選擇finish.
此外,值得注意的是,如果替換之前已添加的,直接刪除class.jar無效,要直接把test刪了,再重新添加。
10.19補充
導入外部jar包無效,要查看導入jar是否位於系統提供的jar包之上。如果不是,build
path -> configure path -> order
and export
->將選中的jar包top