Skip to content

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

Description

@a-pav

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions