Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318737

Summary: Too many possible values in CrossReferenceTemplateVariableResolver.resolveValues
Product: [Modeling] TMF Reporter: Holger Schill <Holger.Schill>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 1.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Holger Schill CLA 2010-07-02 10:41:37 EDT
The method org.eclipse.xtext.ui.editor.templates.CrossReferenceTemplateVariableResolver.resolveValues(TemplateVariable, XtextTemplateContext) asks the ScopeProvider for all contents to create a list of potential candidates. This could cause problems when the list gets very big. We should avoid this by setting a limit of possible candidates.
Comment 1 Sven Efftinge CLA 2012-11-14 05:14:44 EST
Can be filtered programatically if it's an issue.