Copied from Microsoft/vscode-java-pack/issues/44 @viraj1994 reported that the import statements are removed on save. Here's a video of the issue: https://drive.google.com/file/d/16bxoqj-4pA_aJAOChTpLpinpaiZCwwQf/view