Arduino IDE - with Spark Core

Can the arduino IDE be used to connect to the Spark Core over the usb cable ?

Nope. You can however download a local build environment that will let you use your favorite source code editor or IDE to write code and then upload it over USB with dfu-util. :smile: