PlatformIO is awesome. The Arduono IDE is based on Eclipse. Get Platform IO right away if you plan on doing any work with arduino and don't want your eyes and fingers to bleed.
brew install platformio
alias pio=platformio
pio init --board esp32doit-devkit-v1
Is the board connected?
platformio device list
Upload and to the board and run the sketch
platformio run -t upload