Skip to content

Commit 3b08189

Browse files
committed
More leniently filter workspace symbols
Against the full name and not just the identifier, since it's what's displayed in the search menu. Now you can search methods by their parameters' names.
1 parent 4a90f28 commit 3b08189

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PowerShellEditorServices/Services/Workspace/Handlers/WorkspaceSymbolsHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public override async Task<Container<SymbolInformation>> Handle(WorkspaceSymbolP
6161
continue;
6262
}
6363

64-
if (!IsQueryMatch(request.Query, symbol.Id))
64+
if (!IsQueryMatch(request.Query, symbol.Name))
6565
{
6666
continue;
6767
}

0 commit comments

Comments
 (0)