1
>
/*---------------------------------------------------------------------------------------------
standaloneEnums.ts
2
>
* Copyright (c) Microsoft Corporation. All rights reserved.
3
>
* Licensed under the MIT License. See License.txt in the project root for license information.
4
>
*--------------------------------------------------------------------------------------------*/
5
>
6
>
// THIS IS A GENERATED FILE. DO NOT EDIT DIRECTLY.
7
>
8
>
9
>
export enum AccessibilitySupport {
10
>
/**
11
>
* This should be the browser case where it is not known if a screen reader is attached or no.
12
>
*/
13
>
Unknown = 0,
14
>
Disabled = 1,
15
>
Enabled = 2
16
>
}
17
>
18
>
export enum CodeActionTriggerType {
19
>
Invoke = 1,
20
>
Auto = 2
21
>
}
22
>
23
>
export enum CompletionItemInsertTextRule {
24
>
None = 0,
25
>
/**
26
>
* Adjust whitespace/indentation of multiline insert texts to
27
>
* match the current line indentation.
28
>
*/
29
>
KeepWhitespace = 1,
30
>
/**
31
>
* `insertText` is a snippet.
32
>
*/
33
>
InsertAsSnippet = 4
34
>
}
35
>
36
>
export enum CompletionItemKind {
37
>
Method = 0,
38
>
Function = 1,
39
>
Constructor = 2,
40
>
Field = 3,
41
>
Variable = 4,
42
>
Class = 5,
43
>
Struct = 6,
44
>
Interface = 7,
45
>
Module = 8,
46
>
Property = 9,
47
>
Event = 10,
48
>
Operator = 11,
49
>
Unit = 12,
50
>
Value = 13,
51
>
Constant = 14,
52
>
Enum = 15,
53
>
EnumMember = 16,
54
>
Keyword = 17,
55
>
Text = 18,
56
>
Color = 19,
57
>
File = 20,
58
>
Reference = 21,
59
>
Customcolor = 22,
60
>
Folder = 23,
61
>
TypeParameter = 24,
62
>
User = 25,
63
>
Issue = 26,
64
>
Tool = 27,
65
>
Snippet = 28
66
>
}
67
>
68
>
export enum CompletionItemTag {
69
>
Deprecated = 1
70
>
}
71
>
72
>
/**
73
>
* How a suggest provider was triggered.
74
>
*/
75
>
export enum CompletionTriggerKind {
76
>
Invoke = 0,
77
>
TriggerCharacter = 1,
78
>
TriggerForIncompleteCompletions = 2
79
>
}
80
>
81
>
/**
82
>
* A positioning preference for rendering content widgets.
83
>
*/
84
>
export enum ContentWidgetPositionPreference {
85
>
/**
86
>
* Place the content widget exactly at a position
87
>
*/
88
>
EXACT = 0,
89
>
/**
90
>
* Place the content widget above a position
91
>
*/
92
>
ABOVE = 1,
93
>
/**
94
>
* Place the content widget below a position
95
>
*/
96
>
BELOW = 2
97
>
}
98
>
99
>
/**
100
>
* Describes the reason the cursor has changed its position.
101
>
*/
102
>
export enum CursorChangeReason {
103
>
/**
104
>
* Unknown or not set.
105
>
*/
106
>
NotSet = 0,
107
>
/**
108
>
* A `model.setValue()` was called.
109
>
*/
110
>
ContentFlush = 1,
111
>
/**
112
>
* The `model` has been changed outside of this cursor and the cursor recovers its position from associated markers.
113
>
*/
114
>
RecoverFromMarkers = 2,
115
>
/**
116
>
* There was an explicit user gesture.
117
>
*/
118
>
Explicit = 3,
119
>
/**
120
>
* There was a Paste.
121
>
*/
122
>
Paste = 4,
123
>
/**
124
>
* There was an Undo.
125
>
*/
126
>
Undo = 5,
127
>
/**
128
>
* There was a Redo.
129
>
*/
130
>
Redo = 6
131
>
}
132
>
133
>
/**
134
>
* The default end of line to use when instantiating models.
135
>
*/
136
>
export enum DefaultEndOfLine {
137
>
/**
138
>
* Use line feed (\n) as the end of line character.
139
>
*/
140
>
LF = 1,
141
>
/**
142
>
* Use carriage return and line feed (\r\n) as the end of line character.
143
>
*/
144
>
CRLF = 2
145
>
}
146
>
147
>
/**
148
>
* A document highlight kind.
149
>
*/
150
>
export enum DocumentHighlightKind {
151
>
/**
152
>
* A textual occurrence.
153
>
*/
154
>
Text = 0,
155
>
/**
156
>
* Read-access of a symbol, like reading a variable.
157
>
*/
158
>
Read = 1,
159
>
/**
160
>
* Write-access of a symbol, like writing to a variable.
161
>
*/
162
>
Write = 2
163
>
}
164
>
165
>
/**
166
>
* Configuration options for auto indentation in the editor
167
>
*/
168
>
export enum EditorAutoIndentStrategy {
169
>
None = 0,
170
>
Keep = 1,
171
>
Brackets = 2,
172
>
Advanced = 3,
173
>
Full = 4
174
>
}
175
>
176
>
export enum EditorOption {
177
>
acceptSuggestionOnCommitCharacter = 0,
178
>
acceptSuggestionOnEnter = 1,
179
>
accessibilitySupport = 2,
180
>
accessibilityPageSize = 3,
181
>
allowOverflow = 4,
182
>
allowVariableLineHeights = 5,
183
>
allowVariableFonts = 6,
184
>
allowVariableFontsInAccessibilityMode = 7,
185
>
ariaLabel = 8,
186
>
ariaRequired = 9,
187
>
autoClosingBrackets = 10,
188
>
autoClosingComments = 11,
189
>
screenReaderAnnounceInlineSuggestion = 12,
190
>
autoClosingDelete = 13,
191
>
autoClosingOvertype = 14,
192
>
autoClosingQuotes = 15,
193
>
autoIndent = 16,
194
>
autoIndentOnPaste = 17,
195
>
autoIndentOnPasteWithinString = 18,
196
>
automaticLayout = 19,
197
>
autoSurround = 20,
198
>
bracketPairColorization = 21,
199
>
guides = 22,
200
>
codeLens = 23,
201
>
codeLensFontFamily = 24,
202
>
codeLensFontSize = 25,
203
>
colorDecorators = 26,
204
>
colorDecoratorsLimit = 27,
205
>
columnSelection = 28,
206
>
comments = 29,
207
>
contextmenu = 30,
208
>
copyWithSyntaxHighlighting = 31,
209
>
cursorBlinking = 32,
210
>
cursorSmoothCaretAnimation = 33,
211
>
cursorStyle = 34,
212
>
cursorSurroundingLines = 35,
213
>
cursorSurroundingLinesStyle = 36,
214
>
cursorWidth = 37,
215
>
cursorHeight = 38,
216
>
disableLayerHinting = 39,
217
>
disableMonospaceOptimizations = 40,
218
>
domReadOnly = 41,
219
>
dragAndDrop = 42,
220
>
dropIntoEditor = 43,
221
>
editContext = 44,
222
>
emptySelectionClipboard = 45,
223
>
experimentalGpuAcceleration = 46,
224
>
experimentalWhitespaceRendering = 47,
225
>
extraEditorClassName = 48,
226
>
fastScrollSensitivity = 49,
227
>
find = 50,
228
>
fixedOverflowWidgets = 51,
229
>
folding = 52,
230
>
foldingStrategy = 53,
231
>
foldingHighlight = 54,
232
>
foldingImportsByDefault = 55,
233
>
foldingMaximumRegions = 56,
234
>
unfoldOnClickAfterEndOfLine = 57,
235
>
fontFamily = 58,
236
>
fontInfo = 59,
237
>
fontLigatures = 60,
238
>
fontSize = 61,
239
>
fontWeight = 62,
240
>
fontVariations = 63,
241
>
formatOnPaste = 64,
242
>
formatOnType = 65,
243
>
glyphMargin = 66,
244
>
gotoLocation = 67,
245
>
hideCursorInOverviewRuler = 68,
246
>
hover = 69,
247
>
inDiffEditor = 70,
248
>
inlineSuggest = 71,
249
>
letterSpacing = 72,
250
>
lightbulb = 73,
251
>
lineDecorationsWidth = 74,
252
>
lineHeight = 75,
253
>
lineNumbers = 76,
254
>
lineNumbersMinChars = 77,
255
>
linkedEditing = 78,
256
>
links = 79,
257
>
matchBrackets = 80,
258
>
minimap = 81,
259
>
mouseStyle = 82,
260
>
mouseWheelScrollSensitivity = 83,
261
>
mouseWheelZoom = 84,
262
>
multiCursorMergeOverlapping = 85,
263
>
multiCursorModifier = 86,
264
>
mouseMiddleClickAction = 87,
265
>
multiCursorPaste = 88,
266
>
multiCursorLimit = 89,
267
>
occurrencesHighlight = 90,
268
>
occurrencesHighlightDelay = 91,
269
>
overtypeCursorStyle = 92,
270
>
overtypeOnPaste = 93,
271
>
overviewRulerBorder = 94,
272
>
overviewRulerLanes = 95,
273
>
padding = 96,
274
>
pasteAs = 97,
275
>
parameterHints = 98,
276
>
peekWidgetDefaultFocus = 99,
277
>
placeholder = 100,
278
>
definitionLinkOpensInPeek = 101,
279
>
quickSuggestions = 102,
280
>
quickSuggestionsDelay = 103,
281
>
readOnly = 104,
282
>
readOnlyMessage = 105,
283
>
renameOnType = 106,
284
>
renderRichScreenReaderContent = 107,
285
>
renderControlCharacters = 108,
286
>
renderFinalNewline = 109,
287
>
renderLineHighlight = 110,
288
>
renderLineHighlightOnlyWhenFocus = 111,
289
>
renderValidationDecorations = 112,
290
>
renderWhitespace = 113,
291
>
revealHorizontalRightPadding = 114,
292
>
roundedSelection = 115,
293
>
rulers = 116,
294
>
scrollbar = 117,
295
>
scrollBeyondLastColumn = 118,
296
>
scrollBeyondLastLine = 119,
297
>
scrollPredominantAxis = 120,
298
>
selectionClipboard = 121,
299
>
selectionHighlight = 122,
300
>
selectionHighlightMaxLength = 123,
301
>
selectionHighlightMultiline = 124,
302
>
selectOnLineNumbers = 125,
303
>
showFoldingControls = 126,
304
>
showUnused = 127,
305
>
snippetSuggestions = 128,
306
>
smartSelect = 129,
307
>
smoothScrolling = 130,
308
>
stickyScroll = 131,
309
>
stickyTabStops = 132,
310
>
stopRenderingLineAfter = 133,
311
>
suggest = 134,
312
>
suggestFontSize = 135,
313
>
suggestLineHeight = 136,
314
>
suggestOnTriggerCharacters = 137,
315
>
suggestSelection = 138,
316
>
tabCompletion = 139,
317
>
tabIndex = 140,
318
>
trimWhitespaceOnDelete = 141,
319
>
unicodeHighlighting = 142,
320
>
unusualLineTerminators = 143,
321
>
useShadowDOM = 144,
322
>
useTabStops = 145,
323
>
wordBreak = 146,
324
>
wordSegmenterLocales = 147,
325
>
wordSeparators = 148,
326
>
wordWrap = 149,
327
>
wordWrapBreakAfterCharacters = 150,
328
>
wordWrapBreakBeforeCharacters = 151,
329
>
wordWrapColumn = 152,
330
>
wordWrapOverride1 = 153,
331
>
wordWrapOverride2 = 154,
332
>
wrappingIndent = 155,
333
>
wrappingStrategy = 156,
334
>
showDeprecated = 157,
335
>
inertialScroll = 158,
336
>
inlayHints = 159,
337
>
wrapOnEscapedLineFeeds = 160,
338
>
effectiveCursorStyle = 161,
339
>
editorClassName = 162,
340
>
pixelRatio = 163,
341
>
tabFocusMode = 164,
342
>
layoutInfo = 165,
343
>
wrappingInfo = 166,
344
>
defaultColorDecorators = 167,
345
>
colorDecoratorsActivatedOn = 168,
346
>
inlineCompletionsAccessibilityVerbose = 169,
347
>
effectiveEditContext = 170,
348
>
scrollOnMiddleClick = 171,
349
>
effectiveAllowVariableFonts = 172,
350
>
doubleClickSelectsBlock = 173
351
>
}
352
>
353
>
/**
354
>
* End of line character preference.
355
>
*/
356
>
export enum EndOfLinePreference {
357
>
/**
358
>
* Use the end of line character identified in the text buffer.
359
>
*/
360
>
TextDefined = 0,
361
>
/**
362
>
* Use line feed (\n) as the end of line character.
363
>
*/
364
>
LF = 1,
365
>
/**
366
>
* Use carriage return and line feed (\r\n) as the end of line character.
367
>
*/
368
>
CRLF = 2
369
>
}
370
>
371
>
/**
372
>
* End of line character preference.
373
>
*/
374
>
export enum EndOfLineSequence {
375
>
/**
376
>
* Use line feed (\n) as the end of line character.
377
>
*/
378
>
LF = 0,
379
>
/**
380
>
* Use carriage return and line feed (\r\n) as the end of line character.
381
>
*/
382
>
CRLF = 1
383
>
}
384
>
385
>
/**
386
>
* Vertical Lane in the glyph margin of the editor.
387
>
*/
388
>
export enum GlyphMarginLane {
389
>
Left = 1,
390
>
Center = 2,
391
>
Right = 3
392
>
}
393
>
394
>
export enum HoverVerbosityAction {
395
>
/**
396
>
* Increase the verbosity of the hover
397
>
*/
398
>
Increase = 0,
399
>
/**
400
>
* Decrease the verbosity of the hover
401
>
*/
402
>
Decrease = 1
403
>
}
404
>
405
>
/**
406
>
* Describes what to do with the indentation when pressing Enter.
407
>
*/
408
>
export enum IndentAction {
409
>
/**
410
>
* Insert new line and copy the previous line's indentation.
411
>
*/
412
>
None = 0,
413
>
/**
414
>
* Insert new line and indent once (relative to the previous line's indentation).
415
>
*/
416
>
Indent = 1,
417
>
/**
418
>
* Insert two new lines:
419
>
* - the first one indented which will hold the cursor
420
>
* - the second one at the same indentation level
421
>
*/
422
>
IndentOutdent = 2,
423
>
/**
424
>
* Insert new line and outdent once (relative to the previous line's indentation).
425
>
*/
426
>
Outdent = 3
427
>
}
428
>
429
>
export enum InjectedTextCursorStops {
430
>
Both = 0,
431
>
Right = 1,
432
>
Left = 2,
433
>
None = 3
434
>
}
435
>
436
>
export enum InlayHintKind {
437
>
Type = 1,
438
>
Parameter = 2
439
>
}
440
>
441
>
export enum InlineCompletionEndOfLifeReasonKind {
442
>
Accepted = 0,
443
>
Rejected = 1,
444
>
Ignored = 2
445
>
}
446
>
447
>
export enum InlineCompletionHintStyle {
448
>
Code = 1,
449
>
Label = 2
450
>
}
451
>
452
>
/**
453
>
* How an {@link InlineCompletionsProvider inline completion provider} was triggered.
454
>
*/
455
>
export enum InlineCompletionTriggerKind {
456
>
/**
457
>
* Completion was triggered automatically while editing.
458
>
* It is sufficient to return a single completion item in this case.
459
>
*/
460
>
Automatic = 0,
461
>
/**
462
>
* Completion was triggered explicitly by a user gesture.
463
>
* Return multiple completion items to enable cycling through them.
464
>
*/
465
>
Explicit = 1
466
>
}
467
>
/**
468
>
* Virtual Key Codes, the value does not hold any inherent meaning.
469
>
* Inspired somewhat from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
470
>
* But these are "more general", as they should work across browsers & OS`s.
471
>
*/
472
>
export enum KeyCode {
473
>
DependsOnKbLayout = -1,
474
>
/**
475
>
* Placed first to cover the 0 value of the enum.
476
>
*/
477
>
Unknown = 0,
478
>
Backspace = 1,
479
>
Tab = 2,
480
>
Enter = 3,
481
>
Shift = 4,
482
>
Ctrl = 5,
483
>
Alt = 6,
484
>
PauseBreak = 7,
485
>
CapsLock = 8,
486
>
Escape = 9,
487
>
Space = 10,
488
>
PageUp = 11,
489
>
PageDown = 12,
490
>
End = 13,
491
>
Home = 14,
492
>
LeftArrow = 15,
493
>
UpArrow = 16,
494
>
RightArrow = 17,
495
>
DownArrow = 18,
496
>
Insert = 19,
497
>
Delete = 20,
498
>
Digit0 = 21,
499
>
Digit1 = 22,
500
>
Digit2 = 23,
501
>
Digit3 = 24,
502
>
Digit4 = 25,
503
>
Digit5 = 26,
504
>
Digit6 = 27,
505
>
Digit7 = 28,
506
>
Digit8 = 29,
507
>
Digit9 = 30,
508
>
KeyA = 31,
509
>
KeyB = 32,
510
>
KeyC = 33,
511
>
KeyD = 34,
512
>
KeyE = 35,
513
>
KeyF = 36,
514
>
KeyG = 37,
515
>
KeyH = 38,
516
>
KeyI = 39,
517
>
KeyJ = 40,
518
>
KeyK = 41,
519
>
KeyL = 42,
520
>
KeyM = 43,
521
>
KeyN = 44,
522
>
KeyO = 45,
523
>
KeyP = 46,
524
>
KeyQ = 47,
525
>
KeyR = 48,
526
>
KeyS = 49,
527
>
KeyT = 50,
528
>
KeyU = 51,
529
>
KeyV = 52,
530
>
KeyW = 53,
531
>
KeyX = 54,
532
>
KeyY = 55,
533
>
KeyZ = 56,
534
>
Meta = 57,
535
>
ContextMenu = 58,
536
>
F1 = 59,
537
>
F2 = 60,
538
>
F3 = 61,
539
>
F4 = 62,
540
>
F5 = 63,
541
>
F6 = 64,
542
>
F7 = 65,
543
>
F8 = 66,
544
>
F9 = 67,
545
>
F10 = 68,
546
>
F11 = 69,
547
>
F12 = 70,
548
>
F13 = 71,
549
>
F14 = 72,
550
>
F15 = 73,
551
>
F16 = 74,
552
>
F17 = 75,
553
>
F18 = 76,
554
>
F19 = 77,
555
>
F20 = 78,
556
>
F21 = 79,
557
>
F22 = 80,
558
>
F23 = 81,
559
>
F24 = 82,
560
>
NumLock = 83,
561
>
ScrollLock = 84,
562
>
/**
563
>
* Used for miscellaneous characters; it can vary by keyboard.
564
>
* For the US standard keyboard, the ';:' key
565
>
*/
566
>
Semicolon = 85,
567
>
/**
568
>
* For any country/region, the '+' key
569
>
* For the US standard keyboard, the '=+' key
570
>
*/
571
>
Equal = 86,
572
>
/**
573
>
* For any country/region, the ',' key
574
>
* For the US standard keyboard, the ',<' key
575
>
*/
576
>
Comma = 87,
577
>
/**
578
>
* For any country/region, the '-' key
579
>
* For the US standard keyboard, the '-_' key
580
>
*/
581
>
Minus = 88,
582
>
/**
583
>
* For any country/region, the '.' key
584
>
* For the US standard keyboard, the '.>' key
585
>
*/
586
>
Period = 89,
587
>
/**
588
>
* Used for miscellaneous characters; it can vary by keyboard.
589
>
* For the US standard keyboard, the '/?' key
590
>
*/
591
>
Slash = 90,
592
>
/**
593
>
* Used for miscellaneous characters; it can vary by keyboard.
594
>
* For the US standard keyboard, the '`~' key
595
>
*/
596
>
Backquote = 91,
597
>
/**
598
>
* Used for miscellaneous characters; it can vary by keyboard.
599
>
* For the US standard keyboard, the '[{' key
600
>
*/
601
>
BracketLeft = 92,
602
>
/**
603
>
* Used for miscellaneous characters; it can vary by keyboard.
604
>
* For the US standard keyboard, the '\|' key
605
>
*/
606
>
Backslash = 93,
607
>
/**
608
>
* Used for miscellaneous characters; it can vary by keyboard.
609
>
* For the US standard keyboard, the ']}' key
610
>
*/
611
>
BracketRight = 94,
612
>
/**
613
>
* Used for miscellaneous characters; it can vary by keyboard.
614
>
* For the US standard keyboard, the ''"' key
615
>
*/
616
>
Quote = 95,
617
>
/**
618
>
* Used for miscellaneous characters; it can vary by keyboard.
619
>
*/
620
>
OEM_8 = 96,
621
>
/**
622
>
* Either the angle bracket key or the backslash key on the RT 102-key keyboard.
623
>
*/
624
>
IntlBackslash = 97,
625
>
Numpad0 = 98,// VK_NUMPAD0, 0x60, Numeric keypad 0 key
626
>
Numpad1 = 99,// VK_NUMPAD1, 0x61, Numeric keypad 1 key
627
>
Numpad2 = 100,// VK_NUMPAD2, 0x62, Numeric keypad 2 key
628
>
Numpad3 = 101,// VK_NUMPAD3, 0x63, Numeric keypad 3 key
629
>
Numpad4 = 102,// VK_NUMPAD4, 0x64, Numeric keypad 4 key
630
>
Numpad5 = 103,// VK_NUMPAD5, 0x65, Numeric keypad 5 key
631
>
Numpad6 = 104,// VK_NUMPAD6, 0x66, Numeric keypad 6 key
632
>
Numpad7 = 105,// VK_NUMPAD7, 0x67, Numeric keypad 7 key
633
>
Numpad8 = 106,// VK_NUMPAD8, 0x68, Numeric keypad 8 key
634
>
Numpad9 = 107,// VK_NUMPAD9, 0x69, Numeric keypad 9 key
635
>
NumpadMultiply = 108,// VK_MULTIPLY, 0x6A, Multiply key
636
>
NumpadAdd = 109,// VK_ADD, 0x6B, Add key
637
>
NUMPAD_SEPARATOR = 110,// VK_SEPARATOR, 0x6C, Separator key
638
>
NumpadSubtract = 111,// VK_SUBTRACT, 0x6D, Subtract key
639
>
NumpadDecimal = 112,// VK_DECIMAL, 0x6E, Decimal key
640
>
NumpadDivide = 113,// VK_DIVIDE, 0x6F,
641
>
/**
642
>
* Cover all key codes when IME is processing input.
643
>
*/
644
>
KEY_IN_COMPOSITION = 114,
645
>
ABNT_C1 = 115,// Brazilian (ABNT) Keyboard
646
>
ABNT_C2 = 116,// Brazilian (ABNT) Keyboard
647
>
AudioVolumeMute = 117,
648
>
AudioVolumeUp = 118,
649
>
AudioVolumeDown = 119,
650
>
BrowserSearch = 120,
651
>
BrowserHome = 121,
652
>
BrowserBack = 122,
653
>
BrowserForward = 123,
654
>
MediaTrackNext = 124,
655
>
MediaTrackPrevious = 125,
656
>
MediaStop = 126,
657
>
MediaPlayPause = 127,
658
>
LaunchMediaPlayer = 128,
659
>
LaunchMail = 129,
660
>
LaunchApp2 = 130,
661
>
/**
662
>
* VK_CLEAR, 0x0C, CLEAR key
663
>
*/
664
>
Clear = 131,
665
>
/**
666
>
* Placed last to cover the length of the enum.
667
>
* Please do not depend on this value!
668
>
*/
669
>
MAX_VALUE = 132
670
>
}
671
>
672
>
export enum MarkerSeverity {
673
>
Hint = 1,
674
>
Info = 2,
675
>
Warning = 4,
676
>
Error = 8
677
>
}
678
>
679
>
export enum MarkerTag {
680
>
Unnecessary = 1,
681
>
Deprecated = 2
682
>
}
683
>
684
>
/**
685
>
* Position in the minimap to render the decoration.
686
>
*/
687
>
export enum MinimapPosition {
688
>
Inline = 1,
689
>
Gutter = 2
690
>
}
691
>
692
>
/**
693
>
* Section header style.
694
>
*/
695
>
export enum MinimapSectionHeaderStyle {
696
>
Normal = 1,
697
>
Underlined = 2
698
>
}
699
>
700
>
/**
701
>
* Type of hit element with the mouse in the editor.
702
>
*/
703
>
export enum MouseTargetType {
704
>
/**
705
>
* Mouse is on top of an unknown element.
706
>
*/
707
>
UNKNOWN = 0,
708
>
/**
709
>
* Mouse is on top of the textarea used for input.
710
>
*/
711
>
TEXTAREA = 1,
712
>
/**
713
>
* Mouse is on top of the glyph margin
714
>
*/
715
>
GUTTER_GLYPH_MARGIN = 2,
716
>
/**
717
>
* Mouse is on top of the line numbers
718
>
*/
719
>
GUTTER_LINE_NUMBERS = 3,
720
>
/**
721
>
* Mouse is on top of the line decorations
722
>
*/
723
>
GUTTER_LINE_DECORATIONS = 4,
724
>
/**
725
>
* Mouse is on top of the whitespace left in the gutter by a view zone.
726
>
*/
727
>
GUTTER_VIEW_ZONE = 5,
728
>
/**
729
>
* Mouse is on top of text in the content.
730
>
*/
731
>
CONTENT_TEXT = 6,
732
>
/**
733
>
* Mouse is on top of empty space in the content (e.g. after line text or below last line)
734
>
*/
735
>
CONTENT_EMPTY = 7,
736
>
/**
737
>
* Mouse is on top of a view zone in the content.
738
>
*/
739
>
CONTENT_VIEW_ZONE = 8,
740
>
/**
741
>
* Mouse is on top of a content widget.
742
>
*/
743
>
CONTENT_WIDGET = 9,
744
>
/**
745
>
* Mouse is on top of the decorations overview ruler.
746
>
*/
747
>
OVERVIEW_RULER = 10,
748
>
/**
749
>
* Mouse is on top of a scrollbar.
750
>
*/
751
>
SCROLLBAR = 11,
752
>
/**
753
>
* Mouse is on top of an overlay widget.
754
>
*/
755
>
OVERLAY_WIDGET = 12,
756
>
/**
757
>
* Mouse is outside of the editor.
758
>
*/
759
>
OUTSIDE_EDITOR = 13
760
>
}
761
>
762
>
export enum NewSymbolNameTag {
763
>
AIGenerated = 1
764
>
}
765
>
766
>
export enum NewSymbolNameTriggerKind {
767
>
Invoke = 0,
768
>
Automatic = 1
769
>
}
770
>
771
>
/**
772
>
* A positioning preference for rendering overlay widgets.
773
>
*/
774
>
export enum OverlayWidgetPositionPreference {
775
>
/**
776
>
* Position the overlay widget in the top right corner
777
>
*/
778
>
TOP_RIGHT_CORNER = 0,
779
>
/**
780
>
* Position the overlay widget in the bottom right corner
781
>
*/
782
>
BOTTOM_RIGHT_CORNER = 1,
783
>
/**
784
>
* Position the overlay widget in the top center
785
>
*/
786
>
TOP_CENTER = 2
787
>
}
788
>
789
>
/**
790
>
* Vertical Lane in the overview ruler of the editor.
791
>
*/
792
>
export enum OverviewRulerLane {
793
>
Left = 1,
794
>
Center = 2,
795
>
Right = 4,
796
>
Full = 7
797
>
}
798
>
799
>
/**
800
>
* How a partial acceptance was triggered.
801
>
*/
802
>
export enum PartialAcceptTriggerKind {
803
>
Word = 0,
804
>
Line = 1,
805
>
Suggest = 2
806
>
}
807
>
808
>
export enum PositionAffinity {
809
>
/**
810
>
* Prefers the left most position.
811
>
*/
812
>
Left = 0,
813
>
/**
814
>
* Prefers the right most position.
815
>
*/
816
>
Right = 1,
817
>
/**
818
>
* No preference.
819
>
*/
820
>
None = 2,
821
>
/**
822
>
* If the given position is on injected text, prefers the position left of it.
823
>
*/
824
>
LeftOfInjectedText = 3,
825
>
/**
826
>
* If the given position is on injected text, prefers the position right of it.
827
>
*/
828
>
RightOfInjectedText = 4
829
>
}
830
>
831
>
export enum RenderLineNumbersType {
832
>
Off = 0,
833
>
On = 1,
834
>
Relative = 2,
835
>
Interval = 3,
836
>
Custom = 4
837
>
}
838
>
839
>
export enum RenderMinimap {
840
>
None = 0,
841
>
Text = 1,
842
>
Blocks = 2
843
>
}
844
>
845
>
export enum ScrollType {
846
>
Smooth = 0,
847
>
Immediate = 1
848
>
}
849
>
850
>
export enum ScrollbarVisibility {
851
>
Auto = 1,
852
>
Hidden = 2,
853
>
Visible = 3
854
>
}
855
>
856
>
/**
857
>
* The direction of a selection.
858
>
*/
859
>
export enum SelectionDirection {
860
>
/**
861
>
* The selection starts above where it ends.
862
>
*/
863
>
LTR = 0,
864
>
/**
865
>
* The selection starts below where it ends.
866
>
*/
867
>
RTL = 1
868
>
}
869
>
870
>
export enum ShowLightbulbIconMode {
871
>
Off = 'off',
872
>
OnCode = 'onCode',
873
>
On = 'on'
874
>
}
875
>
876
>
export enum SignatureHelpTriggerKind {
877
>
Invoke = 1,
878
>
TriggerCharacter = 2,
879
>
ContentChange = 3
880
>
}
881
>
882
>
/**
883
>
* A symbol kind.
884
>
*/
885
>
export enum SymbolKind {
886
>
File = 0,
887
>
Module = 1,
888
>
Namespace = 2,
889
>
Package = 3,
890
>
Class = 4,
891
>
Method = 5,
892
>
Property = 6,
893
>
Field = 7,
894
>
Constructor = 8,
895
>
Enum = 9,
896
>
Interface = 10,
897
>
Function = 11,
898
>
Variable = 12,
899
>
Constant = 13,
900
>
String = 14,
901
>
Number = 15,
902
>
Boolean = 16,
903
>
Array = 17,
904
>
Object = 18,
905
>
Key = 19,
906
>
Null = 20,
907
>
EnumMember = 21,
908
>
Struct = 22,
909
>
Event = 23,
910
>
Operator = 24,
911
>
TypeParameter = 25
912
>
}
913
>
914
>
export enum SymbolTag {
915
>
Deprecated = 1
916
>
}
917
>
918
>
/**
919
>
* Text Direction for a decoration.
920
>
*/
921
>
export enum TextDirection {
922
>
LTR = 0,
923
>
RTL = 1
924
>
}
925
>
926
>
/**
927
>
* The kind of animation in which the editor's cursor should be rendered.
928
>
*/
929
>
export enum TextEditorCursorBlinkingStyle {
930
>
/**
931
>
* Hidden
932
>
*/
933
>
Hidden = 0,
934
>
/**
935
>
* Blinking
936
>
*/
937
>
Blink = 1,
938
>
/**
939
>
* Blinking with smooth fading
940
>
*/
941
>
Smooth = 2,
942
>
/**
943
>
* Blinking with prolonged filled state and smooth fading
944
>
*/
945
>
Phase = 3,
946
>
/**
947
>
* Expand collapse animation on the y axis
948
>
*/
949
>
Expand = 4,
950
>
/**
951
>
* No-Blinking
952
>
*/
953
>
Solid = 5
954
>
}
955
>
956
>
/**
957
>
* The style in which the editor's cursor should be rendered.
958
>
*/
959
>
export enum TextEditorCursorStyle {
960
>
/**
961
>
* As a vertical line (sitting between two characters).
962
>
*/
963
>
Line = 1,
964
>
/**
965
>
* As a block (sitting on top of a character).
966
>
*/
967
>
Block = 2,
968
>
/**
969
>
* As a horizontal line (sitting under a character).
970
>
*/
971
>
Underline = 3,
972
>
/**
973
>
* As a thin vertical line (sitting between two characters).
974
>
*/
975
>
LineThin = 4,
976
>
/**
977
>
* As an outlined block (sitting on top of a character).
978
>
*/
979
>
BlockOutline = 5,
980
>
/**
981
>
* As a thin horizontal line (sitting under a character).
982
>
*/
983
>
UnderlineThin = 6
984
>
}
985
>
986
>
/**
987
>
* Describes the behavior of decorations when typing/editing near their edges.
988
>
* Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`
989
>
*/
990
>
export enum TrackedRangeStickiness {
991
>
AlwaysGrowsWhenTypingAtEdges = 0,
992
>
NeverGrowsWhenTypingAtEdges = 1,
993
>
GrowsOnlyWhenTypingBefore = 2,
994
>
GrowsOnlyWhenTypingAfter = 3
995
>
}
996
>
997
>
/**
998
>
* Describes how to indent wrapped lines.
999
>
*/
1000
>
export enum WrappingIndent {
1001
>
/**
1002
>
* No indentation => wrapped lines begin at column 1.
1003
>
*/
1004
>
None = 0,
1005
>
/**
1006
>
* Same => wrapped lines get the same indentation as the parent.
1007
>
*/
1008
>
Same = 1,
1009
>
/**
1010
>
* Indent => wrapped lines get +1 indentation toward the parent.
1011
>
*/
1012
>
Indent = 2,
1013
>
/**
1014
>
* DeepIndent => wrapped lines get +2 indentation toward the parent.
1015
>
*/
1016
>
DeepIndent = 3
1017
>
}