microsoft/language-server-protocol

Call hierarchies, more info needed

オープン

#1,219 opened on 2021/03/11

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)HTML (956 件のフォーク)batch import
clarificationhelp wanted

Repository metrics

Stars
 (12,810 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド