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 ExtendsICompletionListenerwith an additional notification about restarting the current code assist session.ICompletionListenerExtension2 ExtendsICompletionListenerwith an additional notification after applying a proposal.ICompletionProposal The interface of completion proposals generated by content assist processors.ICompletionProposalExtension ExtendsICompletionProposalwith the following functions: handling of trigger characters other than ENTER completion proposal validation for a given offset context information can be freely positionedICompletionProposalExtension2 ExtendsICompletionProposalwith the following functions: handling of trigger characters with modifiers visual indication for selection of a proposalICompletionProposalExtension3 ExtendsICompletionProposalwith the following functions: provision of a custom information control creator provide a custom completion text and offset for prefix completionICompletionProposalExtension4 ExtendsICompletionProposalwith the following functions: specify whether a proposal is automatically insertableICompletionProposalExtension5 ExtendsICompletionProposalwith the following function: Allow background computation of the additional info.ICompletionProposalExtension6 ExtendsICompletionProposalwith the following function: Allow styled ranges in the display string.ICompletionProposalExtension7 Extends the functionality ofICompletionProposalwith the following function: Emphasize ranges in the styled display string of the proposal that match the token at the current caret offset.ICompletionProposalSorter AnICompletionProposalSorterprovides support for sorting proposals of a content assistant.IContentAssistant AnIContentAssistantprovides support on interactive content completion.IContentAssistantExtension ExtendsIContentAssistantwith the following functions: handle documents with multiple partitions insertion of common completion prefixesIContentAssistantExtension2 ExtendsIContentAssistantwith 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 ExtendsIContentAssistantwith the following function: a key-sequence to listen for in repeated invocation modeIContentAssistantExtension4 ExtendsIContentAssistantwith 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.IContextInformation The interface of context information presented to the user and generated by content assist processors.IContextInformationExtension ExtendsIContextInformationwith 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 Deprecated. useBoldStylerProviderdirectlyCompletionProposal The standard implementation of theICompletionProposalinterface.ContentAssistant The standard implementation of theIContentAssistantinterface.ContentAssistEvent Describes the state that the content assistant is in when completing proposals.ContextInformation A default implementation of theIContextInformationinterface.ContextInformationValidator A default implementation of theIContextInfomationValidatorinterface.