We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd9393d commit 48d1963Copy full SHA for 48d1963
src/PowerShellEditorServices/Services/Workspace/Handlers/WorkspaceSymbolsHandler.cs
@@ -56,6 +56,13 @@ public override async Task<Container<SymbolInformation>> Handle(WorkspaceSymbolP
56
continue;
57
}
58
59
+ // Exclude Pester setup/teardown symbols as they're unnamed
60
+ if (foundOccurrence is PesterSymbolReference pesterSymbol &&
61
+ !PesterSymbolReference.IsPesterTestCommand(pesterSymbol.Command))
62
+ {
63
+ continue;
64
+ }
65
+
66
Location location = new()
67
{
68
Uri = DocumentUri.From(foundOccurrence.FilePath),
0 commit comments