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

Duplicate import entries for code actions

Open greg0ire opened this issue 1 year ago • 0 comments
trafficstars

When asking the lsp for code actions, I often get duplicate (or more) lines, like in the screenshot below (Neovim):

2024-08-23_09-21

I reproduced it with VS Code as well.

How to reproduce

  1. Clone https://github.com/fwcd/kotlin-quick-start
  2. Open https://github.com/fwcd/kotlin-quick-start/blob/main/src/test/kotlin/quick/start/AppTest.kt
  3. Remove the import on line 7
  4. Ask for code actions

greg0ire avatar Aug 23 '24 07:08 greg0ire