Click or drag to resize

CompletionRules Class



Presentation and behavior rules for completion.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.CompletionCompletionRules

Namespace:  Microsoft.CodeAnalysis.Completion
Assembly:  Microsoft.CodeAnalysis.Features (in Microsoft.CodeAnalysis.Features.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class CompletionRules

The CompletionRules type exposes the following members.

Properties
  NameDescription
Public propertyDefaultCommitCharacters
The default set of typed characters that cause the selected item to be committed. Individual CompletionItems can override this.
Public propertyDefaultEnterKeyRule
The default rule that determines if the enter key is passed through to the editor after the selected item has been committed. Individual CompletionItems can override this.
Public propertyDismissIfEmpty
True if the completion list should be dismissed if the user's typing causes it to filter and display no items.
Public propertyDismissIfLastCharacterDeleted
True if the list should be dismissed when the user deletes the last character in the span.
Public propertySnippetsRule
The rule determing how snippets work.
Top
Methods
Fields
  NameDescription
Public fieldStatic memberDefault
The default CompletionRules if none is otherwise specified.
Top
See Also