mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
[299583] The common source lookup director in a fresh workspace is ineffective
This commit is contained in:
parent
27f0a6d064
commit
9cdd4e1d07
1 changed files with 5 additions and 0 deletions
|
@ -354,6 +354,11 @@ public class CDebugCorePlugin extends Plugin {
|
||||||
fCommonSourceLookupDirector = new CommonSourceLookupDirector();
|
fCommonSourceLookupDirector = new CommonSourceLookupDirector();
|
||||||
String newMemento = CDebugCorePlugin.getDefault().getPluginPreferences().getString( ICDebugInternalConstants.PREF_COMMON_SOURCE_CONTAINERS );
|
String newMemento = CDebugCorePlugin.getDefault().getPluginPreferences().getString( ICDebugInternalConstants.PREF_COMMON_SOURCE_CONTAINERS );
|
||||||
if ( newMemento.length() == 0 ) {
|
if ( newMemento.length() == 0 ) {
|
||||||
|
// Add the participant(s). This happens as part of
|
||||||
|
// initializeFromMemento(), but since we're not calling it, we
|
||||||
|
// need to do this explicitly. See 299583.
|
||||||
|
fCommonSourceLookupDirector.initializeParticipants();
|
||||||
|
|
||||||
// Convert source locations to source containers
|
// Convert source locations to source containers
|
||||||
convertSourceLocations( fCommonSourceLookupDirector );
|
convertSourceLocations( fCommonSourceLookupDirector );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue