Here is how to expand all collupsed code in current document in Visual Studio 2022
Ctrl + M, Ctrl + L
Login to Continue, We will bring you back to this content 0