# What is the best IDE for CMake (C/C++) developers?

**URL:** https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953
**Category:** Community
**Created:** [March 13, 2021, 1:54pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953 "2021-03-13T13:54:02Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![anon45792294](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@anon45792294](https://discourse.cmake.org/u/anon45792294)
#### Post date: [March 13, 2021, 1:54pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/1 "2021-03-13T13:54:02Z")

</div>

This is a subjective post of course but I’m curious about the development environment and IDE’s people use with CMake.

Personally I’ve only really been Visual Studio 16 2019.

But I’d like to learn more about what other people are using.

---

<div class="post-metadata">

### Author: ![AJIOB](https://discourse.cmake.org/user_avatar/discourse.cmake.org/ajiob/32/852_2.png) [@AJIOB](https://discourse.cmake.org/u/AJIOB)
#### Post date: [March 13, 2021, 5:33pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/2 "2021-03-13T17:33:40Z")

</div>

I’m using Visual Studio Code (not equal to Visual Studio) with CMake & C/C++ plugins.

That solution is cross-platform (Windows, macOS, Linux).

---

<div class="post-metadata">

### Author: ![alex](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alex/32/125_2.png) [@alex](https://discourse.cmake.org/u/alex)
#### Post date: [March 14, 2021, 11:08am UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/3 "2021-03-14T11:08:59Z")

</div>

I quite like CLion, which uses CMake as its oldest/most mature project system. As a C++ IDE it’s great, but it could use some nicer features when editing CMake code. Like VS Code, it’s also cross platform. I personally find it to be a _lot_ more polished than VS Code, however.

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [March 14, 2021, 9:00pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/4 "2021-03-14T21:00:30Z")

</div>

Long-time Qt Creator user for me personally. It is also cross-platform, has been around for quite a while and is actively developed. With Qt having switched to CMake as their primary build system for Qt6, the CMake support in Qt Creator has improved in recent times.

---

<div class="post-metadata">

### Author: ![fry](https://discourse.cmake.org/user_avatar/discourse.cmake.org/fry/32/613_2.png) [@fry](https://discourse.cmake.org/u/fry)
#### Post date: [March 17, 2021, 12:42pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/5 "2021-03-17T12:42:47Z")

</div>

“Best” is obviously always very suggestive. I personally use and really like CLion. I have been using Jetbrains other IDEs for years (especially for Java development) so it feels right at home. And what I like the most with CLion is that it handles CMake natively so it is very convenient. You just open your CMake based project and CLion will do the right thing…

---

<div class="post-metadata">

### Author: ![Artsiom\_Chapialiou](https://discourse.cmake.org/user_avatar/discourse.cmake.org/artsiom_chapialiou/32/3054_2.png) [@Artsiom\_Chapialiou](https://discourse.cmake.org/u/Artsiom_Chapialiou)
#### Post date: [January 3, 2023, 1:19pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/6 "2023-01-03T13:19:15Z")

</div>

For CLion: [CMake simple highlighter](https://plugins.jetbrains.com/plugin/10089-cmake-simple-highlighter) and [CMake Plus](https://plugins.jetbrains.com/plugin/12869-cmake-plus) plugins may help with extra highlighting, navigation, hints and code-completion support.

---

<div class="post-metadata">

### Author: ![imikejackson](https://discourse.cmake.org/user_avatar/discourse.cmake.org/imikejackson/32/301_2.png) [@imikejackson](https://discourse.cmake.org/u/imikejackson)
#### Post date: [January 10, 2023, 3:00pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/7 "2023-01-10T15:00:15Z")

</div>

I have used (in not particular order):  
Visual Studio (since 2013)  
VS Code (for a long time now…)  
QtCreator (since version 3)  
CLion (since mid 2021)

My main OS is macOS though I need to use Linux and Windows on a weekly basis to double check stuff so I stay fluent enough in all of them.

There are bits about each one that I like and dislike. Currently, CLion has my money for 90% of my C++ development. CLion is pretty fast, navigation and refactoring is great, clang-tidy and clang-format is well integrated, Catch2 unit test is well integrated. On macOS and Linux though debugging Qt code is basically impossible as you cannot see the Qt variables. That is when I switch to QtCreator for that part of the debugging experience. CLion on Windows has the Qt 'natvis" so one can see the Qt based variable values, but then on Windows with CLion there is no console output (std::cout \<\< … ).

That is my 2 cents about the IDEs that _I_ use on a regular basis.

---

<div class="post-metadata">

### Author: ![DinoSource](https://discourse.cmake.org/user_avatar/discourse.cmake.org/dinosource/32/4103_2.png) [@DinoSource](https://discourse.cmake.org/u/DinoSource)
#### Post date: [December 20, 2023, 6:17pm UTC](https://discourse.cmake.org/t/what-is-the-best-ide-for-cmake-c-c-developers/2953/8 "2023-12-20T18:17:45Z")

</div>

For me two options are the best:

1. neovim with plugins
2. VS Code with extensions
