Skip to content

Restarting clangd break the exported API #648

@sr-tream

Description

@sr-tream
  1. Write an extension what used the clangd API added in Export client from activation as API for use in other extensions #575 (for example https://github.com/HighCommander4/vscode-clangd-api-example)
  2. Trigger extension activation (in provided example hover information for C/C++ symbol)
  3. Execute command clangd.restart
  4. Now extension from example have language client with State.Stopped state.

Getting new instance of API do not fix this issue, because clangd do not update exported language client instance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions