Share via


ProposalFlags Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ProposalFlags
[<System.Flags>]
type ProposalFlags = 
Public Enum ProposalFlags
Inheritance
ProposalFlags
Attributes

Fields

Name Value Description
None 0
SingleTabToAccept 1

If set, accept the proposal with a single tab even if IntelliSense is up.

QueueProposalRequestOnCommit 2

If set, immediately queue a request for a new proposal if the user commits this proposal.

ShowCommitHighlight 4

Briefly show a highlight over the newly inserted/replaced text when the proposal is accepted.

SimulateBraceCompletion 8

The suggestion session will, if the proposal is accepted, simulate brace completion as if the user had typed the proposal (e.g. accepting "bar(" will result in "bar()" with the caret placed between the two parenthesis and the closing parenthesis being part of a brace completion session).

MoveCaretToEnd 16

Move the caret to the end of the last edit after applying the edit.

DisableInIntelliSense 32

Do not display proposal if IntelliSense is being displayed.

FormatAfterCommit 64

Format modified text after committing.

TriggerIntelliSenseAfterCommit 128

Immediately trigger IntelliSense -- as if the user had done a ctrl-space -- after committing the proposal.

PreserveOnBufferChange 256

Do not automatically dismiss proposals with custom commit actions if there is a buffer change.

Applies to