Hi @adiswa123,
These screenshots show how to set up Visual Studio 2022
Open the IntelliCode window
Scroll to the bottom to accept terms to use UE5
Now got to Tools → Options IntelliCode → Advanced
Enable all the Enabled in bold
Click ok and the IntelliCode runs in the background setting up the database.
This can take 15 minutes depending on the performance of your PC