eclipse-jdt/eclipse.jdt.core
GitHub で見る[Bug - Go To/Navigation Java Records] - Can not go to Class
Open
#2,809 opened on 2024年8月12日
help wanted
Repository metrics
- Stars
- (233 stars)
- PR merge metrics
- (PR metrics pending)
説明
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.
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