Eclipse項目中,按下Ctrl鍵后,鼠標移動到類、方法后可以顯示高亮鏈接,但點擊后無法跳轉過去。網上查了很多方法都沒有解決
最后無意在國外的網站上找到了解決方法,出處:
https://stackoverflow.com/questions/16354028/eclipse-type-hierarchy-not-always-working
原文:
I had this same problem and fixed it by deleting the Eclipse index cache files located in .metadata/.plugins/org.eclipse.jdt.core. Delete all .index files and savedIndexNames.txt. Do this while Eclipse is not running and then restart. This fixed the issue for me.
即先關掉Eclipse,然后將.metadata/.plugins/org.eclipse.jdt.core文件夾中的.index文件和savedIndexNames.txt文件清理掉,最后重新啟動Eclipse