Programming esp32

is it possible to program the esp32 board instead of the esp8266 with visual studio code?

It should still works.