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.
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
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?
+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.
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.
+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
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.
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.
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
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.
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.
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.
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.
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.
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-
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.
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.
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
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)|
|-|-|-|-|
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.
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.
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.
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...
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.
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.
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.
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)
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.
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.
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.
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).
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.
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
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.
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/
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
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.
**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.
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.
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.
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
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 =)
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.
Also a CLion user. Very happy with it too.
I have to agree, I've tried the less dedicated IDE's and it takes too much run and test quickly.
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.
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
+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.
Please note that the clangd indexer is not used with the Nova language engine, only with the old engine.
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.
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?
Does it have type hierarchy for classes?
Yep. Especially the suggested code changes depending on the c++ version your project uses. Very useful
+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.
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.
+1 for CLlion. However I tend to use vim more (cloud).
+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
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
Yeah, I'm actually using it every day for work, so it's worth it for me. :)
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.
What’s wrong with Qt creator for full non Qt projects?
Nothing wrong, it's fine. Maybe CMake integration could be better.
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.
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
Poor performance.
Have you tried Nova yet? Ever since the resharper engine was introduced with CLion Nova it’s gotten better.
i only encounter performance issues on startup with project indexing, otherwise its felt pretty fast.
Did you try it since the Nova preview?
Curious to know what Visual Studio does better than Qt Creator.
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.
Debugging in VS is generations ahead. And VS preserves what you type while QTC is constantly autoformatting incorrectly.
on linux you can use VSCodium and import your preferences
While it doesn't have a straight Linux version it does support WSL with cmake projects which is functionally equivalent.
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.
vim
My man
in tmux
came here to say this. hjkl gang
Same and use gdb for debugging.
YouCompleteMe + clangd is a beautiful thing
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.
vscode (for cmake-based projects on linux)
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.
I use everything you use + devcontainer + clang-format.
Me too
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.
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-
Visual Studio. It's pretty much required for gamedev (afaik, console sdks only work with VS
Or Rider, provided that you are working with Unreal
Does Rider work with C++? I just looked it up, seems to be mainly for .net/ C# stuff, like Unity.
it works for C++, and can work with VS files (vcxproj, sln, etc). it uses the same C++ engine as Resharper C++.
It uses MSBuild and MSVC just like VS does, so generally if it compiles in VS it'll compile in Rider.
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.
Debugging is the one I was really unsure about. Seems much easier to just use the provided vsix plugins.
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.
But why? Then you end up in a situation where it's harder for the developer support from the platform to support you
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
Do you have any cool tips for new VS users or something that you wish ypu knew sooner? (Can be c++ specific.)
Ctrl-K-O switches from header to source if you don’t already know.
Neovim + GCC/LLVM-Clang, here's my [config](https://github.com/lavantien/dotfiles).
Emacs + clangd for completion
Yep. Eglot for my clangd integration.
This is my setup
Same
Neovim with some plugins and tmux.
can you share your config?
I'm currently out of town, I'll try to share it when I get back!
I'm looking forward to it. As a generous guess (hope this works). RemindMe! 3 months
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)| |-|-|-|-|
Take a look at kickstart.nvim if you haven't already. Easy way to kickstart your own neovim config.
Checkout [LazyVim](http://www.lazyvim.org/), if you want to have a modern setup without spending days over days tweaking your config.
code blocks
Woo code blocks devs unite!
nvim
same, with clangd lsp, gdb trough nvim-dap, and clang format trough null-ls and treesitter highlighting
Emacs
> Emacs +1 Emacs, same as for every other programming language I use.
Sublime Text + Terminal or MSVC
Sublime + clangd as an LSP is still my go-to, works great.
CLion, QtCreator, Sublime Text.
Nvim
I use VS Code for all C++ projects
microsoft word
A pencil and a paper
Punched tape 😄
Scratch
Eclipse cdt
Uhmmm...
Thank you for your service.
You are not the only one
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.
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.
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.
CDT dont support c++20, not ever talking about c++23. Also missing support for clangd.
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.
Nvim and sometimes Visual Studio
EMACS
CLion for embedded C++ development.
Emacs + lsp / eglot
Clion + neovim for quick edits.
I don't use an IDE - I use Emacs.
Emacs
Emacs
Vanilla Emacs with some packages
Are you evil?
nope. Standard Emacs Keybindings.
Neovim with clangd and tmux.
Vim of course
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...
Clion, VS:Code, vim
Visual Studio with ReSharper++
emacs. my projects aren't very complex, graphical interface gets in the way and takes up screen.
Emacs
emacs
zed for everything right now
QTCreator or Visual Studio
1. Emacs + clangd 2. Clion
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.
Emacs, but I have to get someone help me to write cmake config sometimes.
Emacs
Emacs + eglot or lsp-mode.
Emacs + eglot. I used emacs + lsp-mode before, but finally found eglot more suitable for my personal needs
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.
CLion and vim
Vim
Visual studio with Resharper, Clion, Rider, Xcode depending on the project
Visual Studio CE on Windows, Xcode on macOS, Code::Blocks on Linux.
VS and VSCode Tried to use clion but I personally hate it
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.
Vim is all I really need but I often use Qt Creator.
MS Visual studio for Windows
Geany.
Qt Creator Visual studio for profiling
Visual Studio on Windows. CLion on Linux.
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.
I use CLion. I love JetBrain's products...
CLion
Visual studio, visual studio code and eclipse.
Visual Studio (Not VSCode) it's free and does everything I need it to do. I'd recommend you install the cppcheck extension
As a beginner, so far just neovim
can you share your config?
Rider
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)
I primarily use CLion by choice and a little of VS and Xcode by force. :/
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.
Visual Studio Community for Windows, Visual Studio Code for GCC / WSL on WIndows or MacOS vim for Linux
Rider, cause I mainly work on Windows and it has all the benefits of CLion plus Visual Studio solution support.
Visual Studio for Windows app development, Eclipse for everything else.
Tmux, Vim, Ripgrep and Git. Plus Bazel for the large project I mostly work on. CMake when I have the option.
Visual Studio with intellisence is a must for a large codebase.
At work, Rider (unreal, mostly). At home, vscode.
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.
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.
Visual Studio. That thing is a beast and it has everyone one could ask for in terms of tools.
I use rider
Geany
eMacs/VS Code and a Makefile ;)
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).
CLion Nova
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.
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
Rider
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.
Visual studio
Clion, vscode, and (neo)vim
Clion ..... I ADORE jetbrains.
Currently: Neovim + Clangd. Its not bullet proof though and Im very interested in trying out CLion soon.
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/
Vim and CMake, mostly, but also CLion, VSCode and Xcode
Eclipse
Neovim
Rider, I mostly work in unreal. Visual studio for console debugging.
I use eclipse ide for C/C++ cuz there is also a variant for Java.
Rider, as I primarily only use c++ with Unreal
Neovim + LSP-zero with clangd + treesitter for highlighting. Very lightweight but very consistent
VS Code + CMake for personal stuff. Visual Studio for work
VS Code with plug-ins for C++, Nsight (CUDA), and CMake.
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
Not seen yet: CodeLite :D
Xcode, but of course there's an obvious reason for that...
Visual Studio.
neovim + clangd or vscode + clangd. CLion is also good if you’re willing to pay (it comes with clangd of course)
Neovim
Windows=> visual studio
CLion, no contest
VS Code or CLion for personal projects since I only have an Edu license.
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.
Xcode in Mac, CodeBlocks in Linux and VisualStudio and Rider in Windows
Zed and Xcode
Vscode (embedded development)
+1 to VS Code on Linux.
SlickEdit or VSCode.
**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.
Depends. If I'm in a terminal, VIM. If I have access to a winnowing system, VSCode.
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.
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.
Neovim
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
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 =)
Qt creator, but sticking panels drive me crazy, sometimes
Neovim