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

CodeCleanUpCustom 258

One click code cleanup - custom profile, Editor command

CodeCleanUpDefault 257

One click code cleanup - default profile, Editor command

ConfigureCodeCleanup 256

One click code cleanup - configuration, Editor command

DuplicateSelection 1

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

GoToBase 55

Navigates to the base definition.

GoToContainingDeclaration 21
GoToLastEditLocation 32

Navigates to the last edit location in a solution.

Group_MultiSelection 3
InsertCaretsAtAllMatching 5
InsertNextMatchingCaret 4
JoinLines 81

Join Lines

Menu_MultiSelection 2
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.

MoveToNextSubWord 82

Move SubWord Next

MoveToNextSubWordExtend 84

Move SubWord Next

MoveToPreviousSubWord 83

Move SubWord Previous

MoveToPreviousSubWordExtend 85

Move SubWord Previous

NavigateToNextIssue 19

Moves the caret to the next error or highlighted region.

NavigateToPreviousIssue 20

Moves the caret to the next error or highlighted region.

NewlineFormattingMenu 50

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

NextSuggestion 94

Next suggestion

NormalizeNewlineGroup 51

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

PeekDifference 92

Peek Difference

PreviousSuggestion 93

Previous suggestion

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.

RotatePrimaryCaretDown 6
RotatePrimaryCaretUp 7
SelectContainingDeclaration 22
SelectCurrentSubword 91

Select Current Subword

SetLeadingWhitespaceToSpaces 56

Convert all leading whitespace to spaces.

SetLeadingWhitespaceToTabs 57

Convert all leading whitespace to tabs.

SetNewlinesToCR 54

Convert all newlines in a document to CR.

SetNewlinesToCRLF 52

Convert all newlines in a document to CRLF.

SetNewlinesToLF 53

Convert all newlines in a document to LF.

ShowClipboardHistory 33

Shows clipboard history

ShowNavigateMenu 8
SolutionExplorerCodeCleanUpCustom 290

Initial ID for the dynamic Code Cleanup commands in the Editor

SolutionExplorerCodeCleanUpDefault 289

One click code cleanup - default profile, Solution explorer command

SortLines 80

Sort Lines

SubwordContractSelection 90

Subword Contract Selection

SubwordDeleteToEnd 87

Subword Delete To End

SubwordDeleteToStart 88

Subword Delete To Start

SubwordExpandSelection 89

Subword Expand Selection

SubwordTranspose 86

Transpose Subword

ToggleBlockComments 49

Toggle block comments

ToggleLineComments 48

Toggle line comments

WhitespaceFormattingGroup 65

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

WhitespaceFormattingMenu 64

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

WholeSolutionCodeCleanUpCustom 322

Initial ID for the dynamic Code Cleanup commands in the Editor

WholeSolutionCodeCleanUpDefault 321

One click code cleanup - default profile, Solution explorer command

WholeSolutionConfigureCodeCleanup 320

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

Applies to