microsoft / microsoft/vscode

`list.find` doesn't match by file's directory path in reference view

Open
#324,996 1 comment 0 reactions 1 assignee Claimed by @benibenj View on GitHub
tree-widget
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes/No
Yes.

- VS Code Version: 1.128.0
- OS Version: Linux Mint 22.3 (Ubuntu noble, kernel 6.8)

Steps to Reproduce:

1. Trigger the reference view on a symbol by these commands:
- `editor.action.referenceSearch.trigger`
- `editor.action.goToImplementation`
2. Press F3 (`list.find`)
3. Try to match by the files' directory path.

Image

Image

In the views above, I can only match by two criteria:
1. The filename which are all the same, **`servers.go`** in this case
- _unhelpful_
2. Whatever text becomes visible under the expanded list entry
- _unhelpful_, since just like the filename, they're usually the same function signature or the type header

So the most differentiating factor in reference view is usually the directory path which is the package/module name; not the filename and not the visible text under the expanded entry.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.