Open denis-dbm-inactive opened 2 years ago
I got the same problem, but in my case there is nothing related to mono (mono is not installed on my machine)
i got this too ,my code is in wsl2 ,when I coding in windows's vscode client i got the same =>'Received response for /v2/getcodeactions but could not find request.'
Issue Description
In my environment, C# ext intellisense is not working. Features like "import namespace" or "Code Lens" is working. There are logs pointing to a possible request failure
If I downgrade it to 1.23.12, it works as expected.
I do not know why, but the auto-generated log is pointing as using mono runtime. I am not using that (force flag Use Global Mono = never).
Steps to Reproduce
Expected Behavior
Intellisense works well with small or no delays.
Actual Behavior
It does not work and print a kind of failure log.
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.57.1 C# Extension: 1.23.13
Mono Information
OmniSharp using built-in monoDotnet Information
.NET SDK (reflecting any global.json): Version: 5.0.401 Commit: 4bef5f3dbf Runtime Environment: OS Name: opensuse-tumbleweed OS Version: 20210615 OS Platform: Linux RID: linux-x64 Base Path: /home/dbm/dev/dotnet/sdk/5.0.401/ Host (useful for support): Version: 5.0.10 Commit: e1825b4928 .NET SDKs installed: 5.0.401 [/home/dbm/dev/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 5.0.10 [/home/dbm/dev/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 5.0.10 [/home/dbm/dev/dotnet/shared/Microsoft.NETCore.App] To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |code-spell-checker|streetsidesoftware|1.10.2| |code-spell-checker-portuguese-brazilian|streetsidesoftware|2.0.2| |cpptools|ms-vscode|1.5.1| |csharp|ms-dotnettools|1.23.13| |go|golang|0.27.2| |java|redhat|0.82.0| |Kotlin|mathiasfrohlich|1.7.1| |markdowntable|TakumiI|0.7.0| |msbuild-project-tools|tintoy|0.3.15| |vscode-docker|ms-azuretools|1.17.0| |vscode-java-debug|vscjava|0.36.0| |vscode-java-dependency|vscjava|0.18.6| |vscode-java-pack|vscjava|0.18.5| |vscode-java-test|vscjava|0.30.1| |vscode-maven|vscjava|0.34.0| |vscode-spring-boot|Pivotal|1.28.0| |vscodeintellicode|VisualStudioExptTeam|1.2.14|;