dotnet / dotnet/vscode-csharp

[feature request] Filter out `nameof` when finding references for a function

Open
#5,300 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

## Is your feature request related to a problem? Please describe.
Not found.

## Describe the solution you would like

When showing references for a function symbol, provide a setting item (or even a button in the code lens / references panel) to filter out all `nameof (...)` matches.

## Applicable Scenarios

I want to see how a function is used, but such `nameof` items mess up the list.

## Describe alternatives you've considered

I can use a `Find All` with RegExp enabled and find `(?

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.