Skip to content

workspace symbols: gopls fzf style search does not work  #647

Open
@hyangah

Description

@hyangah
Contributor

gopls v0.5.0 supports fzf-style search syntax (@findleyr) and the following syntax is treated specially:

' for exact matching
^ for prefix matching
$ for suffix matching

I see the gopls return the expected results, but it seems they are filtered out by VSCode's additional filtering.

[Trace - 13:38:18.094 PM] Sending request 'workspace/symbol - (129)'.
Params: {"query":"^http"}


[Trace - 13:38:18.143 PM] Received response 'workspace/symbol - (129)' in 48ms.
Result: [{"name":"httpresponse.Doc","kind":14,"location":{"uri":"file:///Users/hakim/go/src/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go","range":{"start":{"line":18,"character":6},"end":{"line":18,"character":9}}},"containerName":"golang.org/x/tools/go/analysis/passes/httpresponse"},
...

Screen Shot 2020-09-15 at 1 46 44 PM

Activity

hyangah

hyangah commented on Sep 15, 2020

@hyangah
ContributorAuthor
added a commit that references this issue on Sep 17, 2020
added this to the Untriaged milestone on Apr 8, 2021
modified the milestones: Untriaged, Backlog on Apr 9, 2021
hyangah

hyangah commented on Sep 22, 2021

@hyangah
ContributorAuthor

microsoft/vscode#98125 is the upstream issue to watch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream-vscodeIssues that are by problems in VS Code itself.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hyangah@stamblerre@gopherbot

        Issue actions

          workspace symbols: gopls fzf style search does not work · Issue #647 · golang/vscode-go