Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.11.0, Qt Creator 4.12.0-beta2
-
None
Description
In previous versions up to 4.10, source and header files in the same folder were in the same folder too in QtCreator's project explorer.
But since 4.11, intermediate nodes appeared (probably because of default cmake source_group) splitting source and headers in separate location in the project explorer.
I tried to accustom myself to the new behavior, but I still miss the previous way without separate headers and sources, especially with bigger projects with sub directories.
See for example if I'm working on the class "TheClassImLookingFor", I need to scroll every time in qtcreator 4.12 to find the header subtree or source subtree.
Also, having opened subdirectories almost guarantee that only a part of the project tree will be displayed on screen possibly hidden if I'm in the headers or sources subtree, where I can only determinate this by either scrolling or looking at file extensions.
To me this is unfriendly because of the additional level in the project tree in project explorer and this when searching for a source or header, there are 2 completely separated locations to find only one of them.
I think header and sources are splitted since commit 18eb0b39c517019c9fec711c055b5d42f20aae10.
So I'm requesting a way to revert that splitted header/source behavior when not using source_group in CMake (that is, when source groups are the auto generated ones).
Attachments
Issue Links
- relates to
-
QTCREATORBUG-23957 Wrong project structure: CMake source_groups
- Closed