打开菜单Windows->Preferences里的Java->Editor->Content Assist->Advanced,把Java Proposals勾选中。

Eclipse - 不能自动联想类成员的解决方法之一_打开菜单