6c0897e69f5ac954734d6db836767a177e90695bba230980eafb8848e76078513d71510d9d2c7caa8145a38959a37d99c444ff2027972dd5854b14d683e235 42 KB

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