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

improper initial colorization of ParameterInfo tooltip in razor file #11298

Open
AdmiralSnyder opened this issue Dec 12, 2024 · 3 comments
Open
Labels
bug Something isn't working external Scope involves an area outside of the repo
Milestone

Comments

@AdmiralSnyder
Copy link

when starting VS, before a .cs file has been opened in the text editor, and only a .razor file, it feels like something hasn't been initialized properly theme-wise:
using the Dark theme, i get this tooltip when calling Edit.ParameterInfo from Ctrl-Shift-Space:

Image

once i change into a .cs file, and pack, it is drawn properly:

Image

@PaulBraetz
Copy link

I can reproduce this issue on VS 2022 17.12.3.

@davidwengier davidwengier added this to the Backlog milestone Dec 12, 2024
@davidwengier davidwengier added the bug Something isn't working label Dec 12, 2024
@davidwengier
Copy link
Contributor

This feels like it's probably Roslyn not loading theme information until a view tagger is created (the colours look correct for the light theme), so might need to move to them, but we should investigate first.

@davidwengier
Copy link
Contributor

Investigated this and it seems the LSP client/editor is the responsible party, so logged an internal bug, https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2325891

Will track that issue with this one.

@davidwengier davidwengier added the external Scope involves an area outside of the repo label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external Scope involves an area outside of the repo
Projects
None yet
Development

No branches or pull requests

3 participants