When comparing CLion vs Code::Blocks, the Slant community recommends Code::Blocks for most people. In the question“What are the best IDEs for C++ on UNIX-like systems?” Code::Blocks is ranked 4th while CLion is ranked 5th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Intelligent code completion
CLion has an intelligent autocompletion engine that tries to predict the symbol you are typing based on your previous history and the context in which it's being typed.
Pro Cross platform
Clion works on Windows, Linux and OSX.
Pro Lightweight
Pro Easy to use
Pro Simple Library import
Cons
Con Proprietary
Clion is proprietary software which costs $199/1st year for a business license or $89/1st year for an individual license.
Con Build Tool Integration is messy/over complicated
I have a Jetbrains annual subscription so I can use this tool for free and I've used the Java IDE for years so I really want to like CLion. But it's just over complex to add 3rd party libraries etc. Netbeans/Eclipse etc are much better integrated with the build tools
Con Hard to set up
Con Not very feature rich
By default it's not much more than "What if Gedit had a compiler and a terminal built in?" (or: "What if Notepad had colour coding, auto indents, file structure, a compiler and a terminal built in?")
There are far more professional IDEs out there. This one is much too basic for any efficient use.
Con Slow navigation using mouse
In most IDE's, you can "goto declaration"/"implementation" by holding CTRL and left-clicking on an identifier or include directory. This does not work in Code::Blocks no matter what settings you have. Right-clicking will bring-up a menu that includes these "goto" options, but it's not instant and you'll be slowed down immensely depending on how often you have to do it.
Con Can get quite slow and doesn't look all that good
Con Setting up dark theme requires using system's own gui toolkit
Con Lots of functionality is encountered only in plugins
You can't change keyboard shortcuts, neither share themes with vanilla codeblocks, for example.