一、懸浮在jdk的某class,右擊點擊Open Declaration 或F3,則調整其源碼。若是沒有關聯源碼,則會彈出:spa
二、點擊「Attach Source」,選擇jdk下的Src.zip3d
1.點 「window」-> "Preferences" -> "Java" -> "Installed JRES"blog
二、編輯某jar包,如:rt.jar,而後點擊「Source Attachement」ip
三、附加具體的源碼地址,一般選擇jdk源碼路徑源碼