Community
Participate
Working Groups
Currently, any character in org.eclipse.m2m.internal.qvt.oml.editor.ui.completion.QvtCompletionProcessor.ACTIVATION triggers content assist in the QVTO editor. This computing possible completions becomes very expensive when we have a large metamodel (e.g., UML) or when we have lots of QVTO code that augments the metamodel with helpers/queries/mapping operations/black-box operations to the point of being a significant productivity bottleneck. I suggest adding QVTO preferences to allow turning off completion and/or delay it like the JDT editor does -- see org.eclipse.jdt.internal.ui.text.ContentAssistPreference
Created attachment 187301 [details] Temporary workaround for disabling greedy QvtCompletion processing. It would be nice to have QVTo preferences to enable/disable QVT Completion processing. The problem is that each QvtCompletion is expensive because it invokes a new lightweight parse of the Qvt document. There is currently very little that is cached across such computations so the overall performance is very slow. Until an efficient caching mechanism is available to speed up QvtCompletion processing, we need to have the option to turn this feature off. Note that this workaround does not disable on-demand completion (e.g., control + space).