Click or drag to resize

EnterKeyRule Class



Determines whether the enter key is passed through to the editor after it has been used to commit a completion item.
Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysis.CompletionEnterKeyRule

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 EnterKeyRule : Enum

The EnterKeyRule type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberAfterFullyTypedWord
The enter is key only passed through to the editor if the completion item has been fully typed out.
Public fieldStatic memberAlways
The enter key is always passed through to the editor after it has been used to commit the completion item.
Public fieldStatic memberDefault
Public fieldStatic memberNever
The enter key is never passed through to the editor after it has been used to commit the completion item.
Public fieldvalue__
Top
See Also