From 22646df644c614cfc4f306fa3f6c9b9e9ef6c9b7 Mon Sep 17 00:00:00 2001 From: filipw Date: Tue, 29 Oct 2019 21:05:52 +0100 Subject: [PATCH] simplified symbol finder --- .../Services/Navigation/FindSymbolsService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/OmniSharp.Roslyn.CSharp/Services/Navigation/FindSymbolsService.cs b/src/OmniSharp.Roslyn.CSharp/Services/Navigation/FindSymbolsService.cs index 4de4a98a46..dbd20cd085 100644 --- a/src/OmniSharp.Roslyn.CSharp/Services/Navigation/FindSymbolsService.cs +++ b/src/OmniSharp.Roslyn.CSharp/Services/Navigation/FindSymbolsService.cs @@ -30,11 +30,10 @@ public async Task Handle(FindSymbolsRequest request = null) int maxItemsToReturn = (request?.MaxItemsToReturn).GetValueOrDefault(); var csprojSymbols = await _workspace.CurrentSolution.FindSymbols(request?.Filter, ".csproj", maxItemsToReturn); - var projectJsonSymbols = await _workspace.CurrentSolution.FindSymbols(request?.Filter, ".json", maxItemsToReturn); var csxSymbols = await _workspace.CurrentSolution.FindSymbols(request?.Filter, ".csx", maxItemsToReturn); return new QuickFixResponse() { - QuickFixes = csprojSymbols.QuickFixes.Concat(projectJsonSymbols.QuickFixes).Concat(csxSymbols.QuickFixes) + QuickFixes = csprojSymbols.QuickFixes.Concat(csxSymbols.QuickFixes) }; } }