Skip to content

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

@hyangah

Description

@hyangah

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

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

    Issue actions