Skip to content

How to trigger language server to re-index #288

Open
@Xapphire13

Description

@Xapphire13

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestindexRelated to the symbol indexer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions