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

Enable inlay hints in Visual Studio #7888

Closed
MariaSolOs opened this issue May 1, 2024 · 2 comments · Fixed by #7898
Closed

Enable inlay hints in Visual Studio #7888

MariaSolOs opened this issue May 1, 2024 · 2 comments · Fixed by #7898
Assignees

Comments

@MariaSolOs
Copy link

Describe the feature you are requesting
Visual Studio now has support for inlay hints via LSP, so given that the Python serves has support for these, it would be nice to enable them in Visual Studio.

Reasons for requesting this feature
It would better align with the language service experience in other editors (e.g. VS Code).

Additional context
TypeScript is now using LSP for their inlay hints in Visual Studio, and Razor is also using them to provide C# inlay hints in script blocks: https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-preview#inlay-hints-for-c-code-in-razor-files

@StellaHuang95
Copy link
Contributor

StellaHuang95 commented May 7, 2024

@MariaSolOs Thanks for reaching out. Are we only looking to display the inlay hints, or are you anticipating a behavior that's more consistent with VS Code, where users can double-click the inlay hints in the editor to insert into their code? What do other languages in VS currently support?

@MariaSolOs
Copy link
Author

@MariaSolOs Thanks for reaching out. Are we only looking to display the inlay hints, or are you anticipating a behavior that's more consistent with VS Code, where users can double-click the inlay hints in the editor to insert into their code? What do other languages in VS currently support?

The plan is to support the same level of interactivity that VS Code has (AFAIK that’s part of the editor roadmap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants