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.Styler
that applies bold style on the given font.The standard implementation of theICompletionProposal
interface.The standard implementation of theIContentAssistant
interface.Describes the state that the content assistant is in when completing proposals.A default implementation of theIContextInformation
interface.A default implementation of theIContextInfomationValidator
interface.A completion listener is informed before the content assistant computes completion proposals.ExtendsICompletionListener
with an additional notification about restarting the current code assist session.ExtendsICompletionListener
with an additional notification after applying a proposal.The interface of completion proposals generated by content assist processors.ExtendsICompletionProposal
with the following functions: handling of trigger characters other than ENTER completion proposal validation for a given offset context information can be freely positionedExtendsICompletionProposal
with the following functions: handling of trigger characters with modifiers visual indication for selection of a proposalExtendsICompletionProposal
with the following functions: provision of a custom information control creator provide a custom completion text and offset for prefix completionExtendsICompletionProposal
with the following functions: specify whether a proposal is automatically insertableExtendsICompletionProposal
with the following function: Allow background computation of the additional info.ExtendsICompletionProposal
with the following function: Allow styled ranges in the display string.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.AnICompletionProposalSorter
provides support for sorting proposals of a content assistant.AnIContentAssistant
provides support on interactive content completion.ExtendsIContentAssistant
with the following functions: handle documents with multiple partitions insertion of common completion prefixesExtendsIContentAssistant
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 availableExtendsIContentAssistant
with the following function: a key-sequence to listen for in repeated invocation modeExtendsIContentAssistant
with 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 ofIContentAssistProcessor
that allows to get additional information when queried for auto activationThe interface of context information presented to the user and generated by content assist processors.ExtendsIContextInformation
with 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.