Implements an abstract base class for a completion provider.
- Inheritance:
- object object
- Derived:
-
Dot
Net JavaCompletion Provider Base Script PythonCompletion Provider Completion XmlProvider Completion Provider
- Implements:
-
ICompletion
Provider IOrderable IKeyedObject
Remarks
Instances of this object can be registered with an ISyntax
Constructors
CompletionProviderBase()
Initializes a new instance of the CompletionProviderBase
class.
CompletionProviderBase(string)
Initializes a new instance of the CompletionProviderBase
class.
Parameter | Type | Description |
---|---|---|
key | string | The string-based key that identifies the provider. |
CompletionProviderBase(string, params Ordering[])
Initializes a new instance of the CompletionProviderBase
class.
Parameter | Type | Description |
---|---|---|
key | string | The string-based key that identifies the provider. |
orderings | Ordering[] | The array of Ordering objects, used to determine how this object is positioned relative to other objects. |
Properties
Key
Gets the string-based key that identifies the provider.
Property Value
- string:
The string-based key that identifies the provider.
Orderings
Gets the collection of Ordering objects, used to determine how this object is positioned relative to other objects.
Property Value
- IEnumerable<Ordering>:
The collection of Ordering objects, used to determine how this object is positioned relative to other objects.
Methods
RequestSession(IEditorView, bool)
Requests that an ICompletion
Parameter | Type | Description |
---|---|---|
view | IEditor |
The IEditor |
canCommitWithoutPopup | bool | Whether the session can immediately commit if a single match is made when the session is opened, commonly known as "complete word" functionality. |
Returns
- bool:
true
if a session was opened; otherwise,false
.