Arduino ide would be the better choice…
Choose Arduino ide. It’s best
Lua is best.
Arduino ide will be best
ardiuno ide is very friendly tool.
Don’t buy plain ESP with breakout board. Buy a NodeMcu, preferably Chinese clones as they include a 5V pin. You can use Arduino C with the IDE after downloading ESP or Nodemcu board in the library manager.