Sure, VSCode is awesome for almost everything to code and I use it every day, yet dotnet development, especially for winforms (no support at all), debugging, testing and decompile nuget DLLs (just not possible atm) is horrible.
Beside that, for many things you have to tackle problems different because vscode start apps of various kinds (azure functions, maui, ...) not as visual studio.
Visual Studio with Resharper could be "replaced" with Jetbrains Rider but they are sometimes behind Microsofts development cycle and also have the windows dependency for certain features (maui, winforms, ..).
I guess it would be ok to have a windows VM with visual studio to code eg. Winforms and run everything else with vscode/rider?
I use visual studio since 22 years and I really like it. Maybe I could ger used to use vscode/rider and live with workarounds?