Skip to content

Conversation

@TheAngryByrd
Copy link
Member

@TheAngryByrd TheAngryByrd commented Oct 2, 2025

Adds callHierarchy/outgoingCalls

This shows all functions being used within an expression.

callhierarchyoutgoing.mp4

@TheAngryByrd TheAngryByrd requested a review from Copilot October 2, 2025 01:51
@TheAngryByrd TheAngryByrd self-assigned this Oct 2, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the CallHierarchyOutgoingCalls LSP feature for FsAutoComplete, enabling editors to navigate from a function to all the functions it calls. The implementation includes both the core server functionality and comprehensive test coverage.

Key changes:

  • Added full implementation of CallHierarchyOutgoingCalls functionality
  • Created extensive test suite with multiple complex scenarios
  • Added test case files covering various call patterns (simple, recursive, nested, async)

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs Main implementation of CallHierarchyOutgoingCalls endpoint with symbol analysis and filtering
test/FsAutoComplete.Tests.Lsp/CallHierarchyTests.fs Comprehensive test suite with 8 test cases covering various call hierarchy scenarios
test/FsAutoComplete.Tests.Lsp/Program.fs Added import for new CallHierarchy test module
test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj Added compiler warning suppression for test project
TestCases/CallHierarchy/OutgoingCalls/*.fsx Test case files providing examples of different call patterns
Various other files Test files, configuration files, and documentation updates

@TheAngryByrd TheAngryByrd marked this pull request as draft October 2, 2025 01:53
- Implemented CallHierarchyOutgoingCalls in AdaptiveFSharpLspServer.
- Added tests for outgoing calls in CallHierarchyTests.
- Created example files for outgoing calls scenarios.
- Updated project files to include new tests and configurations.
… filtering and updating test cases for accuracy
…recursion, mutual recursion, tree traversal, and async patterns
@TheAngryByrd TheAngryByrd marked this pull request as ready for review December 9, 2025 02:40
@TheAngryByrd TheAngryByrd assigned Copilot and unassigned Copilot Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant