C#C
C#6mo ago
serj

C#/razor intellisense not working in VSCode on mac

Hi. I recently created a Blazor Server app and have been tinkering with it for a few days now. When I started I tried first working in Neovim, but I failed as I didn't find the right lsp for c# that actually worked for me. Eventually, I switched to vscode. I downloaded all the necessary extensions: ".Net Install Tool", "C#" and "C# Dev Kit", but even after doing so I was getting no auto completions and hovering on any class didn't do anything. I tried reinstalling the extensions, reinstalling dotnet, changing the path to dotnet, restarting my computer, and going to settings and setting Dotnet Path to /usr/local/share/dotnet. I tried downloading Visual Studio, but it apparently is no longer supported. I installed jetbrains rider, but absolutely hated it. I was so desperate, I even tried Zed!

Could somebody help me figure this out? Can I use an old version of Visual Studio and just call it a day?

dotnet --version is 9.0.302.
Was this page helpful?