Exclude files from Eclipse indexing that are included in the assembly

This question gives good answers to the question of excluding files from indexing, which are also excluded from the assembly. The question remains open: how to protect files that are part of the assembly from filling out code or code completion functions?

My use case is the TrueSTUDIO project (there was System Workbench, was naked Eclipse), which includes some modules from another project. They are wrapped in secure stubs and wrappers and should never be called directly. External modules cannot be edited because they must remain in sync with another project, so their file names and other characters conflict with the current project. When using code completion to include a header or terminate a function name, file names and module names that should not be used directly are displayed in completion lists.

I want to continue to include modules in my assemblies, but not all of their contents appear in full code / insight functions.

I see in Project Properties → C / C ++ General → Indexer there are options for setting the indexer to use a different build configuration. This is promising, but is likely to quickly lead to an indexer that is not well synchronized with the main assembly configuration.

Any tips on a practical method?

0
c ++ c eclipse build
source share

No one has answered this question yet.

See similar questions:

7
How to exclude files from Eclipse indexing (static code analysis)?

or similar:

2847
Improve SQLite performance per second per second?
488
Xcode Warning: "Multiple Build Commands for the Output File"
411
How to create an APK file in Eclipse?
365
Eclipse optimizes imports to enable static imports
253
Exclude folders from Eclipse search
69
# include all .cpp files in a single compilation unit?
10
How to include assembly directory as source directory in intellij when compiling with gradle
4
How to exclude jar file from my target Android library assembly
4
IntelliJ - enable the module, but exclude from the assembly
3
doxygen includes a call graph, but excludes module files from the documentation index

All Articles