-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Add a new MCP tool symbol_workspace that searches for symbols across all projects in the solution.
Details
- Iterates through all projects and their items
- Extracts symbols using FileCodeModel
- Filters by query string (case-insensitive contains)
- Returns matching symbols with file locations
- Supports
maxResultsparameter for performance
Implementation Tasks
- Add
SearchWorkspaceSymbolsAsync(string query, int maxResults)toIVisualStudioRpcinRpcContracts.cs - Add
SearchWorkspaceSymbolsAsynctoIVisualStudioService.cs - Implement
SearchWorkspaceSymbolsAsyncinVisualStudioService.cs - Add helper method to recursively iterate ProjectItems
- Add forwarding method in
RpcServer.cs - Add proxy method in
RpcClient.cs - Add
symbol_workspacetool method toNavigationTools.cs - Build and verify no errors
Dependencies
- Requires feat(tools): add symbol_document navigation tool #13 (symbol_document) for SymbolModels DTOs
Notes
This is Phase 2 of the LSP-style navigation tools feature. Builds on the symbol extraction pattern from Phase 1.
Metadata
Metadata
Assignees
Labels
No labels