After using Arduino IDE 2.x for a while, I wanted IntelliSense in order to write code more efficiently, and moved to the VS-code extension for Arduino. I have a problem thought: I'm using a ESP32 in order to send data to a RaspberryPi. In order for the ESP32 to connect to the Wifi, I need the Wifi.h library. This is usually installed by default when choosing a specific board on the arduino IDE settings. With the VS-code extension this doesn't seem to be the case. I cannot find the corresponding library as a .zip file on the internet, since Arduino seems to assume it is installed automatically through their IDE when choosing the board.
I installed Platform IO, and actually when choosing the correct board I got the needed libraries. I included the path of these libraries to the VS code extension for Arduino, however now I seem to lack some dependecies, such as "server.h" (for WiFi.h) and "esp32-hal.h" (for Wire.h).
Is there anything more I can do? I could move to Platform io, but it would be nice to understand what is going wrong since the VS-code extension seems relatively simple, neat and overall nice to use.