Can't make a project using ESP IDF, it always gets stuck

I’m using VsCode, and every time I choose ESP IDF as the framework, it just gets stuck, even left it overnight for 8 hours and still came back to this screen:

I’ll also add that choosing the Arduino framework creates the project just fine in a few dozen seconds.

Is there any problem with your internet connection/speed? The message in the screenshot indicates something like that.

Could you open PlatformIO Core CLI and navigate to the project folder, and run the following command:

cd project/folder
pio pkg install

Do you see any progress?