eclipse-jdt/eclipse.jdt.core

[Bug - Go To/Navigation Java Records] - Can not go to Class

Open

#2,809 创建于 2024年8月12日

在 GitHub 查看
 (15 评论) (0 反应) (0 负责人)Java (183 fork)auto 404
help wanted

仓库指标

Star
 (233 star)
PR 合并指标
 (PR 指标待抓取)

描述

When Instances are created under sealed interface the Go To navigation does not work.

Steps To Reproduce

  • Clone https://github.com/nipafx/nox.zone
  • Checkout this commit e3280724a270be9775f9360c390ded5535d3eb18
  • Import into VSCode
  • Open HtmlElement.java
  • Try to naviagate to Anchor class at 28 line with CTRL + Left Click, you can try any class from 28 line to 55. In order to replicate th screenshot below go to Anchor class line 25:12 and Right Click on Anchor return type and then click Open Declaration. image

Also, the same behaviour is present in ListItem.java class when the CTRL + Left Click is executed at 17* line on ListItem, or any of the input params of the methods.

In the screenshot below, the references are only loaded for constructor but not for the methods. Screenshoot for ListItem image

贡献者指南