I extracted this issue from discussion in #1 to document this feature request.
Problem: there are no include files displayed in the project explorer. (not completely correct but polemic)
Eclipse 3.7 + CDT 8.0 support linked folders in a better way.
This could be used to add links to (re-)source folders which contain files that are not directly addressed by a target
but also interesting for working on that target (e.g., local include files, resource files, template files, etc.)
Linked folders can be treated like normal folders (add, delete, refresh etc.)
As an example, for the llvm project I want to be able to press Ctrl-Shift-R, type StringRef and get include/llvm/ADT/StringRef.h as file. It would also be nice if I could find other files in the source tree that way, like test/Integer/constexpr_bt.ll.
Closing as it is ok for now.
Still improvements possible, in some projects I observed compilation errors indicated by Eclipse for
sources opened with ctrl-shift-R found in global project. This can happen, as the include dirs in that global
project are not set properly.
I reopen this, as the current solution does not satisfy me completely.
Several problems arise with such global linked folders:
There is an open enhancement issue addressing Ctrl-Shift-R lookup for includes being discussed on:
There is a general enhancement request concerning non-eclipse-structured projects:
Keep it the way it currently is
Hope that https://bugs.eclipse.org/bugs/show_bug.cgi?id=345152 resolves soon.
Plus, retrieve 'interesting' resource files from target dependencies, i.e., files that commands and targets
depend on (e.g., flex/bison input files) and add additional resource links.
Wait for https://bugs.eclipse.org/bugs/show_bug.cgi?id=245412 and hope that this provides a new approach (which I do not see and/or understand yet)