Skip to content

CallHierarchy support #48

Description

Hi there and thanks for creating multilspy!

I'm using it to create a language-agnostic-ish call graph to solve LLM code assistant context. [Article.]

Currently this is two passes:

  1. Forward pass through request_document_symbols to collect method regions
  2. For each symbol, call request_references and add edges

(1) is about 0.1s per file which is not great but I can live with it. But (2) is about 2.5s per source file.

Multithreading helps a little but not much (about a factor of 2x), because Python.

I think I could do (2) in request-per-file instead of request-per-symbol if I had CallHierarchy with outgoingCalls support.

WDYT?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions