kotlin-language-server
kotlin-language-server copied to clipboard
How to trigger language server to re-index
Description
After adding packages to my gradle.build.kts
, auto-imports for the new things weren't working for me. I was able to fix by restarting the language server from the command palette and waiting for the "kotlin: indexing..." status to finish.
I'm wondering if its possible to trigger a re-index without restarting the server?
Update: I notice from the extensions "Feature contributions", the only command exposed is kotlin.languageServer.restart
Extension version
0.2.22
Additional context
n/a
Not yet possible, I'm afraid. Related issues for automatically triggering reindexes: #272, #273