Mask C++ Class behind filter?
Answered
Hello, I was wondering if there was a way (doesn't matter if it is a plugin) for CLION to take a class's CPP file and header file and make one filter to mask it behind.
Example of what I am talking about (photoshopped picture)
When you expand "TextureAtlas" the header and cpp file appear under it.
Please sign in to leave a comment.
Hello!
Unfortunately, there is no such possibility.
You can achieve a slightly similar view using the file nesting option: click the gear button in the Project tool window, select File Nesting..., add a new row and specify .cpp as a "parent" file suffix and .h (or .hpp) as a matching "child" file suffix. In this case a class header file will be grouped under a class source file:
See https://www.jetbrains.com/help/idea/file-nesting-dialog.html for more details.