Hi,
There’s similar issues with Visual Studio Code, if you have seen any of these discussions:
I’ve had similar issues too… It might be worth checking those threads even if they’re about VS Code, and see if there’s something you haven’t tried yet. I suspect (just an educated guess) that having multiple installs of Unity might have something to do with it, maybe. I never had these can’t open VS/VS Code issues until I started using many Unity installs at the same time.