Open spangaer opened 5 days ago
Classic Eclipse(2024-06) seems to get away with this, for the same project files
Btw, I did attempt to get something meaningful out of the logs, but did not succeed.
Tracing LSP was a bit of a needle in a haystack, if you have no clue what to look for.
When triggering autocomplete (
ctrl+space
) targeting JDK typejava.lang.reflect.Field
orjava.util.List
and certain (scala) libs are on the classpath, expected suggestions are not coming.I've observed that
List
andFunction
are broken by the scala lib itself andField
is broken by Akka HTTPEnvironment
Steps To Reproduce
Reproducer with dev container: https://github.com/spangaer/vscode-javals-completion-issue (Dev container because SBT generated eclipse files, but my guess is that doesn't matter)
Current Result
Expected Result
Additional info
It looks to be really specific to the code completions. e.g creating a local var using
Quick Fix...
type inference does find the JDK types.