1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/core
betamax 0f36d5dba1
On createBuildConfiguration, reset project's ScannerInfoProvider (#817)
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.
2024-06-12 08:56:47 -04:00
..
org.eclipse.cdt.core On createBuildConfiguration, reset project's ScannerInfoProvider (#817) 2024-06-12 08:56:47 -04:00
org.eclipse.cdt.core.linux Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.core.linux.aarch64 Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.core.linux.ppc64le Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.core.linux.x86_64 Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.core.macosx Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.core.native Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.core.tests On createBuildConfiguration, reset project's ScannerInfoProvider (#817) 2024-06-12 08:56:47 -04:00
org.eclipse.cdt.core.win32 Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.core.win32.x86_64 Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
org.eclipse.cdt.ui [#808] Support overriden default-editor-association in EditorUtility (#809) 2024-05-31 13:16:03 -04:00
org.eclipse.cdt.ui.tests Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
pom.xml Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00