Package org.eclipse.jface.text.contentassist
Provides a content assist add-on for an
ITextViewer
.
Content assist supports the user in writing by proposing context
sensitive completions at a given document position. A completion can also
be a incomplete in itself and content assist provides means to deal with
nested completions.
Package Specification
IContentAssistant
defines the concept of the content assist add-on.
It collaborates with content type specific completion processors (IContentAssistProcessor
)
in order to generate completion proposals (ICompletionProposal
)
valid at the current document position. The package provides a default
implementation ContentAssistant
which completely defines and implements
the UI and the control flow for content assist.
-
Interface Summary Interface Description ICompletionListener A completion listener is informed before the content assistant computes completion proposals.ICompletionListenerExtension ExtendsICompletionListener
with an additional notification about restarting the current code assist session.ICompletionListenerExtension2 ExtendsICompletionListener
with an additional notification after applying a proposal.ICompletionProposal The interface of completion proposals generated by content assist processors.ICompletionProposalExtension ExtendsICompletionProposal
with the following functions: handling of trigger characters other than ENTER completion proposal validation for a given offset context information can be freely positionedICompletionProposalExtension2 ExtendsICompletionProposal
with the following functions: handling of trigger characters with modifiers visual indication for selection of a proposalICompletionProposalExtension3 ExtendsICompletionProposal
with the following functions: provision of a custom information control creator provide a custom completion text and offset for prefix completionICompletionProposalExtension4 ExtendsICompletionProposal
with the following functions: specify whether a proposal is automatically insertableICompletionProposalExtension5 ExtendsICompletionProposal
with the following function: Allow background computation of the additional info.ICompletionProposalExtension6 ExtendsICompletionProposal
with the following function: Allow styled ranges in the display string.ICompletionProposalExtension7 Extends the functionality ofICompletionProposal
with the following function: Emphasize ranges in the styled display string of the proposal that match the token at the current caret offset.ICompletionProposalSorter AnICompletionProposalSorter
provides support for sorting proposals of a content assistant.IContentAssistant AnIContentAssistant
provides support on interactive content completion.IContentAssistantExtension ExtendsIContentAssistant
with the following functions: handle documents with multiple partitions insertion of common completion prefixesIContentAssistantExtension2 ExtendsIContentAssistant
with the following functions: completion listeners repeated invocation mode a local status line for the completion popup control over the behavior when no proposals are availableIContentAssistantExtension3 ExtendsIContentAssistant
with the following function: a key-sequence to listen for in repeated invocation modeIContentAssistantExtension4 ExtendsIContentAssistant
with the following function: allows to get a handler for the given command identifierIContentAssistProcessor A content assist processor proposes completions and computes context information for a particular content type.IContentAssistProcessorExtension Extension interface ofIContentAssistProcessor
that allows to get additional information when queried for auto activationIContextInformation The interface of context information presented to the user and generated by content assist processors.IContextInformationExtension ExtendsIContextInformation
with the ability to freely position the context information.IContextInformationPresenter A context information presenter determines the presentation of context information depending on a given document position.IContextInformationValidator A context information validator is used to determine if a displayed context information is still valid or should be dismissed. -
Class Summary Class Description BoldStylerProvider ProvidesStyledString.Styler
that applies bold style on the given font.CompletionProposal The standard implementation of theICompletionProposal
interface.ContentAssistant The standard implementation of theIContentAssistant
interface.ContentAssistEvent Describes the state that the content assistant is in when completing proposals.ContextInformation A default implementation of theIContextInformation
interface.ContextInformationValidator A default implementation of theIContextInfomationValidator
interface.