| Summary: | No autocompletion / organize imports for JDK17 incubator classes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Jan Mosig <jan.mosig> | ||||||
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | christian.dietrich.opensource, Lars.Vogel, loskutov | ||||||
| Version: | 4.21 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=571758 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jan Mosig
Created attachment 287621 [details]
Screenshot of failing auto complete on an instance of jdk.incubator.foreign.addressable
Please check if 4.22 RC2 solved yoir problem. There were some fixes in content assist area. Thank you for the quick reply. The download page currently only lists RC1. Where can I get RC2? (In reply to Jan Mosig from comment #3) > Thank you for the quick reply. The download page currently only lists RC1. > Where can I get RC2? From the download page of course :-) https://download.eclipse.org/eclipse/downloads/ Thanks for the hint :) It does not work with 4.22 RC2 also I am afraid. (In reply to Andrey Loskutov from comment #4) > (In reply to Jan Mosig from comment #3) > > Thank you for the quick reply. The download page currently only lists RC1. > > Where can I get RC2? > > From the download page of course :-) > https://download.eclipse.org/eclipse/downloads/ Thanks. This is an expected outcome from bug 571758 changes. You can fix it immediately by un-checking Prefereneces > Java > Type Filters -> jdk.* filter. I tend to close it as won't fix, because most people don't want jdk.* to be shown in proposals, but if you have good reason to have them shown, please speak up. Maybe the code completion popup could show an entry "Some entries are filtered out due to ..." and could allow to jump to the preference. If that would be desired by the JDT team, we could open another bug for this. (In reply to Lars Vogel from comment #7) > Maybe the code completion popup could show an entry "Some entries are > filtered out due to ..." and could allow to jump to the preference. If that > would be desired by the JDT team, we could open another bug for this. Good idea, I don't know if that is technically possible, but from user perspective would be clear improvement. (In reply to Andrey Loskutov from comment #8) > Good idea, I don't know if that is technically possible, but from user > perspective would be clear improvement. Bug 577710 created. Thanks for the hints and ideas guys. I confirm that disabling the type filter "jdk.*" solves the problem. I do also agree: A visual hint on active type filters would be helpful. Maybe a quickfix is another viable option. Imo without any hint, not showing "rarely" used classes in content assist is very counter intuitive, since my expectation is that all matching options are shown. This was the default in early versions of Eclipse and is afaik also the default behavior of other IDEs. However, since there is a new bug on this topic, I'd say we close this one here with won't fix or any other status you see fit. Thanks, Jan for the feedback. |