May I suggest you to try Rider for UE Preview? We use it everyday on our work project and runs fine. Until VS2022 is released (which has improved a lot) I cannot recommend Visual Studio at all.
Rider for Unreal Engine | JetBrains: Developer Tools for Professionals and Teams