myway: 1.选择一函数,按住ctrl,显示open declaration(或按F3); 2.点进去: 如果未配置,点 source attachment configuration -- external file selection --找到你的jdk下的src.zip文件,选择,然后就结束了 3.设置成功无需重启: 百度 1.windows--preferences--java--installed jres --选中jre6--点击右边的edit--选中jre6/lib/rt.ja…