Open VS Code and press F1 or Ctrl + Shift + P to open command palette, select Install Extension and type vscode-arduino. Or launch VS Code Quick Open (Ctrl + P ...
ESP32-C2 is also supported by Arduino-ESP32 but requires rebuilding the static libraries. This is not trivial and requires a good understanding of the ESP-IDF build system. For more information, see ...