eclipse-jdt/eclipse.jdt.core
Vedi su GitHub[Bug - Go To/Navigation Java Records] - Can not go to Class
Open
#2809 aperta il 12 ago 2024
help wanted
Metriche repository
- Star
- (233 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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