3

I configured my project to use a Project Panama EA JDK, I can use jdk.incubator.foreign.* manually but Content Assist and Quick Fix don't suggest/fix anything from this package.

Is there a way to configure Content Assist or something?

(I looked into Preferences->Java->Editor->Content Assist, No luck there)

JBritannia
  • 43
  • 6

1 Answers1

1

I had the same problem, and found that eclipse by default is configured to not assist with classes named jdk.*.

I found this setting under Preferences -> Java -> Appearance -> Type Filters

Config dialog

Just remove jdk.* from this list.
(You may add jdk.*.internal.* instead)

Johannes Kuhn
  • 14,778
  • 4
  • 49
  • 73
  • 1
    Thank you! Turns out there is a really subtle link to that in the Content Assist settings pointing to type filters. It just wasn't that obvious. – JBritannia Feb 06 '22 at 07:42