Skip to content

New imports are added before folded ones when using editor.foldingImportsByDefault #3821

Open
@mamilic

Description

@mamilic

When I autoimport the suggested claasname, prior to enabling the fold imports, it will add new import before folded ones.
image

Environment
  • Operating System: Windows 11
  • JDK version: 21
  • Visual Studio Code version: 1.94.2
  • Java extension version: 1.35.1

Steps:

  1. Open demo.zip
  2. Navigate to DemoApplication.java and try to add new import by typing claas name instead of ArrayList by autocompleting the classname.
  3. It will add new import before the folded ones

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