TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 227 subscribers
Post #23953 15
C++ code styles used by JetBrains devs

CPP code styles topic has probably been beaten to death, and there is 0 agreement on what is considered a right choice.

Many blindly pick Google simply because of the name, however more experienced say that it is highly controversial and evolved from the huge legacy code base (e.g. if you have large 4k monitors reading Google c++ code styles with 2 space indentation and 80 characters lines it's like reading a book in the middle of the screen).

CLion offers the styles listed below, I am curious what JetBrains C++ devs use themselves?

* Google
* LLDB
* LLVM
* Microsoft
* QT
* STL
* Stroustrup

https://redd.it/1nvjgus
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 17, 2026"C++23 - The Complete Guide" now as Paperback C++23 - The Complete Guide is now also avail…
  2. Oct 17, 2026A quick C++ standard container overview https://meetingcpp.com/blog/items/A-quick-Cpp-stan…
  3. Oct 17, 2026The Double Headed Stack Allocator – The blog at the bottom of the sea https://blog.demofox…
  4. Oct 17, 2026Barry's C++ Blog - Generating Operator Functions https://brevzin.github.io/c++/2026/10/14/…
  5. Oct 17, 2026MSVC Build Tools Version 14.52 Release Candidate Now Available https://devblogs.microsoft.…
  6. Oct 17, 2026C++ futures part 4: What if I want an immediate on-thread std::async? https://devblogs.mic…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →