CLion download here + PlatformIo plugin to edit and compile and upload the code to esp32.