1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00
cdt/core
github-actions[bot] 81989fa4c4
[cdt_11_6] On createBuildConfiguration, reset project's ScannerInfoProvider (#817) (#854)
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 0f36d5dba1)

Co-authored-by: betamax <evil_bandit_betamax@yahoo.co.uk>
2024-06-28 21:48:56 -04:00
..
org.eclipse.cdt.core [cdt_11_6] On createBuildConfiguration, reset project's ScannerInfoProvider (#817) (#854) 2024-06-28 21:48:56 -04:00
org.eclipse.cdt.core.linux Prepare repo for 11.6.1 development 2024-06-24 08:30:00 -04:00
org.eclipse.cdt.core.linux.aarch64 Speed up closing all file descriptors in the child process (Fixes #835) 2024-06-28 21:47:00 -04:00
org.eclipse.cdt.core.linux.ppc64le Speed up closing all file descriptors in the child process (Fixes #835) 2024-06-28 21:47:00 -04:00
org.eclipse.cdt.core.linux.x86_64 Speed up closing all file descriptors in the child process (Fixes #835) 2024-06-28 21:47:00 -04:00
org.eclipse.cdt.core.macosx Speed up closing all file descriptors in the child process (Fixes #835) 2024-06-28 21:47:00 -04:00
org.eclipse.cdt.core.native Speed up closing all file descriptors in the child process (Fixes #835) 2024-06-28 21:47:00 -04:00
org.eclipse.cdt.core.tests [cdt_11_6] On createBuildConfiguration, reset project's ScannerInfoProvider (#817) (#854) 2024-06-28 21:48:56 -04:00
org.eclipse.cdt.core.win32 Prepare repo for 11.6.1 development 2024-06-24 08:30:00 -04:00
org.eclipse.cdt.core.win32.x86_64 Prepare repo for 11.6.1 development 2024-06-24 08:30:00 -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.6.1 development 2024-06-24 08:30:00 -04:00
pom.xml Prepare repo for 11.6.1 development 2024-06-24 08:30:00 -04:00