mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-03-28 14:56:28 +01:00
![]() When the project's active IBuildConfiguration has the default name and
the chosen ICBuildConfigurationProvider.getCBuildConfiguration does not
support the IBuildConfiguration.DEFAULT_CONFIG_NAME and returns null,
this can cause the project's ScannerInfoProvider to become "stuck"
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=413357) on the wrong
setting (eg LanguageSettingsScannerInfoProvider instead of
ICBuildConfiguration) until Eclipse is restarted or the project is
closed and reopened. When this happens, the indexer does not function.
This problem may arise if an ISV contributes a
ICBuildConfigurationProvider which has very specific naming conventions
for it's build configurations.
The solution uses the API (resetCachedScannerInfoProvider(project)),
introduced by 413357, to reset the project's ScannerInfoProvider when a
new ICBuildConfiguration is created.
(cherry picked from commit
|
||
---|---|---|
.. | ||
.settings | ||
browser/org/eclipse/cdt | ||
doxygen/org/eclipse/cdt/doxygen | ||
META-INF | ||
model/org/eclipse/cdt | ||
OSGI-INF | ||
parser/org/eclipse/cdt | ||
schema | ||
src/org/eclipse/cdt | ||
templateengine/org/eclipse/cdt | ||
utils/org/eclipse/cdt | ||
.classpath | ||
.options | ||
.project | ||
about.html | ||
build.properties | ||
plugin.properties | ||
plugin.xml |