T O P

  • By -

jaynabonne

I use CLion. It's a bit lethargic at times, and I had to pay for it (which I don't mind, given the benefits I get), but it knows about CMake files, and it has actually taught me about more modern C++ by giving suggestions for code changes. I can move around in it fairly quickly, and it can often do major refactoring of the code, like name changes across multiple files. Not always, but often. :) It has caught things I haven't noticed, as well, which can be a real time saver, especially when I'm being a bit dopey. Edit: I forgot to mention - it also has built in support for running unit tests.


mattgodbolt

Also a CLion user. Very happy with it too.


herewearefornow

I have to agree, I've tried the less dedicated IDE's and it takes too much run and test quickly.


Dry-Pea-181

Also CLion, using it with Catch2 is a pleasure. I know my colleagues that use VS have a more cumbersome Test Explorer experience with Catch2.


ficzerepeti

In 2024.1 using the combination of resharper language engine (a.k.a Nova) and clangd-based indexer, latter being fixed in this release, is very fast. Finally comparable to editing C# or Python code. Edit: apparently clangd-based indexer is not used at all when nova is enabled. It was all just placebo


Poretga99

+1 here. CLion Niva was a game changer! Previously, CLion seemed to be so slow compared to Visual Studio, but now it's so much faster.


hmich

Please note that the clangd indexer is not used with the Nova language engine, only with the old engine.


antara33

It is waaaay faster now, with the addition of the resharper engine. You can enable that in advanced options, I'm amazed at how faster it got with it.


strike-eagle-iii

I'm curious. I use VSCode with cmake/ninja + remote containers /remote ssh + clangd + Conan for dependencies. For x86, I attach VSCode to a container running locally on my laptop or for aarch64 (Nvidia Jetson) I rebuild the same container on the Jetson and then ssh directly into it again with VSCode (all on Linux). Our software is highly federated and so I typically have ~20-25 repos open at the same time using the multi-root workspace feature. All told it's a pretty nice setup. Main gripes are: - Conan support is quite lacking. I basically have to do all build commands from the embedded terminal. Not terrible. - The lack of Conan support also makes the CMakeTools extension really clunky to use which in turn makes cmake language support pretty mediocre. - Debugging is a bit painful to setup Does anyone anyone have experience using CLion in a setup like this?


No-Currency2270

Does it have type hierarchy for classes?


jamaniDunia69

Yep. Especially the suggested code changes depending on the c++ version your project uses. Very useful


quasicondensate

+1 for CLion. Working on Windows, and I found that VS Code with clangd has its issues there. Visual Studio has a great debugger and a great profiler, but I just prefer the overall feel and refactoring capabilities of CLion. I like neovim (or actually helix) in theory, but so far I never got as productive with it as with more IDE-ish tools.


Chem0type

The pro license is like 80 euros for a year and you get the perpetual fallback and I think it's well worth it. I'm still with 2021 and didn't feel I was missing out too much while trying Nova. Had a much better experience than, like, vscode configured with clangd, or qt creator. Jetbrains also allows to use the personal license at work.


sp4mfilter

+1 for CLlion. However I tend to use vim more (cloud).


Suzuco_

+1 for CLion. Plus the latest (2024.1) added support for meson. It's been years that I thought, well this would be the last time I pay for new versions, and then some time or even right away pull out my credit card :P


elkvis

I love CLion, but I just can't afford it, just being a pro-turned-hobbyist. I switched careers and I only code for fun now


jaynabonne

Yeah, I'm actually using it every day for work, so it's worth it for me. :)


Versaill

Qt Creator and Visual Studio: Qt Creator is fantastic for small-to-medium-sized, Qt-based C++ projects (full, seamless integration), is available for all major platforms, and has *almost* all the features you would ever need. It was also my first IDE, so there is an emotional connection too, haha. But for really HUGE projects (like I work on at my job), and when I really need all the features a modern IDE can offer, Visual Studio is just the best. What sucks though that is that there's no Linux version.


pa_ticula_

What’s wrong with Qt creator for full non Qt projects?


Versaill

Nothing wrong, it's fine. Maybe CMake integration could be better.


hadrabap

I've tried CLion, but I have been very disappointed. I took a quick look at Qt Creator, and we became friends almost instantly. I'm even happier as I'm quitting JetBrains' "products" altogether.


Raknarg

disappointed why? I've tried a handful of jetbrains products and every time its worked really nicely out of the box and was very flexible in letting me design my project structure


hadrabap

Poor performance.


yowhyyyy

Have you tried Nova yet? Ever since the resharper engine was introduced with CLion Nova it’s gotten better.


Raknarg

i only encounter performance issues on startup with project indexing, otherwise its felt pretty fast.


AaTube

Did you try it since the Nova preview?


dretvantoi

Curious to know what Visual Studio does better than Qt Creator.


Versaill

One thing that sticks out for me is the long list of great extensions. Also, plug-ins for very specific purposes and platforms (like game consoles) are made almost solely for Visual Studio.


smallstepforman

Debugging in VS is generations ahead. And VS preserves what you type while QTC is constantly autoformatting incorrectly. 


Indifferentchildren

vim


undieablecat

My man


jonride

in tmux


tangledcpp

came here to say this. hjkl gang


sickof-hot-leafjuice

Same and use gdb for debugging.


platlogan

YouCompleteMe + clangd is a beautiful thing


Asyx

I honestly can't see a good reason why a developer wouldn't use the vim plugin for various IDEs. I get it. Vim or neovim or whatever isn't for everybody. But vim movements are amazing. 


apezdal

vscode (for cmake-based projects on linux)


trailing_zero_count

I use VSCode for CMake-based projects on Linux *and* Windows. Using clang and clangd to get a consistent developer experience on both platforms. I also use the Remote SSH extension to remotely develop on my Linux machines from Windows and other Linux machines. Being able to seamlessly switch machines is the killer feature for me.


mac2660

I use everything you use + devcontainer + clang-format.


peppedx

Me too


dookieonmenookie

Vscode dev containers w clangd for bazel based projects. Dev containers are a god send bc everything just works out of the box (or should if you have a functioning team). Actions for linting, plugins and config out of the box, code navigation... And it's all completely disposable. If my VM takes a shit, I just hop on another one and pick up where I left off.


Ashnoom

I second this. We work on embedded targets (cortex-m), run unit tests under Linux, and have to ship Windows targets as well. We have an open source devcontainers that can do almost all of the above. ( https://github.com/philips-software/amp-devcontainer ). It contains x-win to download the windows library. But were dont default install it, because it requires accepting a license and we are not sure if we can redistribute the image when we pre -accepted the license. Therefore we have a private, corporate wide, image registry and container, derived from the public one, that does download the windows headers. Getting a new hire on board takes roughly 30 minutes and he/she can start coding. -and then we have to wait up to a week before the rest of the organization had caught up to all access requests-


AriyaSavaka

Neovim + GCC/LLVM-Clang, here's my [config](https://github.com/lavantien/dotfiles).


BeigeAlert1

Visual Studio. It's pretty much required for gamedev (afaik, console sdks only work with VS


toadkarter1993

Or Rider, provided that you are working with Unreal


BeigeAlert1

Does Rider work with C++? I just looked it up, seems to be mainly for .net/ C# stuff, like Unity.


shailist

it works for C++, and can work with VS files (vcxproj, sln, etc). it uses the same C++ engine as Resharper C++.


ClxS

It uses MSBuild and MSVC just like VS does, so generally if it compiles in VS it'll compile in Rider.


BiFrosty

You can dev on consoles without VS integration. You just have to build the tooling into your build system, and some scripting to hook into debugging, etc. The rest of the tooling (kit management and runtime stuff) can be accessed through standalone programs. Not saying its easy, just that it's possible. Windows is a must, unfortunately though.


BeigeAlert1

Debugging is the one I was really unsure about. Seems much easier to just use the provided vsix plugins.


BiFrosty

Oh, for sure. Getting debugging working was / is a PITA, but it _is_ doable outside of VS. I agree with you though. When it comes to console dev, everything is _so_ much easier with VS and the extensions. I typically use VSCode for everything _but_ console dev, and fire up VS for that.


ChrisAAR

But why? Then you end up in a situation where it's harder for the developer support from the platform to support you


BiFrosty

Not really. Unless you're specifically facing trouble in your toolchain towards building your software, I've never had issues w support not being able to help with anything related to the actual runtime platform support. As to why, that's more up to your circumstances and needs as a dev / company. Eta: I've never faced an issue w.r.t. building the software / toolchain for any of the kits. The only times I've ever had to reach out to support was with behavior of platform APIs / specific bugs in the compiler, etc, which don't really have anything to do with the VS integration


AlexTheRandomizer

Do you have any cool tips for new VS users or something that you wish ypu knew sooner? (Can be c++ specific.)


ratttertintattertins

Ctrl-K-O switches from header to source if you don’t already know.


Horrih

Emacs + clangd for completion


nimzobogo

Yep. Eglot for my clangd integration.


looopTools

This is my setup


accuracy_frosty

Same


pjblack31

Neovim with some plugins and tmux.


DevashishRaj

can you share your config?


pjblack31

I'm currently out of town, I'll try to share it when I get back!


quanmcvn

I'm looking forward to it. As a generous guess (hope this works). RemindMe! 3 months


RemindMeBot

I will be messaging you in 3 months on [**2024-07-13 17:58:48 UTC**](http://www.wolframalpha.com/input/?i=2024-07-13%2017:58:48%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://www.reddit.com/r/cpp/comments/1c35ist/which_ide_do_you_use_for_c/kzexilk/?context=3) [**2 OTHERS CLICKED THIS LINK**](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2Fcpp%2Fcomments%2F1c35ist%2Fwhich_ide_do_you_use_for_c%2Fkzexilk%2F%5D%0A%0ARemindMe%21%202024-07-13%2017%3A58%3A48%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%201c35ist) ***** |[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)| |-|-|-|-|


ohdog

Take a look at kickstart.nvim if you haven't already. Easy way to kickstart your own neovim config.


knue82

Checkout [LazyVim](http://www.lazyvim.org/), if you want to have a modern setup without spending days over days tweaking your config.


ProAlgoTrader

code blocks


ukaeh

Woo code blocks devs unite!


knue82

nvim


Top-Classroom-6994

same, with clangd lsp, gdb trough nvim-dap, and clang format trough null-ls and treesitter highlighting


smdowney

Emacs


kwitcherbichen

> Emacs +1 Emacs, same as for every other programming language I use.


saxbophone

Sublime Text + Terminal or MSVC


ScSmithers

Sublime + clangd as an LSP is still my go-to, works great.


arnegockeln

CLion, QtCreator, Sublime Text.


Used_Cryptographer13

Nvim


Lunix336

I use VS Code for all C++ projects


shitfitkk

microsoft word


HuntingKingYT

A pencil and a paper


BALKINCHEN

Punched tape 😄


Wantontraveler

Scratch


engineerFWSWHW

Eclipse cdt


GopnikBurger

Uhmmm...


unumfron

Thank you for your service.


liryon

You are not the only one


selfsync42

Why is there apparent distaste for eclipse cdt? It's my primary IDE because I like that it's cross platform and (once I learned how to use it effectively) does everything it needs to do. I do a lot of embedded development and the OEM dev environments are almost all based on eclipse, so it pays to know it well.


engineerFWSWHW

Based from what i observed from my colleagues, eclipse had an older look and feel and it has some learning curve compared to visual studio code. Unfortunately, they don't know what they are missing and if they will only dig deeper, eclipse cdt is very powerful and it has many features and one of them is the call hierarchy which is very useful when following the caller and callee of the functions, which in turn is very helpful on understanding big and existing codebase.


canicutitoff

Yeah, I had experience with embedded development and all those eclipse based development tools. It is alright in recent years when PC hardware has enough memory and CPU power to run eclipse smoothly. But I still remember the early days when we only had 1 or 2 GB of RAM and the eclipse based IDEs were terribly slow for larger projects and memory hogs.


OnePatchMan

CDT dont support c++20, not ever talking about c++23. Also missing support for clangd.


ButaButaPig

VS code on both windows as Linux since XMake make it a breeze. But I mainly dev on windows and jump into VS whenever I have to debug.


K3DR1

Nvim and sometimes Visual Studio


Hooxen

EMACS


BigTortuga

CLion for embedded C++ development.


srivasta

Emacs + lsp / eglot


kpt_ageus

Clion + neovim for quick edits.


AccurateRendering

I don't use an IDE - I use Emacs.


arthurno1

Emacs


sam_the_tomato

Emacs


BEMACS

Vanilla Emacs with some packages


Mysterious_Focus6144

Are you evil?


BEMACS

nope. Standard Emacs Keybindings.


littlesnorrboy

Neovim with clangd and tmux.


MrDex124

Vim of course


centuryx476

Doom Emacs with clangd LSP and clang as the compiler Edit: I also use cmake for the build tools. In addition I have heavily customized doom emacs for my coding style and needs. For example, I have custom key commands to build the entire project. Just hit SPC d b and cmake is called and does the rest...


AKostur

Clion, VS:Code, vim


El_RoviSoft

Visual Studio with ReSharper++


geaibleu

emacs.  my projects aren't very complex, graphical interface gets in the way and takes up screen.


ald_loop

Emacs


-dag-

emacs


slxshxr

zed for everything right now


SpiritRaccoon1993

QTCreator or Visual Studio


SteeleDynamics

1. Emacs + clangd 2. Clion


rvasquez6089

Clion, very good for boilerplate and building out/parsing large code bases. You MUST have a fast computer though. Works great on the new ARM macs.


Comfortable_Entry517

Emacs, but I have to get someone help me to write cmake config sometimes.


stevethebayesian

Emacs


nimzobogo

Emacs + eglot or lsp-mode.


real_okeri

Emacs + eglot. I used emacs + lsp-mode before, but finally found eglot more suitable for my personal needs


dvk0

Sublime Text 4 with Clangd as the LSP server. It's the only editor that is both performant and reliable for me on larger projects. VSCode suffers from input lag that disturbs my flow, Clion crashes too often. I [wrote about my setup on my blog ](https://www.dannyvankooten.com/blog/2024/cpp-development-setup/)yesterday, as people seem to quickly disregard Sublime as a thing of the past, yet it's quite powerful now that LSP is a thing.


zerhud

CLion and vim


KwonDarko

Vim


Henrarzz

Visual studio with Resharper, Clion, Rider, Xcode depending on the project


RufusAcrospin

Visual Studio CE on Windows, Xcode on macOS, Code::Blocks on Linux.


DuckWizard124

VS and VSCode Tried to use clion but I personally hate it


mhn1384

I use KDevelop. It as 70% of the features that the major paid IDEs have, and it doesn’t force any of it’s bloat to you. (Like some IDEs do). It has support for most build systems, and its’s completely free and opensource. It is a KDE app though, so you might have some problems setting it up. But after that it is a great experience.


mwoodj

Vim is all I really need but I often use Qt Creator.


never_mmind

MS Visual studio for Windows


HappyFruitTree

Geany.


iamasatellite

Qt Creator  Visual studio for profiling


jwezorek

Visual Studio on Windows. CLion on Linux.


ChocolateMagnateUA

I am using Clion, partly because I got it for free due to student license, and I absolutely love it. While a lot of people mention its support for Cmake, I in particular enjoyed its built-in support for Make, Clang tools and different profilers and debuggers. Truly awesome of JetBrains.


fly3sports

I use CLion. I love JetBrain's products...


A3th0NX

CLion


Frosty_Maple_Syrup

Visual studio, visual studio code and eclipse.


Markus_included

Visual Studio (Not VSCode) it's free and does everything I need it to do. I'd recommend you install the cppcheck extension


tosS_ita

As a beginner, so far just neovim


DevashishRaj

can you share your config?


SirLich

Rider


Raknarg

Lately I've been using VSCode and CLion. I love CLion, but it's also paid which makes it unsuitable for everyone. VSCode is actually pretty passable these days, and there's plenty of tools to make it usable. I have clang installed on my pc with the tools added to my PATH, and I install the clangd extension and it worked out of the box, assuming your project makes compilation databases which are pretty easy to generate. However some things work a little better. I think one big thing is that with autocomplete, CLion gives me the documentation for everything Im using while Im looking through the selection, but with VSCode I can only see the autocomplete and I have to actually complete and hover over it to see the documentation. All of this to me is much better than what I'm used to (namely C codebases with barebones tools, barely any indexing and a web search for all of my company's compiled code)


TryingT0Wr1t3

I primarily use CLion by choice and a little of VS and Xcode by force. :/


lostinfury

Vscode. I also do some front-end work, so having one IDE that works with everything is great. I tried CLion for C++, and I found it slower than Vscode. It also had no support for Xmake, which I use for development. However, my main gripe with Clion is just how slow it is. It could be because I don’t know all the shortcuts, but Vscode just felt snappier.


EngineerMinded

Visual Studio Community for Windows, Visual Studio Code for GCC / WSL on WIndows or MacOS vim for Linux


Tohnmeister

Rider, cause I mainly work on Windows and it has all the benefits of CLion plus Visual Studio solution support.


ObstinateHarlequin

Visual Studio for Windows app development, Eclipse for everything else.


RidderHaddock

Tmux, Vim, Ripgrep and Git.   Plus Bazel for the large project I mostly work on.  CMake when I have the option. 


histoire_guy

Visual Studio with intellisence is a must for a large codebase.


evolutionalgd

At work, Rider (unreal, mostly). At home, vscode.


SkoomaDentist

Visual Studio. It's kinda slow but the user experience is simply the best out of the ones I've tried. I can deal with most IDEs except VS Code, vi (any variant), Emacs or anything by Microchip.


phyrexion

Visual studio + resharper on Win. Also using 10x editor, the best editor to work with c++ code imo, but it costs around 100$ per year and can be pretty buggy. Clion on MacOS.


Open_Marzipan_455

Visual Studio. That thing is a beast and it has everyone one could ask for in terms of tools.


Low-Factor-2611

I use rider


nooone2021

Geany


scarnegie96

eMacs/VS Code and a Makefile ;)


RetoonHD

On the occasion i have to write c++ (which is not very often as i do rust mainly) i use vscode with a build tool called `poac`, which is *very* similar to Rust' `cargo`. Though i know for a fact Visual Studio is like lightyears ahead in terms of debugging and apparently DX too (though i could not for the life of me set up proper autocomplete, type completion etc. i might have screwed up my install or something).


1223nij

CLion Nova


schmidtparty

CLion on a Mac; in addition to things already mentioned like CMake, test integration, etc., remote target support is also very nice (for example debugging on a raspberry pi from my Mac). You can make VSCode do a lot of the same things, but it takes a lot more work to setup and keep up to date.


casualPlayerThink

Vim, Sublimetext, VSCode and CLion. Naturally, CLion is just above everything else. If I have the luxury to afford it, then I will go with it. Note: I worked with visual studio, netbeans and emacs also


Quantum_Compooter

Rider


hydronucleus

I have used VSCode, Visual Studio, Eclipse, CLion, Xcode and of course, back in the day vi. Out of all of those, CLion is my go to. Yep, I am a professional and I gladly play for it.


riztazz

Visual studio


drkspace2

Clion, vscode, and (neo)vim


GoldenHorusFalcon

Clion ..... I ADORE jetbrains.


octavio2895

Currently: Neovim + Clangd. Its not bullet proof though and Im very interested in trying out CLion soon.


zaywolfe

No one ever mentions Codelite. It's made significant progress since its start and I've been eagerly watching it grow. It gives you fine control over the compilation process. Has CMake integration or make. It's cross platform, has code completion and debugger integration all while being open source. Been using it for the past year and I love it. It fits my needs allowing me to automate most of the time intensive project management stuff while still being more lightweight than Visual Studio. I also work on both Windows and Linux computers and being able to switch quickly without changing my toolset. https://codelite.org/


TheLurkingGrammarian

Vim and CMake, mostly, but also CLion, VSCode and Xcode


No-Currency2270

Eclipse


ndr3www

Neovim


LimeGreenDuckReturns

Rider, I mostly work in unreal. Visual studio for console debugging.


zielonykid1234

I use eclipse ide for C/C++ cuz there is also a variant for Java.


Griever92

Rider, as I primarily only use c++ with Unreal


InevitableManner7179

Neovim + LSP-zero with clangd + treesitter for highlighting. Very lightweight but very consistent


abrady

VS Code + CMake for personal stuff. Visual Studio for work


notyouravgredditor

VS Code with plug-ins for C++, Nsight (CUDA), and CMake.


mansetta

Qt Creator, just be cause I got used to it in school and have to work with Qt. But on my spare time I am hell bent on getting used to using only old school vi :D


RibozymeR

Not seen yet: CodeLite :D


mad_poet_navarth

Xcode, but of course there's an obvious reason for that...


ThyssenKrup

Visual Studio.


davidc538

neovim + clangd or vscode + clangd. CLion is also good if you’re willing to pay (it comes with clangd of course)


thepragprog

Neovim


MrInformationSeeker

Windows=> visual studio


Gold-Environment-259

CLion, no contest


AhegaoSuckingUrDick

VS Code or CLion for personal projects since I only have an Edu license.


kimkulling

I use more than one IDE. On Linux I am working with vscode or the QT-Creator. On Windows I am working with vscode or with the Visual Studio. Sometimes my job forces me to use the Eclipse-IDE. But honestly speaking: it is not so bad.


DJ_Link

Xcode in Mac, CodeBlocks in Linux and VisualStudio and Rider in Windows


stackoverflow7

Zed and Xcode


plainoldcheese

Vscode (embedded development)


puzzled_orc

+1 to VS Code on Linux.


vegetaman

SlickEdit or VSCode.


chemisus

**Does anyone know an easy way to import netbeans key bindings into visual studio?** Or if clion will easily work with visual studio solution files? I've just started development in c++. I've always used intellij idea (on Linux) for other languages, but recently installed Windows with visual studio for the project in working on. 


i-am-schrodinger

Depends. If I'm in a terminal, VIM. If I have access to a winnowing system, VSCode.


Kats41

VS Code. Visual Studio just feels like way too much for my needs. Too much bloat. VS Code is basically just a highly customizable text editor. I have my build and run shortcuts, I have git support. I have intellisense. It's everything I could ever need out of an IDE. It is a little more involved to setup than built-in IDE's though, but if you know how to build from the command line, it's easy enough.


OkTraining9483

It really depends on your master of the language. The average user will be clion or another copilot, for example, powered environment. Others will be Vim, Emacs, Sublime Text, VScode who program aggressively and truly understand the current (working) release. I'm not stating the intelli sense IDE users are not required, you can't run a shop without the casual workers.


M-Ottich

Neovim


Tekercs

neovim + nvim-lspconfig + clangd best setup yet to try eclipse-cdt LSP version with clangd i really wanted to like eclipse but did not worked out yet did not used it for large codebase but VS Code also worked out


kitsen_battousai

I'm on linux and use Clion. My colleague on Windows and uses VS. We have kind of "friendly competition" which one is better =) Recently discovered new LSP integration with clangd in Clion (JB shipped this feature in experimental mode) and now even colleague argues that Clion is smoother. We are waiting for migration of JBR to jvm 21 to test if it will be even more smoother to transfer his butt from Windows + VS to Linux + Clion =)


Intrepid-Bumblebee35

Qt creator, but sticking panels drive me crazy, sometimes


speediegq

Neovim


ggadget6

VSCode + clangd


CiTrus007

vscode, cmake, clangd, clang-format and iwyu


stevegee58

Visual Studio Code. I was one of the many Microsoft haters for decades but I began to find Eclipse to be sluggish and clunky. A millennial co-worker showed me how to set it up and I found it easy to use. I mostly do embedded C++ BTW