-
Notifications
You must be signed in to change notification settings - Fork 685
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
editor.action.quickFix abnormal #7926
Comments
I'm not quite able to follow the repro steps or understand the issue. Would you mind sharing an image / GIF of both the expected behavior and actual broken behavior? |
In the past, when there was an error of missing a namespace, the option to use the namespace could be automatically popped up through shortcut keys. However, it seems that this is no longer possible. I don't think these prompts are correct |
@nczsl Ah thanks - I understand what the problem is now. I can't reproduce the issue myself, but from the screenshot it looks like no c# actions are showing up at all. Would you mind collecting the C# logs as described here?https://github.com/dotnet/vscode-csharp/blob/main/SUPPORT.md#collecting-general-logs |
that is a omnisharp log on output port: } |
Is this related to me not installing. NET 8? |
Ah I am not sure, this looks like an error in O# related to loading Razor. I suspect it is related to the O# upgrade in the last release. For now I would suggest seeing if downgrading to the previous extension version works. Or you could try out the Roslyn based server (instead of O# - |
The Razor extension for OmniSharp ships with version 7.0 of Microsoft.AspNetCore.Razor.Utilities.Shared. @davidwengier How do you suggest resolving this for O#? Should we implement a similar analyzer assembly resolver for our project system? |
Environment data
dotnet --info
output:.NET SDK:
Version: 9.0.101
Commit: eedb237549
Workload version: 9.0.100-manifests.3068a692
MSBuild version: 17.12.12+1cce77968
运行时环境:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.101\
已安装 .NET 工作负载:
没有要显示的已安装工作负载。
配置为在安装新清单时使用 loose manifests。
Host:
Version: 9.0.0
Architecture: x64
Commit: 9d5a6a9aa4
.NET SDKs installed:
8.0.404 [C:\Program Files\dotnet\sdk]
9.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
VS Code version:
1.96.3
91fbdddc47bc9c09064bf7acf133d22631cbf083
x64
C# Extension version:
Version
2.61.28
OmniSharp log
Steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
in vscode csharp editor, keyboard shortcuts has problem , editor.action.quickFix abnormal; it Occurred after this update (Last Updated
2025-01-14, 10:49:56)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: