standaloneEnums.js 40 KB

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