Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] sanner info and configurations

I'm running into an issue where I create a new configuration and then add an include path to just that configuration using the Paths and Symbol page, but the include path doesn't show up in the scanner info when I have that configuration set as active. After some digging I've discovered that the DescriptionScannerInfoProvider always uses the "default" configuration and ignores the active configuration. I've also noticed that when you switch configurations the contents of the includes node in the project explorer don't change to reflect the active configuration.

Is it supposed to work this way or is this a bug? I find this behavior strange because switching configs doesn't effect the indexer. I was under the impression that users might want to set up different macros and then switch configs to control what sections of code are active/inactive, but this doesn't appear to work. Is it because triggering a reindex would be too slow? In any case I would expect that when a reindex is done it would pick up the includes from the active config.

Any insight would be appreciated.


Mike Kucera
Software Developer
Eclipse CDT/PTP
IBM Toronto
mkucera@xxxxxxxxxx


Back to the top