Indexer is not ignoring header file as it should [message #1805239] |
Wed, 10 April 2019 09:37 |
James Fowkes Messages: 1 Registered: May 2012 |
Junior Member |
|
|
I am having issues with getting the indexer to correctly ignore excluded files.
My project is a Makefile project (i.e. we write the makefile ourselves, it it not autogenerated by Eclipse).
We have several build configurations within the project, each of which has a different set of excluded folders/files.
The indexer is indexing files from a folder that has been excluded (in Properties->C/C++ General->Paths and Symbols->Source Location):
The folder is greyed out in the Navigator:
But the indexer still is using files from this folder (for instance, if I use `F3` to open a declration, it will go to file in this folder if such a declaration exists there).
Here are my indexer settings:
Which researching this issue, one answer I read suggested that enabling "Index source files not included in the build" would fix this issue, but it did not.
I've tried rebuilding the index, restarting Eclipse.
Any advice is appreciated.
Eclipse information:
Version: Oxygen.3 Release (4.7.3)
Build id: 20180308-1800
CDT Information:
Version: 9.4.3.201802261533
Build id: @build@
-
Attachment: Capture8.PNG
(Size: 3.78KB, Downloaded 390 times) -
Attachment: Capture9.PNG
(Size: 1.60KB, Downloaded 386 times) -
Attachment: Capture10.PNG
(Size: 12.75KB, Downloaded 496 times)
|
|
|
Powered by
FUDForum. Page generated in 0.02917 seconds