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

IntelliSense (partially) not working for SG generated files #51799

Closed
Sergio0694 opened this issue Mar 11, 2021 · 5 comments
Closed

IntelliSense (partially) not working for SG generated files #51799

Sergio0694 opened this issue Mar 11, 2021 · 5 comments
Assignees
Labels
Area-IDE IDE-IntelliSense Completion, Signature Help, Quick Info New Feature - Source Generators Source Generators Resolution-Duplicate The described behavior is tracked in another issue
Milestone

Comments

@Sergio0694
Copy link
Contributor

Sergio0694 commented Mar 11, 2021

Version Used: VS 16.10 Preview 1

Steps to Reproduce:

  1. Clone ComputeSharp
  2. Open the solution, build ComputeSharp.Sample.Local (or any other sample except the .NuGet one)
  3. Expand Dependencies > Analyzers > ComputeSharp.SourceGenerators
  4. Look at any of the generated files from any of the generators: IntelliSense is disabled for most types

Expected Behavior:
IntelliSense should work for all types as usual.

Actual Behavior:
IntelliSense is not running except for a few types from the BCL.
Most types are displayed in white, CTRL + click doesn't work, hover doesn't display info, etc.
Some methods are displayed in white too instead of yellow, and IntelliSense is off for them too.

Screenshot:
image

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 11, 2021
@jinujoseph jinujoseph added IDE-IntelliSense Completion, Signature Help, Quick Info New Feature - Source Generators Source Generators and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 11, 2021
@jinujoseph jinujoseph added this to the 16.10 milestone Mar 11, 2021
@huoyaoyuan
Copy link
Member

The generated file is categorized as Misc file in IDE. It should be categorized under the project.

@jasonmalinowski
Copy link
Member

Yep, dupe of #50676. (And I'm literally working on fixing this right now, so the fix is coming!)

@Sergio0694
Copy link
Contributor Author

Oh, whoops, my bad - I did check for similar issues but I just missed that one! Glad to hear a fix is already in the works, that's great! I'll close this issue then since it's a duplicate, thanks! 😄

@jasonmalinowski
Copy link
Member

@Sergio0694: not a problem! And my personal motto is I'm always happy to close duplicates rather than have somebody not file a bug because they thought it was a known one. I just feel bad for the time you had to waste writing up a good bug report... 😦

@sharwell
Copy link
Member

Duplicate of #50676

@sharwell sharwell marked this as a duplicate of #50676 Nov 24, 2021
@sharwell sharwell added the Resolution-Duplicate The described behavior is tracked in another issue label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE IDE-IntelliSense Completion, Signature Help, Quick Info New Feature - Source Generators Source Generators Resolution-Duplicate The described behavior is tracked in another issue
Projects
None yet
Development

No branches or pull requests

5 participants