Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer is not ignoring header file as it should
Indexer is not ignoring header file as it should [message #1805239] Wed, 10 April 2019 09:37
James Fowkes is currently offline James FowkesFriend
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):

index.php/fa/35265/0/

The folder is greyed out in the Navigator:

index.php/fa/35266/0/

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:

index.php/fa/35267/0/

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 495 times)
Previous Topic:Toolchain "MinGW GCC" is not detected, but this is not true
Next Topic:Step Return does not work properly
Goto Forum:
  


Current Time: Fri Apr 26 15:26:18 GMT 2024

Powered by FUDForum. Page generated in 0.03344 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top