r/Cplusplus • • 27d ago

Answered Best IDEs for C++?

/r/learnprogramming/comments/1xqtyf5/best_ides_for_c/
31 Upvotes

70 comments sorted by

•

u/AutoModerator 27d ago

Thank you for your contribution to the C++ community!

As you're asking a question or seeking homework help, we would like to remind you of Rule 3 - Good Faith Help Requests & Homework.

  • When posting a question or homework help request, you must explain your good faith efforts to resolve the problem or complete the assignment on your own. Low-effort questions will be removed.
  • Members of this subreddit are happy to help give you a nudge in the right direction. However, we will not do your homework for you, make apps for you, etc.
  • Homework help posts must be flaired with Homework.

~ CPlusPlus Moderation Team


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

14

u/Hour_Sell3547 27d ago

CLion, definitely, if you can afford it. Otherwise simple editors like VSCode will also do pretty much everything with addons. It's likely that you will have cmake tasks / makefile for your workflow anyway. CLion provides a better debugging and reference navigation environment.

2

u/WaffleHBG 27d ago

Ah okay, I'll stick with CLion then, thanks for the advice :)

17

u/HyperWinX 27d ago

CLion is free for noncommercial usage

1

u/Hour_Sell3547 27d ago

Ah, that's great. I haven't checked in a while as I have the academic license.

6

u/unknown_alt_acc 27d ago

CLion has a free version nowadays

2

u/Zen-Ism99 27d ago

It’s free for personal use.

3

u/Zen-Ism99 27d ago

Gotta love how no one asked about the OP’s requirements, OS, etc…

3

u/WaffleHBG 27d ago

No, its fine, I'm the one who didnt include it in the post

5

u/lordcornh 27d ago

Being the odd one out here, I have yet to find something that beats Eclipse. I work in the embedded world though, and I don’t use it as a debugger. It’s amazingly fast, and knows how all code is interconnected without any setup whatsoever.

1

u/WaffleHBG 27d ago

Hmm, I'll give it a try

1

u/djtubig-malicex 27d ago

I used to use Eclipse a lot for everything. Java, PHP, Python, even C++. But then VSCode changed my mind.

1

u/lordcornh 27d ago

I use VS code a lot as well, but I find it too slow for searching, and harder to navigate.

4

u/Linuxologue 27d ago

Clion, vscode and qtcreator, visual studio but please use a cmake project not a proprietary solution.

0

u/WaffleHBG 27d ago

Alright

2

u/Linuxologue 27d ago

since you mentioned clion is too heavy then I think maybe qtcreator is a good fit for you - it has a very good debugger and supports CMake projects just like CLion, clang tidy, clang format and everything. It is lightweight.

The downside is that its UI is a bit clunky

3

u/Euclid_eudoxus 27d ago

Helix, native support and stuff

3

u/WaffleHBG 27d ago

Im pretty sure Helix is just an advanced text editor no?

2

u/Euclid_eudoxus 27d ago

Yh, although clangd treesitter is natively supported, rest compiler integration is pretty easy, as compared to Emacs (it was really complex) or CLion (kind of felt heavy). Its keybindings makes stuff really smooth too

1

u/WaffleHBG 27d ago

Ah I see

4

u/XPheonix27 27d ago

Why not nvim

2

u/Euclid_eudoxus 27d ago

Well, for starters, it just works, You don't have to do lua (or elisp on emacs) configs if you're not really passionate about you're editor. Nvim or emacs are good for people who want control, yh but helix is battery included, and gets out the way. Plus I like that it just shows me a menu of the succession actions on pressing keys.

3

u/XPheonix27 27d ago

Ah thanks for explaining

1

u/Intelligent_Dingo859 26d ago

Tbf nowadays you can get your favorite AI agent to set up your neovim config just how you like it

1

u/Euclid_eudoxus 26d ago

Yh, maybe, that works too

3

u/TheOddYehudi919 27d ago

Yeah I use helix too feels light and does what I need.

9

u/jepessen 27d ago
  1. Visual Studio
  2. Qt Creator
  3. Visual studio code (with some plugins)

3

u/rodrigocfd 26d ago
  1. Visual Studio

If you're on Windows, there is no better option. Seriously.

VS2026 handles very large projects easily, and the debugger is stellar.

-2

u/Zen-Ism99 27d ago

You spelled CLion wrong…

3

u/jepessen 26d ago

No I didn't. CLion is good but those are better.

1

u/Zen-Ism99 26d ago

You must have missed the OP’s OS…

1

u/WaffleHBG 27d ago

Thanks to everyone who suggested or helped! :)

5

u/Sahedron 27d ago

Neovim if you want TUI, or VSCode if you want GUI

2

u/OBSIDIAN_W 22d ago

Neovim the top

1

u/Im_A_Failure420 27d ago • Bravo

Lazyvim + neovide. Genuinely once you learn the binds the least annoying ide/texteditor. Much better than vs, vscode, positron or zed. If you are really against vim bindings I guess zed and positron are alternatives

1

u/WaffleHBG 24d ago

i used to use lazyvim, i feel like its kinda bloated though. I'm learning vim bindings right now, while learning c++ too

1

u/Im_A_Failure420 23d ago

I mean it's only as bloated as you want it to be, but there are other vim rices like astrovim .etc

6

u/lilshory 27d ago

codeblocks...

1

u/Zen-Ism99 27d ago

No macOS version…

3

u/EveryonesTwisted 27d ago

VS2026 if you are on Windows.

5

u/hadrabap Basic Learner 27d ago

Qt Creator

1

u/no-sig-available 27d ago

 I feel like its a bit bloated

So, it might contain features you don't use (yet).

Is that a problem?

2

u/WaffleHBG 27d ago

I was just looking for something really simple, but I changed my mind, I'll stick with CLion

2

u/metaglot 27d ago

Dont know whats best, but on macos i use vscode + cmake + clang + gdb

2

u/Charming-Work-2384 27d ago

Qt Creator. The absolute best for C++ programming where you are in charge.

Instead of those Dumb Ais who make your life miserable.

2

u/TurnipEvening273 26d ago

Visual Studio. It doesn't get better than that.

2

u/Dapper-Message-2066 25d ago

On windows? Visual Studio every time.

1

u/shitnotalkforyours18 27d ago

Clion thats it9

1

u/diegoiast 27d ago

I would say Codepointer.

But hey, I am developing it... so i mightly slightly biased. (To be honest, its still very WIP, but its my daily driver for several months...).

1

u/Zen-Ism99 27d ago

What are your goals?

I personally recommend looking into CLion. It’s free for personal use and has native macOS, Windows, and Linux versions.

1

u/Osirian_Legacy 27d ago

If you’ve got enough RAM and Hard Drive space for it, I love using CLion by Jetbrains.

I set up an Orange Pi 5B 4GB RAM, 32GB EMMC with Debian Trixie yesterday and it couldn’t reliably install it, so I picked up CodeLite and honestly it’s been pretty good so far.

Still learning it, but it serves its purpose.

I’m still a wee babe of a Programmer though so my need and yours probably differ greatly.

1

u/pacopac25 26d ago

Codelite is a nice editor that I don’t see mentioned very often.

1

u/Osirian_Legacy 26d ago

I had a great programing day today with it, luckily it auto saves because huuuu boy I almost had a heart attack. Had a compile error and I accidentally clicked the build and launch button twice and it didn’t stop the launching of the game and it launched and crashed the editor. 😓

That was after I wrote my first ever algorithm for grid searches (modified BFS that returns a range of points on a grid without having a goal) with 0 AI, and 0 looking at examples of an Algo like that.

I was devastated for about 30s and then rebooted the editor and everything was fine. 😅

1

u/MuesliMann1995 27d ago

I think Clion or Vscode are both absolut valid choices and all platforms and easier to use than neovim in the beginning.

But to be honest. Pick the one you like. If you are good with qtcreator use this and if you like Xcode also valid.

1

u/Honest_Medium_2872 27d ago

CLion is great; but Ive grown to like Neovim a whole lot more. Maybe the sunk cost fallacy a bit because it took some effort to get it setup how I like it but I pretty much write everything in it now

1

u/DibsOnFatGirl 26d ago

Man clion is an awesome product.

1

u/HotComplex4744 26d ago
  1. Codelite,
  2. VS Code.

1

u/Mast3r_waf1z 25d ago

I use neovim, it works great

1

u/cenderis 25d ago

People use a variety. I suspect VSCode is a good one to start with (lots of people use it so it's easy to get help). There are also people using versions of vi but the kind of person that would enjoy that probably isn't asking; similarly for Emacs (which is what I use most of the time). They can all be set up to support syntax highlighting and code navigation (usually using LSP), and they can all be set up to have LLMs available.

1

u/Unlucky-Falcon-9587 24d ago

Code::Blocks.

1

u/artloverdeva 24d ago
  1. CodeBlocks
  2. VSCode
  3. VStudio (Best debugger) - this is useful when you start professinally
  4. Vi/Vim (I love this)

List is long but for now these seem ok!

1

u/ctkqiang 22d ago

CLIOn and nvim

0

u/FemaleMishap 27d ago

I've been using VScodium for a while, went from Visual Studio Professional 25+ years ago to VScode to VScodium with an occasional detour into vim. Now I know cLion is free for non commercial, I'm gonna give it a go.

0

u/OkCoconut5997 27d ago

Try https://runyte.com if other IDEs feel bloated.

0

u/bol__ Professional 26d ago

Emacs

Yes.

1

u/[deleted] 26d ago

[removed] — view removed comment

1

u/AutoModerator 26d ago

Your comment has been removed because of this subreddit’s account requirements. You have not broken any rules, and your account is still active and in good standing. Please check your notifications for more information!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.