Skip to content

Auto import is not working in a java file when multiple root/subfolder project in one workspace #2647

Open
@qzi

Description

@qzi

[provide a description of the issue]

Environment
  • Operating System: MacOS
  • JDK version: 17
  • Visual Studio Code version: Version: 1.70.2
  • Java extension version: v1.9.0
Steps To Reproduce

Step 1: delete a necessary import in a java under one project under multiple root workspace
Step 2: the extension can not import automatically

[Please attach a sample project reproducing the error]
Please attach logs

Current Result

lack of dependency import and build failed

Expected Result

auto import the dependency necessarily

Additional Informations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions