Using IntelliJ to for Arduino IDE
You can now use Jetbrains' CLion to develop and run Arduino sketches. Just grab the Arduino plugin!

Open Clion and go to Configure/Settings/Plugins. Choose 'Browse Repositories' search for Arduino, and click install. (There are two. One is a fork of the other. I recommend picking the one that was updated more recently.) Then restart Clion.

You'll now see the option to create a new Arduino Sketch Project!