microsoft/language-server-protocol

Call hierarchies, more info needed

Open

#1.219 geöffnet am 11. März 2021

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)HTML (956 Forks)batch import
clarificationhelp wanted

Repository-Metriken

Stars
 (12.810 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19h 29m) (12 gemergte PRs in 30 T)

Beschreibung

When I read the 3.16 information about call hierarchies, I am left scratching my head. Is this mechanism all about finding out who calls or is called by a symbol (the cursor is placed on)?

The first question that pops up is how would this work in a functional language where a caller or callee is a piece of runtime data?

Second question is, given a cursor on the middle of the "print" call reference of the proverbial hello world program, what should the various call hierarchy requests do?

Might be very useful to provide examples or cite references to further explain what the LSP designers are trying to accomplish/achieve with this mechanism.

Contributor Guide