Search code examples
c++clion

Show class name in Intellij's CLion Structure panel


I'm using Intellij CLion to browse some source code, and there's a cpp file with the definition of two classes. Given both classes inherit from the same base class, they have methods with the same name, but in the structure panel they cannot be discerned:

Structure panel

Is there a way of prefixing each method with the class name?


Solution

  • Simple answer: No, it is not possible to show the class name in structure view for cpp files.

    According to this open issue, the tree view is available for header files only.