Write-up on using eclipse with arduinos. My 2 cents, I’ll stick with arduino’s IDE, its lighter wieght and dedicated. I have had too much pain in the past setting up Eclipse for cross compiling.
http://hackaday.com/2015/10/30/code-craft-using-eclipse-for-arduino-development/