解決Eclipse按下Ctrl+鼠標左鍵,無法轉到類、變量或者方法問題


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM