-
Notifications
You must be signed in to change notification settings - Fork 676
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
Inlay hints don't work #5149
Comments
These settings currently only enable inlay hints at the VS Code level, but not in OmniSharp server. You need to separately enable them in the server component. In the future they will be synchronized. For now, the simplest way is to do one of the following:
in this file, you can enable inlay hints by setting
More on the server configuration options can be found here https://github.com/OmniSharp/omnisharp-roslyn/wiki/Configuration-Options |
Thank you! After applying this settings everything works well. |
Thanks for confirming |
Maybe this issue should be stay opened to track that? |
Issue Description
I've enabled inlay hints using the following settings:
but inlay hints don't work and there are number of repated messages in Omnisharp logs
Steps to Reproduce
Expected Behavior
Inlay hints woking for both variable types and argument names
Actual Behavior
In inlay hints are shown
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.66.0
C# Extension: 1.24.3
Mono Information
OmniSharp using built-in monoDotnet Information
Version: 6.0.101 Commit: ef49f6213aRuntime:
OS Name: arch
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/share/dotnet/sdk/6.0.101/
Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc
.NET SDKs installed:
5.0.404 [/usr/share/dotnet/sdk]
6.0.101 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code Extensions
The text was updated successfully, but these errors were encountered: