Eclipse 2021-6 java content assist doesn't provide completions when there is a compile error
Asked Answered
R

1

0

I'm having an issue with content assist not providing completions when there is a compile error on that line.

In the below example I was able to complete the first call to feature() however not the second one.

If I where to write feature() manually it compiles. Example

I have Java Proposals turned on and it works fine sometimes but not in situations as shown above.

This wasn't a problem until I upgraded from eclipse 2019 to 2021-6 Is there any option to enable content assist here?

Rothenberg answered 27/6, 2021 at 0:45 Comment(0)
R
0

this was fixed by quitting eclipse and deleting .metadata\.plugins\org.eclipse.jdt.core\savedIndexNames.txt and restarting eclipse.

Rothenberg answered 28/6, 2021 at 7:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.