vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

[Bug] - New imports are added before folded ones

Open mamilic opened this issue 1 year ago • 0 comments

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

mamilic avatar Oct 17 '24 11:10 mamilic