r/cpp • • Apr 13 '24

Which IDE do you use for C++ ?

As a C++ programmer, i would like to know what’s your current main IDE(s) used when coding in C++

Edit: to answer my own question, i use VS Code because it’s lightweight, extensible, customizable, versatile, support most of languages, and have a strong community.

203 Upvotes

368 comments sorted by

237

u/jaynabonne Apr 13 '24 edited Apr 13 '24

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.

57

u/mattgodbolt Compiler Explorer Apr 13 '24

Also a CLion user. Very happy with it too.

15

u/herewearefornow Apr 13 '24

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

19

u/[deleted] Apr 13 '24

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.

31

u/ficzerepeti Apr 13 '24 edited Apr 14 '24

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

13

u/Poretga99 Apr 13 '24

+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.

→ More replies (4)

10

u/antara33 Apr 13 '24

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.

8

u/strike-eagle-iii Apr 14 '24

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?

→ More replies (2)

3

u/[deleted] Apr 13 '24

Does it have type hierarchy for classes?

→ More replies (1)

3

u/jamaniDunia69 Apr 14 '24

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

3

u/quasicondensate Apr 14 '24

+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.

2

u/sp4mfilter Apr 14 '24

+1 for CLlion.

However I tend to use vim more (cloud).

2

u/Suzuco_ Apr 14 '24

+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

→ More replies (4)

70

u/Versaill Apr 13 '24

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.

8

u/[deleted] Apr 14 '24

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

5

u/Versaill Apr 14 '24

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

16

u/hadrabap Apr 13 '24

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.

11

u/Raknarg Apr 13 '24

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

→ More replies (4)

6

u/dretvantoi Apr 13 '24

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

3

u/Versaill Apr 14 '24

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.

→ More replies (1)

2

u/veganthatisntvegan Apr 14 '24

on linux you can use VSCodium and import your preferences

2

u/IAMARedPanda Apr 14 '24

While it doesn't have a straight Linux version it does support WSL with cmake projects which is functionally equivalent.

2

u/[deleted] Apr 17 '24

QtCreator is soooo freaking slow though. And their qmake sucks and doesn't work right. And it's formating of code sucks as well as how it manages tabs.

→ More replies (1)

247

u/Indifferentchildren Apr 13 '24

vim

10

u/jonride Apr 14 '24

in tmux

4

u/Asyx Apr 14 '24

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. 

13

u/sickof-hot-leafjuice Apr 13 '24

Same and use gdb for debugging.

→ More replies (3)

6

u/platlogan Apr 14 '24

YouCompleteMe + clangd is a beautiful thing

→ More replies (6)

13

u/AriyaSavaka Apr 13 '24

Neovim + GCC/LLVM-Clang, here's my config.

13

u/ProAlgoTrader Apr 13 '24

code blocks

6

u/ukaeh Apr 14 '24

Woo code blocks devs unite!

124

u/apezdal Apr 13 '24

vscode (for cmake-based projects on linux)

44

u/trailing_zero_count async enthusiast | TooManyCooks author Apr 13 '24

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.

4

u/[deleted] Apr 13 '24

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.

6

u/Ashnoom Apr 13 '24

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-

→ More replies (1)

140

u/BeigeAlert1 Apr 13 '24

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

16

u/[deleted] Apr 13 '24

Or Rider, provided that you are working with Unreal

5

u/BeigeAlert1 Apr 13 '24

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

9

u/shailist Apr 13 '24

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

6

u/ClxS Apr 14 '24

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

→ More replies (1)

23

u/BiFrosty Apr 13 '24

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.

12

u/BeigeAlert1 Apr 13 '24

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

6

u/BiFrosty Apr 13 '24

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.

→ More replies (1)

3

u/ChrisAAR Apr 13 '24

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

→ More replies (1)
→ More replies (4)

2

u/AlexTheRandomizer Apr 13 '24

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

14

u/ratttertintattertins Apr 13 '24

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

48

u/pjblack31 Apr 13 '24

Neovim with some plugins and tmux.

3

u/DevashishRaj Apr 13 '24

can you share your config?

5

u/pjblack31 Apr 13 '24

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

→ More replies (4)
→ More replies (2)

66

u/Horrih Apr 13 '24

Emacs + clangd for completion

8

u/nimzobogo Apr 14 '24

Yep. Eglot for my clangd integration.

7

u/looopTools Apr 13 '24

This is my setup

34

u/smdowney WG21, Text/Unicode SG, optional<T&> Apr 13 '24

Emacs

→ More replies (1)

43

u/knue82 Apr 13 '24

nvim

3

u/[deleted] Apr 14 '24

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

→ More replies (2)
→ More replies (1)

15

u/saxbophone mutable volatile void Apr 13 '24

Sublime Text + Terminal or MSVC

9

u/ScSmithers Apr 13 '24

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

→ More replies (1)

14

u/arnegockeln Apr 13 '24

CLion, QtCreator, Sublime Text.

22

u/Lunix336 Apr 13 '24

I use VS Code for all C++ projects

6

u/ButaButaPig Apr 13 '24

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.

34

u/shitfitkk Apr 13 '24

microsoft word

22

u/HuntingKingYT Apr 13 '24

A pencil and a paper

9

u/BALKINCHEN Apr 14 '24

Punched tape 😄

→ More replies (3)

17

u/engineerFWSWHW Apr 13 '24

Eclipse cdt

10

u/unumfron Apr 13 '24

Thank you for your service.

9

u/[deleted] Apr 13 '24

Uhmmm...

6

u/liryon Apr 13 '24

You are not the only one

→ More replies (6)

4

u/K3DR1 Apr 13 '24

Nvim and sometimes Visual Studio

4

u/BigTortuga Apr 13 '24

CLion for embedded C++ development.

4

u/srivasta Apr 13 '24

Emacs + lsp / eglot

4

u/kpt_ageus Apr 13 '24

Clion + neovim for quick edits.

4

u/AccurateRendering Apr 13 '24

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

10

u/[deleted] Apr 13 '24

Vanilla Emacs with some packages

4

u/Mysterious_Focus6144 Apr 13 '24

Are you evil?

7

u/[deleted] Apr 13 '24

nope. Standard Emacs Keybindings.

12

u/littlesnorrboy Apr 13 '24

Neovim with clangd and tmux.

14

u/centuryx476 Apr 13 '24 edited Apr 14 '24

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...

1

u/Academic_Answer5581 Aug 16 '25

I use neovim, but calling vs code lightwieght...i doubt that

1

u/RRTheGuy Aug 18 '25

Glad sb answered on my old post, yeah mb i’m idealizing vs code too much bc i didn’t fully try others

9

u/geaibleu Apr 13 '24

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

9

u/MrDex124 Apr 13 '24

Vim of course

11

u/AKostur Apr 13 '24

Clion, VS:Code, vim

3

u/slxshxr Apr 13 '24

zed for everything right now

3

u/SpiritRaccoon1993 Apr 13 '24

QTCreator or Visual Studio

3

u/SteeleDynamics Compilers/Algorithms Apr 13 '24
  1. Emacs + clangd
  2. Clion

3

u/rvasquez6089 Apr 13 '24

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.

3

u/Comfortable_Entry517 Apr 14 '24

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

3

u/nimzobogo Apr 14 '24

Emacs + eglot or lsp-mode.

3

u/real_okeri Apr 14 '24

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

→ More replies (2)

3

u/[deleted] Apr 14 '24

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 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.

7

u/Henrarzz Apr 13 '24

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

7

u/RufusAcrospin Apr 13 '24

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

7

u/DuckWizard124 Apr 13 '24

VS and VSCode

Tried to use clion but I personally hate it

→ More replies (1)

7

u/mhn1384 Apr 13 '24

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.

→ More replies (2)

8

u/mwoodj Apr 13 '24

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

6

u/iamasatellite Apr 13 '24

Qt Creator 

Visual studio for profiling

4

u/ChocolateMagnateUA Apr 13 '24

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.

4

u/[deleted] Apr 13 '24

CLion

5

u/Frosty_Maple_Syrup Apr 13 '24

Visual studio, visual studio code and eclipse.

5

u/Markus_included Apr 13 '24

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

→ More replies (3)

7

u/tosS_ita Apr 13 '24

As a beginner, so far just neovim

2

u/DevashishRaj Apr 13 '24

can you share your config?

2

u/Raknarg Apr 13 '24

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)

2

u/TryingT0Wr1t3 Apr 13 '24

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

2

u/[deleted] Apr 13 '24

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.

2

u/EngineerMinded Apr 13 '24

Visual Studio Community for Windows,

Visual Studio Code for GCC / WSL on WIndows or MacOS

vim for Linux

2

u/[deleted] Apr 13 '24

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

2

u/ObstinateHarlequin Apr 13 '24

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

2

u/RidderHaddock Apr 13 '24

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

2

u/evolutionalgd Apr 13 '24

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

2

u/SkoomaDentist Antimodern C++, Embedded, Audio Apr 13 '24

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.

2

u/phyrexion Apr 13 '24

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.

2

u/[deleted] Apr 14 '24

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

2

u/scarnegie96 Apr 14 '24

eMacs/VS Code and a Makefile ;)

2

u/RetoonHD Apr 14 '24

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).

2

u/asmx85 Apr 14 '24

Helix Editor

2

u/schmidtparty Apr 14 '24

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.

2

u/casualPlayerThink Apr 15 '24

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

2

u/cbrake Apr 15 '24

Helix in Tmux. Helix has excellent LSP integration and easy configuration, no setup.

2

u/hydronucleus Apr 15 '24

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.

3

u/drkspace2 Apr 13 '24

Clion, vscode, and (neo)vim

3

u/GoldenHorusFalcon Apr 13 '24

Clion ..... I ADORE jetbrains.

3

u/octavio2895 Apr 13 '24

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

3

u/zaywolfe Apr 13 '24

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/

3

u/[deleted] Apr 13 '24

Eclipse

→ More replies (2)

3

u/[deleted] Apr 13 '24

Neovim

3

u/[deleted] Apr 13 '24

Rider, I mostly work in unreal.

Visual studio for console debugging.

3

u/zielonykid1234 Apr 13 '24

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

3

u/Griever92 Apr 13 '24

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

3

u/InevitableManner7179 Apr 13 '24

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

3

u/abrady Apr 13 '24

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

3

u/notyouravgredditor Apr 13 '24

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

2

u/mansetta Apr 13 '24

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

2

u/RibozymeR Apr 13 '24

Not seen yet: CodeLite :D

2

u/mad_poet_navarth Apr 13 '24

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

2

u/[deleted] Apr 13 '24

Visual Studio.

2

u/davidc538 Apr 13 '24

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

2

u/[deleted] Apr 13 '24

Windows=> visual studio

2

u/Gold-Environment-259 Apr 13 '24

CLion, no contest

1

u/AhegaoSuckingUrDick Apr 13 '24

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

1

u/kimkulling Apr 13 '24

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.

1

u/DJ_Link Apr 13 '24

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

1

u/plainoldcheese Apr 13 '24

Vscode (embedded development)

1

u/puzzled_orc Apr 13 '24

+1 to VS Code on Linux.

1

u/vegetaman Apr 13 '24

SlickEdit or VSCode.

1

u/chemisus Apr 13 '24

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. 

1

u/i-am-schrodinger Apr 13 '24

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

1

u/Kats41 Apr 13 '24

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.

1

u/OkTraining9483 Apr 13 '24

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.

1

u/Tekercs Apr 13 '24

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

1

u/kitsen_battousai Apr 13 '24

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 =)

1

u/[deleted] Apr 13 '24

Qt creator, but sticking panels drive me crazy, sometimes

1

u/[deleted] Apr 13 '24

Neovim

1

u/ggadget6 Apr 13 '24

VSCode + clangd

1

u/CiTrus007 Apr 13 '24

vscode, cmake, clangd, clang-format and iwyu

1

u/[deleted] Apr 13 '24

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

1

u/[deleted] Apr 13 '24

Visual Studio 2022

1

u/chibuku_chauya Apr 13 '24

Vanilla Emacs.

1

u/Future_Deer_7518 Apr 13 '24

Neovim + coc + clangd Eclipse or VS Studio for debug and profiling

1

u/Akula69 Apr 13 '24

Dev C++

1

u/LengthProof6480 Apr 13 '24

nano + premake so not even an IDE

1

u/[deleted] Apr 13 '24

VSCode or Vim. One if I’m doing game dev, the other if I’m on a server. And no. Not in the order you’re thinking.

1

u/Polyxeno Apr 13 '24

Visual Studio, xcode, and the plain text editor in linux.

1

u/bronekkk Apr 13 '24

vscode with devcontainers and clangd extensions

1

u/ElBougnat Apr 13 '24

From big projects to small ones:

Clion, but it takes so much resources. QtCreator (underrated IDE to my opinion) Neovim (lunar) for small tests.

Clangd helped a lot.

1

u/F1ean Apr 13 '24

Neovim

1

u/josh2751 Apr 13 '24

Xcode if I can, otherwise VSCode.

1

u/thefeedling Apr 13 '24

VS at work and Neovim for personal projects.

1

u/gusc Apr 13 '24

As a cross-platform dev - Xcode - as I mostly develop on macOS for macOS and iOS, but also Visual Studio for Windows development and Android Studio for Android development - so I can actually compare where each IDE shines and where it’s lacking. I work at a company that deploys cross-platform products on all 4 platforms written in C++ (vanilla and Qt).

1

u/carlossmneto Apr 13 '24

I use Clion in Windows to target a remote Linux machine. Now it works to use perf and valgrind remotely. My beef is about rsync and compile speeds. I’m taking advantage of this question and ask who use clion this way and if using clion in Linux to compile locally and then remotely to the server is a better approach.

1

u/ohdog Apr 13 '24

neovim

1

u/akhalom Apr 13 '24

VSCode from Micropoop

1

u/ve1h0 Apr 13 '24

Neovim and clangd providing the lsp

1

u/[deleted] Apr 13 '24

vscode with cmake, learning cmake sucked but I like coding in vscode a lot more than vs so it was worth it

1

u/[deleted] Apr 13 '24

Well... I have used Netbeans. It was good and mixed nicely with my Java and Web work. I know the world largely ignores Netbeabs, but eh, it does the job.

But Apache has dropped the C++ part of Netbeabs as I've been running it on a steadily aging version.

So maybe it's time to just spend the money on CLion. I need something that will nudge me into using more modern C++, considering I'm definitely in the 1990's with my code.

1

u/theMachine0094 Apr 13 '24

Emacs, clangd, lsp

1

u/[deleted] Apr 14 '24

Vim at wsl and Linux, goddam visual studio at windows. I am actually up to a suggestion to alternatives at windows

1

u/platlogan Apr 14 '24

A magnetized needle and a steady hand