Which version are you using? I've been using VS2019 Community Edition for web development and Jetbrains Rider for Unity. Haven't experienced issues with Visual Studio, but then I haven't updated it for a while.
I have never had an issue with it crashing, works flawless even on my older dinosaur PC's i have scattered around the house (install it on everything). I would say there is something else causing the crash like, a hardware issue or corrupted files.