kotlin-language-server
kotlin-language-server copied to clipboard
Duplicate import entries for code actions
trafficstars
When asking the lsp for code actions, I often get duplicate (or more) lines, like in the screenshot below (Neovim):
I reproduced it with VS Code as well.
How to reproduce
- Clone https://github.com/fwcd/kotlin-quick-start
- Open https://github.com/fwcd/kotlin-quick-start/blob/main/src/test/kotlin/quick/start/AppTest.kt
- Remove the import on line 7
- Ask for code actions