Skip to content

Commit

Permalink
Fix workspace symbol search (#211682)
Browse files Browse the repository at this point in the history
Fixes #211672
  • Loading branch information
mjbvz authored Apr 30, 2024
1 parent dfa434a commit eec9689
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class TypeScriptWorkspaceSymbolProvider implements vscode.WorkspaceSymbolProvide
}

private toSymbolInformation(item: Proto.NavtoItem): vscode.SymbolInformation | undefined {
if (!item.containerName || item.kind === 'alias') {
if (item.kind === 'alias' && !item.containerName) {
return;
}

Expand Down

0 comments on commit eec9689

Please sign in to comment.