Arduino plugins / IDE's for linux

Off topicProgramming → Arduino plugins / IDE's for linux

So everyone knows the official arduino ide is a terrible editor, so in the past i used a plugin called visual micro for visual studio to compile / upload to arduino. However now that i have switched to linux i have yet to found a good addition. Preferably for something like codeblocks.