I found this in a quick search…
How to Setup Visual Studio 2022 for Unreal Engine
About to migrate to ue5, I think as soon is possible, because things are changing too fast
At the moment I do keep some projects in ue4 (because are huge or complexity), migrate some, and all new to 5 because Lumen
Is not perfect yet of course, and I guess VS2022 at some point will be supported is new…