Delen via


EditorConstants.EditorCommandID Enum

Definition

IDs of commands in the Editor command set.

public: enum class EditorConstants::EditorCommandID
public enum EditorConstants.EditorCommandID
[System.Runtime.InteropServices.Guid("160961B3-909D-4B28-9353-A1BEF587B4A6")]
public enum EditorConstants.EditorCommandID
type EditorConstants.EditorCommandID = 
[<System.Runtime.InteropServices.Guid("160961B3-909D-4B28-9353-A1BEF587B4A6")>]
type EditorConstants.EditorCommandID = 
Public Enum EditorConstants.EditorCommandID
Inheritance
EditorConstants.EditorCommandID
Attributes

Fields

Name Value Description
DuplicateSelection 1

The command used to duplicate the current selection without touching the clipboard.

Menu_MultiSelection 2
Group_MultiSelection 3
InsertNextMatchingCaret 4
InsertCaretsAtAllMatching 5
RotatePrimaryCaretDown 6
RotatePrimaryCaretUp 7
ShowNavigateMenu 8
NavigateToNextIssue 19

Moves the caret to the next error or highlighted region.

NavigateToPreviousIssue 20

Moves the caret to the next error or highlighted region.

GoToContainingDeclaration 21
SelectContainingDeclaration 22
RemoveLastSecondaryCaret 24

Treats the primary caret as the first in a wrap-around search through the view, and removes the last one. This will either be the caret immediately before the primary one if the primary is not the first in the document, or it will be the secondary caret in the document if the primary is first.

MoveLastCaretDown 25

This combines the behaviors of insert next matching caret, and remove last secondary caret. The last secondary caret is defined as in in RemoveLastSecondaryCaret. It is then moved so it will be where InsertNextMatchingCaret would insert a new caret.

GoToLastEditLocation 32

Navigates to the last edit location in a solution.

ShowClipboardHistory 33

Shows clipboard history

ToggleLineComments 48

Toggle line comments

ToggleBlockComments 49

Toggle block comments

NewlineFormattingMenu 50

Contains commands that perform formatting newlines (corresponds to IDM_CTX_NEWLINE_FORMATTING).

NormalizeNewlineGroup 51

Contains commands that perform formatting on newlines (corresponds to IDG_CTX_NORMALIZE_NEWLINES)

SetNewlinesToCRLF 52

Convert all newlines in a document to CRLF.

SetNewlinesToLF 53

Convert all newlines in a document to LF.

SetNewlinesToCR 54

Convert all newlines in a document to CR.

GoToBase 55

Navigates to the base definition.

SetLeadingWhitespaceToSpaces 56

Convert all leading whitespace to spaces.

SetLeadingWhitespaceToTabs 57

Convert all leading whitespace to tabs.

ToggleSpellChecker 59

Toggle text spell checker on/off.

WhitespaceFormattingMenu 64

Contains commands that perform formatting leading whitespace (corresponds to IDM_CTX_WHITESPACE_FORMATTING)

WhitespaceFormattingGroup 65

Contains commands that perform formatting leading whitespace (corresponds to IDG_CTX_NORMALIZE_NEWLINES)

ExpandSelectionToEntireLine 66

Expand selection to entire line(s) Move the AnchorPoint to the start of the Selection, move the Caret, InsertionPoint and ActivePoint to the end of the Selection.

SortLines 80

Sort Lines

JoinLines 81

Join Lines

MoveToNextSubWord 82

Move SubWord Next

MoveToPreviousSubWord 83

Move SubWord Previous

MoveToNextSubWordExtend 84

Move SubWord Next

MoveToPreviousSubWordExtend 85

Move SubWord Previous

SubwordTranspose 86

Transpose Subword

SubwordDeleteToEnd 87

Subword Delete To End

SubwordDeleteToStart 88

Subword Delete To Start

SubwordExpandSelection 89

Subword Expand Selection

SubwordContractSelection 90

Subword Contract Selection

SelectCurrentSubword 91

Select Current Subword

PeekDifference 92

Peek Difference

PreviousSuggestion 93

Previous suggestion

NextSuggestion 94

Next suggestion

ToggleStickyScroll 97

Toggle Sticky Scroll

ConfigureCodeCleanup 256

One click code cleanup - configuration, Editor command

CodeCleanUpDefault 257

One click code cleanup - default profile, Editor command

CodeCleanUpCustom 258

One click code cleanup - custom profile, Editor command

SolutionExplorerCodeCleanUpDefault 289

One click code cleanup - default profile, Solution explorer command

SolutionExplorerCodeCleanUpCustom 290

Initial ID for the dynamic Code Cleanup commands in the Editor

WholeSolutionConfigureCodeCleanup 320

One click code cleanup - configuration clean up for the whole solution

WholeSolutionCodeCleanUpDefault 321

One click code cleanup - default profile, Solution explorer command

WholeSolutionCodeCleanUpCustom 322

Initial ID for the dynamic Code Cleanup commands in the Editor

Applies to