list_alternates


Description:

public abstract GenericArray<CompletionProposal>? list_alternates (CompletionContext context, CompletionProposal proposal)

Providers should return a list of alternates to proposal or null if there are no alternates available.

This can be used by the completion view to allow the user to move laterally through similar proposals, such as overrides of methods by the same name.

Parameters:

this

a CompletionProvider

context

a CompletionContext

proposal

a CompletionProposal

Returns:

a GenericArray of CompletionProposal or null.




2022 vala-language.org