-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Priority: MediumenhancementNew feature or requestNew feature or requestlspLanguage Server Protocol relatedLanguage Server Protocol relatedv1.5.0Release 1.5.0Release 1.5.0
Milestone
Description
Summary
Implement textDocument/prepareCallHierarchy and callHierarchy/incomingCalls / callHierarchy/outgoingCalls to show call trees for functions and FBs.
Scope
- Prepare: identify FUNCTION or FUNCTION_BLOCK under cursor as hierarchy root
- Incoming: all PROGRAM/FUNCTION_BLOCK/FUNCTION bodies that call this function/FB
- Outgoing: all functions/FBs called from the current PROGRAM/FUNCTION_BLOCK/FUNCTION
- Cross-file via workspace indexer
Implementation Notes
- New
CallHierarchyProviderinsrc/server/providers/ - Requires workspace indexer to track call sites per file
- Register capability in
server.ts
Acceptance
- Right-click → Show Call Hierarchy works on any FUNCTION or FUNCTION_BLOCK
- Incoming and outgoing populated correctly cross-file
- Tests cover direct and transitive call cases
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Priority: MediumenhancementNew feature or requestNew feature or requestlspLanguage Server Protocol relatedLanguage Server Protocol relatedv1.5.0Release 1.5.0Release 1.5.0