Why CLion
Matt Godbolt

Matt Godbolt

Compiler Explorer

CLion takes a lot of the toil out of C++,
allowing me to concentrate on the interesting
part: problem solving.

A power tool
For a power language

Smart C and C++ editor

Thanks to native C and C++ support, including modern C++ standards, libc++ and Boost, CLion knows your code through and through and takes care of the routine while you focus on the important things.

Navigation

Instantly navigate to a symbol's declaration or context usages, search through the whole project for a class, file or symbol by its name, find your way through the code base with structure and hierarchical views.

Code generation

Add class members, override/implement functions, generate constructors/destructors, getters/setters, equality, relational and stream output operators, wrap a block of code with a statement, or generate a declaration from actual usage - all via simple keyboard shortcuts.

Refactoring

Rename symbols, move members up/down the hierarchy, change function signature, and be sure CLion’s automated refactorings will accurately propagate the appropriate changes throughout your code.

Watch demo

On-the-fly
code analysis

Code Analysis

With CLion, you can create code that's beautiful and correct at the same time. Potential code issues are identified instantly...

Code Analysis

...and fixed as you type! Be sure all the proper changes are handled automatically by CLion.

Code Analysis

CLion also performs Data Flow analysis to find out all the cases of the unreachable code, infinite recursion and more.

Integrated debugger

Investigate and solve problems with ease through CLion's friendly debugger user interface with GDB or LLDB available as a backend.

Attach to local processes or debug remotely. Check disassembly view when sources are not available.

Inline variable view

Get the complete view of your project with variable values shown right in the editor as you debug.

debug

Watches and variables view

Inspect the state of all the variable for a chosen function in the stack frame, or monitor variable/expression changes during the debug session.

Watch demo

Evaluate expression

Evaluate result of a function call or some complicated expression when stop at some execution point in the debug session.

evaluate expression

Fully Integrated C/C++ Development Environment

Project models

CLion works with CMake, Gradle C++ and compilation database project models, using all the information from there during code editing and refactorings.

Keyboard-centric approach

To help you focus on code and raise your productivity, CLion has keyboard shortcuts for nearly all its features, actions and commands.

Vim fans are welcome to install the Vim-emulation plugin.

Everything you need in one place

Everything you need for your everyday development is included: all popular VCS (Subversion, Git, GitHub, Mercurial, CVS, and Perforce), Google Test, Boost.Test and Catch frameworks for unit testing, Doxygen and Database tools.

Local and remote work

With embedded terminal, run any command without leaving the IDE: locally or remotely using the SSH protocol.

After editing your code locally, build, run or debug your application or unit tests locally or remotely.

Discover all features

What’s New in CLion 2020.2

Makefile projects

Makefile projects

Makefile projects are now supported out of the box. CLion 2020.2 can handle a long list of such projects: Linux kernel, Git, PostgreSQL, Redis, nginx, and others.

C++20

C++20

Now the language engine is more stable on C++20 code, and it also has many new features like explicit(bool), designated initializers, and range-based for() with initializer.

Unit testing

Unit testing

We’ve added doctest to the list of integrated unit testing frameworks. Support for Catch2 and Google Test was updated with the recent new features from these frameworks.

Testimonials

What our
customers say

Rodriguez Losada
CLion is fantastic, finally the C++ high quality cross-platform IDE with CMake as first class build system we were waiting for.
Prof. Dr. Rodriguez-Losada,
Conan, JFrog
Matthew Davey
Both of these tools (CLion and Rider) help our team on a daily basis, allowing developers to perform their tasks quickly and efficiently, all the while seamlessly integrating with numerous parts of our pipeline.
Matthew Davey
dotBunny
Erkki Salonen
Erkki Salonen
CLion’s powerful refactoring and code model that understands dependencies between items have already changed my software design process. One can dig out quite a bunch of bugs even before running the application.
Jonathan Dursi
Really liking @clion_ide for a new C++ project: lightweight, responsive, useful, good integrations. And most important, great vi emulation.
Jonathan Dursi
@ljdursi
C++ Tools

Check out other C/C++ tools
from JetBrains

Pick up the right tool for C and C++ development depending on your preferred toolchains and other requirements: