Skip to content

Commit

Permalink
Merge pull request #1642 from filipw/feature/simplified-symbolfinder
Browse files Browse the repository at this point in the history
removed project.json left over from symbol finder
  • Loading branch information
david-driscoll authored Nov 13, 2019
2 parents e60f710 + 4c2e55a commit cbfca2c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ public async Task<QuickFixResponse> 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)
};
}
}
Expand Down

0 comments on commit cbfca2c

Please sign in to comment.