Skip to content
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

Auto (Organize) import works but not for all JDK classes #3908

Open
mstup opened this issue Jan 1, 2025 · 0 comments
Open

Auto (Organize) import works but not for all JDK classes #3908

mstup opened this issue Jan 1, 2025 · 0 comments

Comments

@mstup
Copy link

mstup commented Jan 1, 2025

VSCode: Version: 1.85.2
OS: Linux x64 4.16.11-100.fc26.x86_64
Extensions:

  • Extension Pack for Java v0.29.0

Auto import resolve Collection classes, probably some other, but can't resolve java.awt.Toolkit class to auto import.
Hotkey combination did nothing as well.

BTW: Used external predefined JAVA_HOME and JDK 11.0.9.fx-zulu

$> env | grep JAVA_HOME
JAVA_HOME=/home/mykola/.sdkman/candidates/java/current
$> java -version
openjdk version "11.0.9" 2020-10-20 LTS
OpenJDK Runtime Environment Zulu11.43+21-CA (build 11.0.9+11-LTS)
OpenJDK 64-Bit Server VM Zulu11.43+21-CA (build 11.0.9+11-LTS, mixed mode)

Example of simple project to reproduce issue vstest.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant