解决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

转载于:https://www.cnblogs.com/yuanjia2717/p/10187971.html

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值