鼠标 左键+Ctrl 点击查看源码进去有个 Source Attachment 点击进去选择添加 extra file 找到你的jdk安装目录下的路径中的src 导入即可 D:\java\jdk\src.zip