How CLion’s Switch to clangd Changes C++ Code Completion and Refactoring
Learn why CLion 2023.1+ uses clangd for C++ intelligence, how to keep compile_commands.json in sync, and what trade‑offs to watch for.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn why CLion 2023.1+ uses clangd for C++ intelligence, how to keep compile_commands.json in sync, and what trade‑offs to watch for.
Learn how std::optional in C++17 gives inline, type‑safe nullable returns, see a worked example, and understand the trade‑offs before adopting it in your codebase.
A decision guide for choosing read-only text parameter types in C++17: compare string_view, const string&, and const char* with a compact trade-off table, concrete example, and validation steps to verify zero allocations and detect dangling views.
Stop treating filesystem paths as plain strings. C++17's std::filesystem offers portable path objects and directory iteration without platform-specific code.
Learn how to use Qt's Signal and Slot mechanism to decouple C++ classes, manage thread-safe communication, and avoid tight coupling in complex applications.
Learn how to replace manual new and delete with std::unique_ptr so C++ resources are released exactly once, even when exceptions propagate. Includes compiler flags, sanitizer checks, and migration paths.
Decide when to use std::unique_ptr and std::shared_ptr to eliminate double frees and dangling pointers, and why std::make_shared is safer than the constructor.
CLion derives its project model directly from CMakeLists.txt, so navigation and builds stay in sync. See how toolchain profiles and a two-target example work in practice.
Unreal Engine's Gameplay Ability System offers server-authoritative abilities and replicated attributes, but it demands real architectural commitment. Here's how to evaluate the trade-offs.