Skip to content

Poor result ranking for workspaceSymbol #81

@HighCommander4

Description

@HighCommander4

If I'm editing the LLVM codebase with vscode + clangd and I perform a workspaceSymbol search for TypeDecl, this is what I get:

workspacesymbol-screenshot

Note that clang::TypeDecl is the very last result, and all sorts of identifiers where the leaf segment is only a partial as opposed to an exact match are ranked higher than it.

I believe this is clearly suboptimal. Symbols where the leaf segment of the qualified name is an exact match should be ranked higher than ones where it's a partial match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions