Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Lens doesn't show references on Source Generated files #74104

Open
vsfeedback opened this issue Jun 21, 2024 · 0 comments
Open

Code Lens doesn't show references on Source Generated files #74104

vsfeedback opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


Hello,
I'm trying to create a source generator using the recommended IIncrementalGenerator API.
The project builds normally and I'm able to set debug breakpoints.
However, CodeLens shows "- references" on the methods that are source generated or are referenced by them. "Find all references" and Shift+F12 works normally.
I'd like to see the references both in hand-written and source generated code.
Minimal repro: https://github.com/lukedays/CodeLensSourceGenError
Thanks in advance.


Original Comments

Feedback Bot on 6/13/2024, 08:12 PM:

(private comment, text removed)

Feedback Bot on 6/17/2024, 03:01 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

2 participants