java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

Bug:something wrong with fromat of import.

Open h4kuy4 opened this issue 4 years ago • 3 comments

I use this language server with neovim. When I format my source code, the import may be changed if there is more than one import. e.g. This is original imports. jls1 Format it for the first time. jls2 Format it for the second time. jls3 Format it for the third time. jls4 Until there is only one import left. jls5

h4kuy4 avatar Nov 26 '21 05:11 h4kuy4

I'm having this issue as well. When I add an import: image After formatting, the import changes into an already existing import: image

kamui-fin avatar Jan 21 '22 20:01 kamui-fin

Same here. Imports are even deleted: Disabling format on save isn't helping.

flikkes avatar Feb 04 '22 09:02 flikkes