Skip to content

I20250130-1800

@datho7561 datho7561 tagged this 29 Jan 16:18
This PR allows plugins to replace the implementation of
`CompletionEngine` used in `Openable`.
This covers most completion cases.

In order to accomplish this, this PR introduces the extension point
`completionEngineProvider`,
which allows plugins to specify an implementation of
`ICompletionEngineProvider`.
`ICompletionEngineProvider`
consists of a method with the same parameters to the `CompletionEngine` constructor
that returns an `ICompletionEngine`.
`ICompletionEngine` consists of one method that is identical to
the existing method
`CompletionEngine.complete(ICompilationUnit sourceUnit, int completionPosition, int pos, ITypeRoot root)`.

Signed-off-by: David Thompson <davthomp@redhat.com>
Assets 2
Loading