Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318737 - Too many possible values in CrossReferenceTemplateVariableResolver.resolveValues
Summary: Too many possible values in CrossReferenceTemplateVariableResolver.resolveValues
Status: CLOSED WORKSFORME
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 10:41 EDT by Holger Schill CLA
Modified: 2012-11-14 05:14 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.