-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[regression] content assist fails to find Type when class defines record below #757
Comments
Version: 2023-03 (4.27) Nevermind, I'm able to reproduce, and this is something else. Update: It started to fail sometime between I20230130-1330 & I20230206-1800 |
gayanper
added a commit
to gayanper/eclipse.jdt.core
that referenced
this issue
Feb 17, 2023
Add proper guard condition for CompletionOnRecordComponentName so that it is created only if the cursor location is in-between the record declaration start and name end position.
3 tasks
gayanper
added a commit
that referenced
this issue
Feb 18, 2023
Add proper guard condition for CompletionOnRecordComponentName so that it is created only if the cursor location is in-between the record declaration start and name end position.
Version: 2023-03 (4.27) Fixed with the above build, so closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested with https://download.eclipse.org/eclipse/updates/4.27-I-builds/I20230215-0610
Given this code:
Completion on
TreeSet|
fails to propose the properjava.util.TreeSet
import, as long as the record definition is below the completion site. Remove the record or move it upward, and it works again.I checked it worked against 2023-03-M1.
I found it while testing our latest jdt.ls build. cc @rgrunber, @testforstephen
The text was updated successfully, but these errors were encountered: