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 and syntax highlight not working at all for function pointer callconv-s #59052

Closed
Sergio0694 opened this issue Jan 25, 2022 · 3 comments
Labels
Area-IDE help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone

Comments

@Sergio0694
Copy link
Contributor

Version Used:

  • VS2022 17.0.5
  • VS2022 17.1 Preview 3

Steps to Reproduce:

  1. Write any function pointer with explicit callconv(s), eg.:
delegate* unmanaged[Stdcall]<void> f0;
delegate* unmanaged[Cdecl]<void> f1;
delegate* unmanaged[MemberFunction, SuppressGCTransition]<void> f2;
delegate* unmanaged[Thiscall]<void> f3;
delegate* unmanaged[Fastcall]<void> f4;
  1. Observe that syntax highlight is broken (the type is white)
  2. Observe that IntelliSense is broken (hovering doesn't show the type info)

Expected Behavior:

  • The modifiers should be colored (in green, as they're classes)
  • Hovering on them should display the usual type info like on any other type

Actual Behavior:

  • No syntax highlight at all
  • No hovering tooltip at all

In case it matters, both issues also reproduce on casts, not just member declarations.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 25, 2022
@CyrusNajmabadi
Copy link
Member

This is very low priority for us. We would take a suitably small and targetted fix here though.

@CyrusNajmabadi CyrusNajmabadi added help wanted The issue is "up for grabs" - add a comment if you are interested in working on it and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 25, 2022
@CyrusNajmabadi CyrusNajmabadi added this to the Backlog milestone Jan 25, 2022
@Youssef1313
Copy link
Member

This actually got already fixed. @CyrusNajmabadi I think it could be closed.

@CyrusNajmabadi
Copy link
Member

Okey dokey!

@CyrusNajmabadi CyrusNajmabadi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants