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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)