Include files Not Accessed in IDE File Search
In example projects created from within TouchGFX Designer and imported into a STM32CubeIDE workspace, the user gui folder only contains .cpp files. The example project itself (represented by the presence .project and .cproject files) is located in the STM32CubeIDE folder rather than the TouchGFX folder. And the gui folder, shown below, is an empty folder located in STMCubeIDE/Application/User, which is “populated�? by adding file links to the .project file pointing to the gui's .cpp files when code is generated in TouchGFX designer.

Access to associated .hpp files is possible by double clicking on their names in the editor, but they are excluded from Eclipse global searches since they do not explicitly appear in folders of the Eclipse project. For example, a new ScreenIDs.hpp file was created and added TouchGFX/gui/src/common folder.
As is the case with existing .hpp files, placement in this location enables the file to be accessed by .cpp files in the project without compilation errors. But again, the .hpp files are not directly accessible in the IDE, and are excluded from global file searches. For example, consider the term SCREEN_MAIN, defined in ScreenIds.hpp:
A global file search for the term SCREEN_MAIN
returns results only for the .cpp files linked in the gui folder, but not for ScreenIds.h:
This means that Eclipse's global search, one of the most powerful tools for browsing a project when one is not familiar with the project's organization (as one might do when studying the TouchGFX examples) is greatly reduced. Moreover, it means that global replacement of a specific string or term is made impossible, and must be done “by hand�? on individual .hpp files, once they are located by some means other than global search.
Noticing the mechanism whereby the .cpp file links were created, I thought to add a similar link folder to the user/gui folder and painstakingly placed links, one at a time, to the hpp files inside. Voila, this enabled the .hpp files to be found in global searches.
However, when the project's .touchgfx files is edited and code generated in TouchGFX Designer, and then the IDE is refreshed, the linked files disappear from the inc and src folders (though they are still present on the system).
So, finally, this brings me to my question: how, indeed, is one to enable searches for .hpp file contents within this rather convoluted setup? And is there some suggested means whereby one can add new .cpp and .hpp files to a project from within the IDE, rather than having to do so in the Windows Explorer (or whatever OS is in use)? I may be missing something obvious, but I've spent endless hours trying to find a way to solve this issue.
I apologize for this agonizingly long post, but agonizing is also a good description of my experience of trying to solve this issue.