CLION: how to generate class diagrams from C++ source code
Asked Answered
C

1

6

I have used Visual Studio successfully to generate class diagrams from C++ source code. But I'm finding it hard to do the same in CLION. I used Settings / Preferences | Tools | Diagrams as per the JetBrains documentation, but it throws this error CLION diagrams error. "The current file or folder does not have any dependencies. Please try with another file or folder". But my source code is indeed having many dependencies.

How to generate class diagrams (UML or non UML) from C++ source in CLION?

Chowder answered 31/5, 2021 at 23:34 Comment(1)
You may find BOUML to do what you want.Jennet
R
3

I'm not familiar with CLion, but from what I've googled, it seems that CLion does not support C++ class diagrams: see this support question about UML Diagrams in CLion and the corresponding feature request OC-1038 filed ten years ago, still not implemented.

However, CLion seems to have a basic UI allowing you to browse class hierarchy by pressing Ctrl+H, as shown in this CLion: A Modern C++ IDE video by Dmitri Nesteruk from JetBrains at 41:43.

Running answered 1/6, 2021 at 0:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.