java configuration opensource_eclipse下查看java源码设置

myway:

1.选择一函数,按住ctrl,显示open declaration(或按F3);

c114334ed9de08e308924f0c5cfb3113.png

2.点进去:

如果未配置,点 source attachment configuration -- external file selection --找到你的jdk下的src.zip文件,选择,然后就结束了

3.设置成功无需重启:

55c2d3a9c1a466e2d6d2bbaeb1c81ed9.png

百度

1.windows--preferences--java--installed jres --选中jre6--点击右边的edit--选中jre6/lib/rt.jar --点击右边的 source attachment configuration -- external file selection --找到你的jdk下的src.zip文件,选择,然后就结束了

stackoverflow

2.Short answer would be yes.

You can attach source using the properties for a project.

Go to Properties (for the Project) -> Java Build Path -> Libraries

Select the Library you want to attach source/javadoc for and then expand it, you'll see a list like so:

Source Attachment: (none)

Javadoc location: (none)

Native library location: (none)

Access rules: (No restrictions)

Select Javadoc location and then click Edit on the right hahnd side. It should be quite straight forward from there.

Good luck :)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值