IDE - Dependent Failure to Compile

have you looked at http://platformio.org/?

I've been using the ATOM plugin, which is a very rich dev tool...