View on GitHub

Aesi adapter for IntelliJ

An Aesi adapter for IntelliJ.

Download this project as a .zip file Download this project as a tar.gz file

aesi-eclipse / com.virtlink.aesi.codecompletion / ICodeCompleter

ICodeCompleter

interface ICodeCompleter

A code completer.

Functions

complete abstract fun complete(document: IAesiDocument, caretOffset: Int, cancellationToken: ICancellationToken?): MutableList<ICompletionProposal>
Returns completion proposals for the current caret position in the text in a document. The completion proposals must be returned in the order they must be displayed to the user. This function should filter the returned proposals by the prefix that the user has typed. The cancellation token is used to abort a long-running operation when the result is no longer needed. Implementations should listen to the cancellation event and abort, for example by throwing an exception or returning a dummy result. It is allowed to ignore the cancellation event, but this may negatively impact performance.

Inheritors

DummyCodeCompleter open class DummyCodeCompleter : ICodeCompleter