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.

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.

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
New Features

What’s New in CLion 2019.1

Embedded Development

Embedded Development

While remaining a general-purpose cross-platform C/C++ IDE, CLion now helps developers targeting STMicroelectronics boards by integrating with STM32CubeMX. For other embedded developers, debugging from the IDE is possible with the Open On-Chip Debugger.

Code Style improvements

Code Style improvements

When typing in the editor, reformatting code, generating boiler-plate code, or refactoring it, you can now use ClangFormat as an alternative to CLion’s own formatter. The IDE can detect your .clang-format config and use it.

Custom targets and configurations

Custom targets and configurations

Create build targets and run/debug configurations independently of any build system/project model. This is especially useful if you work with compilation database projects in CLion.

Testimonials

What our
customers say

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
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
@alex_braidwood
I would like to take this moment to say, CLion has quickly become my favorite IDE for C/C++. It just works. #jetbrains #CLion
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: