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

Add Razor inlay hint and inlay hint resolve handlers #6857

Merged
merged 1 commit into from Feb 14, 2024

Conversation

davidwengier
Copy link
Contributor

Goes with dotnet/razor#9904 for the server side.

Obviously needs a Razor bump to actually work, but that is blocked at the moment anyway.


const virtualCSharpUri = UriConverter.serialize(razorDocument.csharpDocument.uri);

const roslynInlayHintParams = <InlayHintParams>{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my understanding - why do we not need to do this for the resolve request?

Copy link
Contributor

@alexgav alexgav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

davidwengier added a commit to dotnet/razor that referenced this pull request Feb 6, 2024
Adds inlay hint support for Razor in VS and VS Code, cohosting and
regular.

Goes with dotnet/vscode-csharp#6857 for the VS
Code side.
@davidwengier
Copy link
Contributor Author

Ping @dotnet/roslyn-ide for reviews, if you please :)

@davidwengier davidwengier merged commit 1bf0848 into dotnet:main Feb 14, 2024
13 checks passed
@davidwengier davidwengier deleted the RazorInlayHint branch February 14, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants