Does Visual Studio Code have an auto-import feature for Java??

For organize imports inside a java file

press SHIFT+ ALT + O

The vscode has also the option of enable auto organize imports on save action

enter image description here

Leave a Comment