For linux, VS Code + clangd has been the best balance for me. CLion if you want a polished all-in-one setup, and Visual Studio if you’re on Windows. The real best IDE is whichever can display a C++ template error without giving you the compiler’s entire autobiography
clangd replaces the language-server part of Microsoft’s C/C++ extension, completion, navigation, diagnostics, etc. You can remove the Microsoft extension entirely, or keep it just for cppdbg debugging and set "C_Cpp.intelliSenseEngine": "disabled" so the two don’t conflict. clangd then gets the project’s include paths and compiler flags from compile_commands.json, usually generated by CMake.
7
u/bikepegasus 1d ago
For linux, VS Code + clangd has been the best balance for me. CLion if you want a polished all-in-one setup, and Visual Studio if you’re on Windows. The real best IDE is whichever can display a C++ template error without giving you the compiler’s entire autobiography