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