Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/editor/common/standalone/standaloneEnums.ts
5221 views
1
/*---------------------------------------------------------------------------------------------
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
}
351
352
/**
353
* End of line character preference.
354
*/
355
export enum EndOfLinePreference {
356
/**
357
* Use the end of line character identified in the text buffer.
358
*/
359
TextDefined = 0,
360
/**
361
* Use line feed (\n) as the end of line character.
362
*/
363
LF = 1,
364
/**
365
* Use carriage return and line feed (\r\n) as the end of line character.
366
*/
367
CRLF = 2
368
}
369
370
/**
371
* End of line character preference.
372
*/
373
export enum EndOfLineSequence {
374
/**
375
* Use line feed (\n) as the end of line character.
376
*/
377
LF = 0,
378
/**
379
* Use carriage return and line feed (\r\n) as the end of line character.
380
*/
381
CRLF = 1
382
}
383
384
/**
385
* Vertical Lane in the glyph margin of the editor.
386
*/
387
export enum GlyphMarginLane {
388
Left = 1,
389
Center = 2,
390
Right = 3
391
}
392
393
export enum HoverVerbosityAction {
394
/**
395
* Increase the verbosity of the hover
396
*/
397
Increase = 0,
398
/**
399
* Decrease the verbosity of the hover
400
*/
401
Decrease = 1
402
}
403
404
/**
405
* Describes what to do with the indentation when pressing Enter.
406
*/
407
export enum IndentAction {
408
/**
409
* Insert new line and copy the previous line's indentation.
410
*/
411
None = 0,
412
/**
413
* Insert new line and indent once (relative to the previous line's indentation).
414
*/
415
Indent = 1,
416
/**
417
* Insert two new lines:
418
* - the first one indented which will hold the cursor
419
* - the second one at the same indentation level
420
*/
421
IndentOutdent = 2,
422
/**
423
* Insert new line and outdent once (relative to the previous line's indentation).
424
*/
425
Outdent = 3
426
}
427
428
export enum InjectedTextCursorStops {
429
Both = 0,
430
Right = 1,
431
Left = 2,
432
None = 3
433
}
434
435
export enum InlayHintKind {
436
Type = 1,
437
Parameter = 2
438
}
439
440
export enum InlineCompletionEndOfLifeReasonKind {
441
Accepted = 0,
442
Rejected = 1,
443
Ignored = 2
444
}
445
446
export enum InlineCompletionHintStyle {
447
Code = 1,
448
Label = 2
449
}
450
451
/**
452
* How an {@link InlineCompletionsProvider inline completion provider} was triggered.
453
*/
454
export enum InlineCompletionTriggerKind {
455
/**
456
* Completion was triggered automatically while editing.
457
* It is sufficient to return a single completion item in this case.
458
*/
459
Automatic = 0,
460
/**
461
* Completion was triggered explicitly by a user gesture.
462
* Return multiple completion items to enable cycling through them.
463
*/
464
Explicit = 1
465
}
466
/**
467
* Virtual Key Codes, the value does not hold any inherent meaning.
468
* Inspired somewhat from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
469
* But these are "more general", as they should work across browsers & OS`s.
470
*/
471
export enum KeyCode {
472
DependsOnKbLayout = -1,
473
/**
474
* Placed first to cover the 0 value of the enum.
475
*/
476
Unknown = 0,
477
Backspace = 1,
478
Tab = 2,
479
Enter = 3,
480
Shift = 4,
481
Ctrl = 5,
482
Alt = 6,
483
PauseBreak = 7,
484
CapsLock = 8,
485
Escape = 9,
486
Space = 10,
487
PageUp = 11,
488
PageDown = 12,
489
End = 13,
490
Home = 14,
491
LeftArrow = 15,
492
UpArrow = 16,
493
RightArrow = 17,
494
DownArrow = 18,
495
Insert = 19,
496
Delete = 20,
497
Digit0 = 21,
498
Digit1 = 22,
499
Digit2 = 23,
500
Digit3 = 24,
501
Digit4 = 25,
502
Digit5 = 26,
503
Digit6 = 27,
504
Digit7 = 28,
505
Digit8 = 29,
506
Digit9 = 30,
507
KeyA = 31,
508
KeyB = 32,
509
KeyC = 33,
510
KeyD = 34,
511
KeyE = 35,
512
KeyF = 36,
513
KeyG = 37,
514
KeyH = 38,
515
KeyI = 39,
516
KeyJ = 40,
517
KeyK = 41,
518
KeyL = 42,
519
KeyM = 43,
520
KeyN = 44,
521
KeyO = 45,
522
KeyP = 46,
523
KeyQ = 47,
524
KeyR = 48,
525
KeyS = 49,
526
KeyT = 50,
527
KeyU = 51,
528
KeyV = 52,
529
KeyW = 53,
530
KeyX = 54,
531
KeyY = 55,
532
KeyZ = 56,
533
Meta = 57,
534
ContextMenu = 58,
535
F1 = 59,
536
F2 = 60,
537
F3 = 61,
538
F4 = 62,
539
F5 = 63,
540
F6 = 64,
541
F7 = 65,
542
F8 = 66,
543
F9 = 67,
544
F10 = 68,
545
F11 = 69,
546
F12 = 70,
547
F13 = 71,
548
F14 = 72,
549
F15 = 73,
550
F16 = 74,
551
F17 = 75,
552
F18 = 76,
553
F19 = 77,
554
F20 = 78,
555
F21 = 79,
556
F22 = 80,
557
F23 = 81,
558
F24 = 82,
559
NumLock = 83,
560
ScrollLock = 84,
561
/**
562
* Used for miscellaneous characters; it can vary by keyboard.
563
* For the US standard keyboard, the ';:' key
564
*/
565
Semicolon = 85,
566
/**
567
* For any country/region, the '+' key
568
* For the US standard keyboard, the '=+' key
569
*/
570
Equal = 86,
571
/**
572
* For any country/region, the ',' key
573
* For the US standard keyboard, the ',<' key
574
*/
575
Comma = 87,
576
/**
577
* For any country/region, the '-' key
578
* For the US standard keyboard, the '-_' key
579
*/
580
Minus = 88,
581
/**
582
* For any country/region, the '.' key
583
* For the US standard keyboard, the '.>' key
584
*/
585
Period = 89,
586
/**
587
* Used for miscellaneous characters; it can vary by keyboard.
588
* For the US standard keyboard, the '/?' key
589
*/
590
Slash = 90,
591
/**
592
* Used for miscellaneous characters; it can vary by keyboard.
593
* For the US standard keyboard, the '`~' key
594
*/
595
Backquote = 91,
596
/**
597
* Used for miscellaneous characters; it can vary by keyboard.
598
* For the US standard keyboard, the '[{' key
599
*/
600
BracketLeft = 92,
601
/**
602
* Used for miscellaneous characters; it can vary by keyboard.
603
* For the US standard keyboard, the '\|' key
604
*/
605
Backslash = 93,
606
/**
607
* Used for miscellaneous characters; it can vary by keyboard.
608
* For the US standard keyboard, the ']}' key
609
*/
610
BracketRight = 94,
611
/**
612
* Used for miscellaneous characters; it can vary by keyboard.
613
* For the US standard keyboard, the ''"' key
614
*/
615
Quote = 95,
616
/**
617
* Used for miscellaneous characters; it can vary by keyboard.
618
*/
619
OEM_8 = 96,
620
/**
621
* Either the angle bracket key or the backslash key on the RT 102-key keyboard.
622
*/
623
IntlBackslash = 97,
624
Numpad0 = 98,// VK_NUMPAD0, 0x60, Numeric keypad 0 key
625
Numpad1 = 99,// VK_NUMPAD1, 0x61, Numeric keypad 1 key
626
Numpad2 = 100,// VK_NUMPAD2, 0x62, Numeric keypad 2 key
627
Numpad3 = 101,// VK_NUMPAD3, 0x63, Numeric keypad 3 key
628
Numpad4 = 102,// VK_NUMPAD4, 0x64, Numeric keypad 4 key
629
Numpad5 = 103,// VK_NUMPAD5, 0x65, Numeric keypad 5 key
630
Numpad6 = 104,// VK_NUMPAD6, 0x66, Numeric keypad 6 key
631
Numpad7 = 105,// VK_NUMPAD7, 0x67, Numeric keypad 7 key
632
Numpad8 = 106,// VK_NUMPAD8, 0x68, Numeric keypad 8 key
633
Numpad9 = 107,// VK_NUMPAD9, 0x69, Numeric keypad 9 key
634
NumpadMultiply = 108,// VK_MULTIPLY, 0x6A, Multiply key
635
NumpadAdd = 109,// VK_ADD, 0x6B, Add key
636
NUMPAD_SEPARATOR = 110,// VK_SEPARATOR, 0x6C, Separator key
637
NumpadSubtract = 111,// VK_SUBTRACT, 0x6D, Subtract key
638
NumpadDecimal = 112,// VK_DECIMAL, 0x6E, Decimal key
639
NumpadDivide = 113,// VK_DIVIDE, 0x6F,
640
/**
641
* Cover all key codes when IME is processing input.
642
*/
643
KEY_IN_COMPOSITION = 114,
644
ABNT_C1 = 115,// Brazilian (ABNT) Keyboard
645
ABNT_C2 = 116,// Brazilian (ABNT) Keyboard
646
AudioVolumeMute = 117,
647
AudioVolumeUp = 118,
648
AudioVolumeDown = 119,
649
BrowserSearch = 120,
650
BrowserHome = 121,
651
BrowserBack = 122,
652
BrowserForward = 123,
653
MediaTrackNext = 124,
654
MediaTrackPrevious = 125,
655
MediaStop = 126,
656
MediaPlayPause = 127,
657
LaunchMediaPlayer = 128,
658
LaunchMail = 129,
659
LaunchApp2 = 130,
660
/**
661
* VK_CLEAR, 0x0C, CLEAR key
662
*/
663
Clear = 131,
664
/**
665
* Placed last to cover the length of the enum.
666
* Please do not depend on this value!
667
*/
668
MAX_VALUE = 132
669
}
670
671
export enum MarkerSeverity {
672
Hint = 1,
673
Info = 2,
674
Warning = 4,
675
Error = 8
676
}
677
678
export enum MarkerTag {
679
Unnecessary = 1,
680
Deprecated = 2
681
}
682
683
/**
684
* Position in the minimap to render the decoration.
685
*/
686
export enum MinimapPosition {
687
Inline = 1,
688
Gutter = 2
689
}
690
691
/**
692
* Section header style.
693
*/
694
export enum MinimapSectionHeaderStyle {
695
Normal = 1,
696
Underlined = 2
697
}
698
699
/**
700
* Type of hit element with the mouse in the editor.
701
*/
702
export enum MouseTargetType {
703
/**
704
* Mouse is on top of an unknown element.
705
*/
706
UNKNOWN = 0,
707
/**
708
* Mouse is on top of the textarea used for input.
709
*/
710
TEXTAREA = 1,
711
/**
712
* Mouse is on top of the glyph margin
713
*/
714
GUTTER_GLYPH_MARGIN = 2,
715
/**
716
* Mouse is on top of the line numbers
717
*/
718
GUTTER_LINE_NUMBERS = 3,
719
/**
720
* Mouse is on top of the line decorations
721
*/
722
GUTTER_LINE_DECORATIONS = 4,
723
/**
724
* Mouse is on top of the whitespace left in the gutter by a view zone.
725
*/
726
GUTTER_VIEW_ZONE = 5,
727
/**
728
* Mouse is on top of text in the content.
729
*/
730
CONTENT_TEXT = 6,
731
/**
732
* Mouse is on top of empty space in the content (e.g. after line text or below last line)
733
*/
734
CONTENT_EMPTY = 7,
735
/**
736
* Mouse is on top of a view zone in the content.
737
*/
738
CONTENT_VIEW_ZONE = 8,
739
/**
740
* Mouse is on top of a content widget.
741
*/
742
CONTENT_WIDGET = 9,
743
/**
744
* Mouse is on top of the decorations overview ruler.
745
*/
746
OVERVIEW_RULER = 10,
747
/**
748
* Mouse is on top of a scrollbar.
749
*/
750
SCROLLBAR = 11,
751
/**
752
* Mouse is on top of an overlay widget.
753
*/
754
OVERLAY_WIDGET = 12,
755
/**
756
* Mouse is outside of the editor.
757
*/
758
OUTSIDE_EDITOR = 13
759
}
760
761
export enum NewSymbolNameTag {
762
AIGenerated = 1
763
}
764
765
export enum NewSymbolNameTriggerKind {
766
Invoke = 0,
767
Automatic = 1
768
}
769
770
/**
771
* A positioning preference for rendering overlay widgets.
772
*/
773
export enum OverlayWidgetPositionPreference {
774
/**
775
* Position the overlay widget in the top right corner
776
*/
777
TOP_RIGHT_CORNER = 0,
778
/**
779
* Position the overlay widget in the bottom right corner
780
*/
781
BOTTOM_RIGHT_CORNER = 1,
782
/**
783
* Position the overlay widget in the top center
784
*/
785
TOP_CENTER = 2
786
}
787
788
/**
789
* Vertical Lane in the overview ruler of the editor.
790
*/
791
export enum OverviewRulerLane {
792
Left = 1,
793
Center = 2,
794
Right = 4,
795
Full = 7
796
}
797
798
/**
799
* How a partial acceptance was triggered.
800
*/
801
export enum PartialAcceptTriggerKind {
802
Word = 0,
803
Line = 1,
804
Suggest = 2
805
}
806
807
export enum PositionAffinity {
808
/**
809
* Prefers the left most position.
810
*/
811
Left = 0,
812
/**
813
* Prefers the right most position.
814
*/
815
Right = 1,
816
/**
817
* No preference.
818
*/
819
None = 2,
820
/**
821
* If the given position is on injected text, prefers the position left of it.
822
*/
823
LeftOfInjectedText = 3,
824
/**
825
* If the given position is on injected text, prefers the position right of it.
826
*/
827
RightOfInjectedText = 4
828
}
829
830
export enum RenderLineNumbersType {
831
Off = 0,
832
On = 1,
833
Relative = 2,
834
Interval = 3,
835
Custom = 4
836
}
837
838
export enum RenderMinimap {
839
None = 0,
840
Text = 1,
841
Blocks = 2
842
}
843
844
export enum ScrollType {
845
Smooth = 0,
846
Immediate = 1
847
}
848
849
export enum ScrollbarVisibility {
850
Auto = 1,
851
Hidden = 2,
852
Visible = 3
853
}
854
855
/**
856
* The direction of a selection.
857
*/
858
export enum SelectionDirection {
859
/**
860
* The selection starts above where it ends.
861
*/
862
LTR = 0,
863
/**
864
* The selection starts below where it ends.
865
*/
866
RTL = 1
867
}
868
869
export enum ShowLightbulbIconMode {
870
Off = 'off',
871
OnCode = 'onCode',
872
On = 'on'
873
}
874
875
export enum SignatureHelpTriggerKind {
876
Invoke = 1,
877
TriggerCharacter = 2,
878
ContentChange = 3
879
}
880
881
/**
882
* A symbol kind.
883
*/
884
export enum SymbolKind {
885
File = 0,
886
Module = 1,
887
Namespace = 2,
888
Package = 3,
889
Class = 4,
890
Method = 5,
891
Property = 6,
892
Field = 7,
893
Constructor = 8,
894
Enum = 9,
895
Interface = 10,
896
Function = 11,
897
Variable = 12,
898
Constant = 13,
899
String = 14,
900
Number = 15,
901
Boolean = 16,
902
Array = 17,
903
Object = 18,
904
Key = 19,
905
Null = 20,
906
EnumMember = 21,
907
Struct = 22,
908
Event = 23,
909
Operator = 24,
910
TypeParameter = 25
911
}
912
913
export enum SymbolTag {
914
Deprecated = 1
915
}
916
917
/**
918
* Text Direction for a decoration.
919
*/
920
export enum TextDirection {
921
LTR = 0,
922
RTL = 1
923
}
924
925
/**
926
* The kind of animation in which the editor's cursor should be rendered.
927
*/
928
export enum TextEditorCursorBlinkingStyle {
929
/**
930
* Hidden
931
*/
932
Hidden = 0,
933
/**
934
* Blinking
935
*/
936
Blink = 1,
937
/**
938
* Blinking with smooth fading
939
*/
940
Smooth = 2,
941
/**
942
* Blinking with prolonged filled state and smooth fading
943
*/
944
Phase = 3,
945
/**
946
* Expand collapse animation on the y axis
947
*/
948
Expand = 4,
949
/**
950
* No-Blinking
951
*/
952
Solid = 5
953
}
954
955
/**
956
* The style in which the editor's cursor should be rendered.
957
*/
958
export enum TextEditorCursorStyle {
959
/**
960
* As a vertical line (sitting between two characters).
961
*/
962
Line = 1,
963
/**
964
* As a block (sitting on top of a character).
965
*/
966
Block = 2,
967
/**
968
* As a horizontal line (sitting under a character).
969
*/
970
Underline = 3,
971
/**
972
* As a thin vertical line (sitting between two characters).
973
*/
974
LineThin = 4,
975
/**
976
* As an outlined block (sitting on top of a character).
977
*/
978
BlockOutline = 5,
979
/**
980
* As a thin horizontal line (sitting under a character).
981
*/
982
UnderlineThin = 6
983
}
984
985
/**
986
* Describes the behavior of decorations when typing/editing near their edges.
987
* Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`
988
*/
989
export enum TrackedRangeStickiness {
990
AlwaysGrowsWhenTypingAtEdges = 0,
991
NeverGrowsWhenTypingAtEdges = 1,
992
GrowsOnlyWhenTypingBefore = 2,
993
GrowsOnlyWhenTypingAfter = 3
994
}
995
996
/**
997
* Describes how to indent wrapped lines.
998
*/
999
export enum WrappingIndent {
1000
/**
1001
* No indentation => wrapped lines begin at column 1.
1002
*/
1003
None = 0,
1004
/**
1005
* Same => wrapped lines get the same indentation as the parent.
1006
*/
1007
Same = 1,
1008
/**
1009
* Indent => wrapped lines get +1 indentation toward the parent.
1010
*/
1011
Indent = 2,
1012
/**
1013
* DeepIndent => wrapped lines get +2 indentation toward the parent.
1014
*/
1015
DeepIndent = 3
1016
}
1017