Skip to content

Call Hierarchy on tsserver #2317

@nfrid

Description

@nfrid

Language server

tsserver

Requested feature

Add support for textDocument/prepareCallHierarchy to tsserver.

It has support for call history for a long time now (microsoft/TypeScript#35176).
But yet, when I try and call vim.lsp.buf.incoming_calls(), it shows this error: method textDocument/prepareCallHierarchy is not supported by any of the servers registered for the current buffer.

It seems like tsserver really does not have textDocument/prepareCallHierarchy method but somehow coc-tsserver added the support (neoclide/coc-tsserver#128).

It doesn't look like something nvim-lspconfig has to do with, but I would appreciate if you help me at least find out what we can do to make it work.

Other clients which have this feature

coc-tsserver

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions