Package org.eclipse.jface.text.contentassist
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.
-
ClassDescriptionProvides
StyledString.Stylerthat applies bold style on the given font.The standard implementation of theICompletionProposalinterface.The standard implementation of theIContentAssistantinterface.Describes the state that the content assistant is in when completing proposals.A default implementation of theIContextInformationinterface.A default implementation of theIContextInfomationValidatorinterface.A completion listener is informed before the content assistant computes completion proposals.ExtendsICompletionListenerwith an additional notification about restarting the current code assist session.ExtendsICompletionListenerwith an additional notification after applying a proposal.The interface of completion proposals generated by content assist processors.ExtendsICompletionProposalwith the following functions: handling of trigger characters other than ENTER completion proposal validation for a given offset context information can be freely positionedExtendsICompletionProposalwith the following functions: handling of trigger characters with modifiers visual indication for selection of a proposalExtendsICompletionProposalwith the following functions: provision of a custom information control creator provide a custom completion text and offset for prefix completionExtendsICompletionProposalwith the following functions: specify whether a proposal is automatically insertableExtendsICompletionProposalwith the following function: Allow background computation of the additional info.ExtendsICompletionProposalwith the following function: Allow styled ranges in the display string.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.AnICompletionProposalSorterprovides support for sorting proposals of a content assistant.AnIContentAssistantprovides support on interactive content completion.ExtendsIContentAssistantwith the following functions: handle documents with multiple partitions insertion of common completion prefixesExtendsIContentAssistantwith the following functions: completion listeners repeated invocation mode a local status line for the completion popup control over the behavior when no proposals are availableExtendsIContentAssistantwith the following function: a key-sequence to listen for in repeated invocation modeExtendsIContentAssistantwith the following function: allows to get a handler for the given command identifierA content assist processor proposes completions and computes context information for a particular content type.Extension interface ofIContentAssistProcessorthat allows to get additional information when queried for auto activationThe interface of context information presented to the user and generated by content assist processors.ExtendsIContextInformationwith the ability to freely position the context information.A context information presenter determines the presentation of context information depending on a given document position.A context information validator is used to determine if a displayed context information is still valid or should be dismissed.