-
Notifications
You must be signed in to change notification settings - Fork 161
CallHierarchyOutgoingCalls #1418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 |
- 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
…veFSharpLspServer
77e1e6c to
0de2bf4
Compare
…tions, operators, and properties
0de2bf4 to
4e76a5e
Compare
…ws in NestedExample2
…hy, enhancing resolution of local file paths and adding related tests.
… external build paths
Adds callHierarchy/outgoingCalls
This shows all functions being used within an expression.
callhierarchyoutgoing.mp4