| Summary: | Unnecessary load of all registered EPackages | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Ed Willink <ed> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow, tokraemercli |
| Version: | unspecified | Flags: | sebastian.zarnekow:
helios+
|
| Target Milestone: | SR1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Ed Willink
Besides the suggestions, we should provide a hook that allows to define the packages that should be searched first. What are local packages? Minimal local: the current packages (imported by the editor grammar) Inherited local: the packages of the transitive closure of the inheritance of the classes in the current packages Maximal local: the packages of the transitive closure of the references of the classes in the current packages I suspect that "Inherited local" is enough for this problem, but there seems no justification going beyond "Maximal local" except when doing a Content Assist/Quick Fix and even then I think there should be a click-through to authorize loading all packages (which is much more costly and less well-behaved than loading all Java classes). *** Bug 321432 has been marked as a duplicate of this bug. *** Fixed in HEAD. See LazyLinker#globalFindInstantiableCompatible for details. Closing bug which were set to RESOLVED before Eclipse Neon.0. |