@vscode/chat-lib 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts +2 -1
  2. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
  3. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +70 -28
  4. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
  5. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts +4 -3
  6. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -1
  7. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +85 -109
  8. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -1
  9. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  10. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +14 -6
  11. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  12. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
  13. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +6 -5
  14. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
  15. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +1 -0
  16. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  17. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +44 -42
  18. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  19. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts.map +1 -1
  20. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js +8 -4
  21. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js.map +1 -1
  22. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +8 -0
  23. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  24. package/dist/src/_internal/platform/configuration/common/configurationService.js +11 -3
  25. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  26. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts +1 -1
  27. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts.map +1 -1
  28. package/dist/src/_internal/platform/endpoint/common/capiClient.js +2 -2
  29. package/dist/src/_internal/platform/endpoint/common/capiClient.js.map +1 -1
  30. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +4 -0
  31. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  32. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +7 -0
  33. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  34. package/dist/src/_internal/platform/endpoint/node/capiClientImpl.d.ts.map +1 -1
  35. package/dist/src/_internal/platform/endpoint/node/capiClientImpl.js +1 -1
  36. package/dist/src/_internal/platform/endpoint/node/capiClientImpl.js.map +1 -1
  37. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +1 -1
  38. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
  39. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  40. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +10 -4
  41. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  42. package/dist/src/_internal/platform/env/common/envService.d.ts +5 -0
  43. package/dist/src/_internal/platform/env/common/envService.d.ts.map +1 -1
  44. package/dist/src/_internal/platform/env/common/envService.js +2 -1
  45. package/dist/src/_internal/platform/env/common/envService.js.map +1 -1
  46. package/dist/src/_internal/platform/env/common/nullEnvService.d.ts +3 -0
  47. package/dist/src/_internal/platform/env/common/nullEnvService.d.ts.map +1 -1
  48. package/dist/src/_internal/platform/env/common/nullEnvService.js +8 -1
  49. package/dist/src/_internal/platform/env/common/nullEnvService.js.map +1 -1
  50. package/dist/src/_internal/platform/github/common/githubService.d.ts +3 -3
  51. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
  52. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
  53. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +0 -3
  54. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
  55. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +0 -5
  56. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
  57. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +2 -1
  58. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -1
  59. package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -1
  60. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  61. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  62. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.d.ts +7 -0
  63. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.d.ts.map +1 -1
  64. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.js +1 -0
  65. package/dist/src/_internal/platform/telemetry/common/nullExperimentationService.js.map +1 -1
  66. package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts +1 -0
  67. package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts.map +1 -1
  68. package/dist/src/_internal/platform/telemetry/common/telemetry.js.map +1 -1
  69. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +8 -0
  70. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
  71. package/dist/src/_internal/util/common/test/shims/chatTypes.js +19 -1
  72. package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
  73. package/dist/src/_internal/util/common/test/shims/enums.d.ts +6 -0
  74. package/dist/src/_internal/util/common/test/shims/enums.d.ts.map +1 -1
  75. package/dist/src/_internal/util/common/test/shims/enums.js +8 -1
  76. package/dist/src/_internal/util/common/test/shims/enums.js.map +1 -1
  77. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts.map +1 -1
  78. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js +9 -1
  79. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -1
  80. package/dist/src/_internal/vscodeTypes.d.ts +5 -0
  81. package/dist/src/_internal/vscodeTypes.d.ts.map +1 -1
  82. package/dist/src/_internal/vscodeTypes.js +6 -1
  83. package/dist/src/_internal/vscodeTypes.js.map +1 -1
  84. package/dist/src/main.d.ts +15 -1
  85. package/dist/src/main.d.ts.map +1 -1
  86. package/dist/src/main.js +73 -13
  87. package/dist/src/main.js.map +1 -1
  88. package/dist/src/package.json +70 -31
  89. package/package.json +7 -9
  90. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.d.ts +0 -42
  91. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.d.ts.map +0 -1
  92. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.js +0 -125
  93. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.js.map +0 -1
  94. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.d.ts +0 -60
  95. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.d.ts.map +0 -1
  96. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.js +0 -416
  97. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.js.map +0 -1
  98. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.d.ts +0 -30
  99. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.d.ts.map +0 -1
  100. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.js +0 -64
  101. package/dist/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.js.map +0 -1
  102. package/dist/src/_internal/extension/prompts/node/inline/visualization.d.ts +0 -26
  103. package/dist/src/_internal/extension/prompts/node/inline/visualization.d.ts.map +0 -1
  104. package/dist/src/_internal/extension/prompts/node/inline/visualization.js +0 -41
  105. package/dist/src/_internal/extension/prompts/node/inline/visualization.js.map +0 -1
  106. package/dist/src/_internal/platform/editing/common/abstractText.d.ts +0 -58
  107. package/dist/src/_internal/platform/editing/common/abstractText.d.ts.map +0 -1
  108. package/dist/src/_internal/platform/editing/common/abstractText.js +0 -129
  109. package/dist/src/_internal/platform/editing/common/abstractText.js.map +0 -1
  110. package/dist/src/_internal/platform/parser/node/nodes.d.ts +0 -93
  111. package/dist/src/_internal/platform/parser/node/nodes.d.ts.map +0 -1
  112. package/dist/src/_internal/platform/parser/node/nodes.js +0 -133
  113. package/dist/src/_internal/platform/parser/node/nodes.js.map +0 -1
  114. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.d.ts +0 -18
  115. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.d.ts.map +0 -1
  116. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.js +0 -50
  117. package/dist/src/_internal/platform/telemetry/common/nullTelemetryService.js.map +0 -1
  118. package/dist/src/_internal/util/common/arrays.d.ts +0 -18
  119. package/dist/src/_internal/util/common/arrays.d.ts.map +0 -1
  120. package/dist/src/_internal/util/common/arrays.js +0 -80
  121. package/dist/src/_internal/util/common/arrays.js.map +0 -1
  122. package/src/_internal/extension/byok/node/openAIEndpoint.ts +0 -171
  123. package/src/_internal/extension/common/constants.ts +0 -90
  124. package/src/_internal/extension/inlineEdits/common/delayer.ts +0 -108
  125. package/src/_internal/extension/inlineEdits/common/editRebase.ts +0 -268
  126. package/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.tsx +0 -163
  127. package/src/_internal/extension/inlineEdits/common/nearbyCursorInlineEditProvider.ts +0 -225
  128. package/src/_internal/extension/inlineEdits/common/rejectionCollector.ts +0 -164
  129. package/src/_internal/extension/inlineEdits/node/debugRecorder.ts +0 -205
  130. package/src/_internal/extension/inlineEdits/node/importFiltering.ts +0 -25
  131. package/src/_internal/extension/inlineEdits/node/nesConfigs.ts +0 -12
  132. package/src/_internal/extension/inlineEdits/node/nextEditCache.ts +0 -278
  133. package/src/_internal/extension/inlineEdits/node/nextEditProvider.ts +0 -778
  134. package/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.ts +0 -983
  135. package/src/_internal/extension/inlineEdits/node/nextEditResult.ts +0 -40
  136. package/src/_internal/extension/prompt/common/importStatement.ts +0 -25
  137. package/src/_internal/extension/prompt/node/chatMLFetcher.ts +0 -706
  138. package/src/_internal/extension/prompts/node/inline/summarizedDocument/fragments.ts +0 -146
  139. package/src/_internal/extension/prompts/node/inline/summarizedDocument/implementation.ts +0 -527
  140. package/src/_internal/extension/prompts/node/inline/summarizedDocument/projectedText.ts +0 -76
  141. package/src/_internal/extension/prompts/node/inline/visualization.ts +0 -65
  142. package/src/_internal/extension/vscode.proposed.activeComment.d.ts +0 -23
  143. package/src/_internal/extension/vscode.proposed.aiRelatedInformation.d.ts +0 -49
  144. package/src/_internal/extension/vscode.proposed.aiSettingsSearch.d.ts +0 -31
  145. package/src/_internal/extension/vscode.proposed.aiTextSearchProvider.d.ts +0 -41
  146. package/src/_internal/extension/vscode.proposed.authLearnMore.d.ts +0 -16
  147. package/src/_internal/extension/vscode.proposed.chatBinaryReferenceData.d.ts +0 -41
  148. package/src/_internal/extension/vscode.proposed.chatEditing.d.ts +0 -29
  149. package/src/_internal/extension/vscode.proposed.chatParticipantAdditions.d.ts +0 -636
  150. package/src/_internal/extension/vscode.proposed.chatParticipantPrivate.d.ts +0 -276
  151. package/src/_internal/extension/vscode.proposed.chatProvider.d.ts +0 -62
  152. package/src/_internal/extension/vscode.proposed.chatReadonlyPromptReference.d.ts +0 -17
  153. package/src/_internal/extension/vscode.proposed.chatReferenceDiagnostic.d.ts +0 -23
  154. package/src/_internal/extension/vscode.proposed.chatSessionsProvider.d.ts +0 -218
  155. package/src/_internal/extension/vscode.proposed.chatStatusItem.d.ts +0 -61
  156. package/src/_internal/extension/vscode.proposed.codeActionAI.d.ts +0 -16
  157. package/src/_internal/extension/vscode.proposed.commentReveal.d.ts +0 -32
  158. package/src/_internal/extension/vscode.proposed.contribCommentThreadAdditionalMenu.d.ts +0 -8
  159. package/src/_internal/extension/vscode.proposed.contribCommentsViewThreadMenus.d.ts +0 -6
  160. package/src/_internal/extension/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +0 -7
  161. package/src/_internal/extension/vscode.proposed.dataChannels.d.ts +0 -19
  162. package/src/_internal/extension/vscode.proposed.defaultChatParticipant.d.ts +0 -52
  163. package/src/_internal/extension/vscode.proposed.documentFiltersExclusive.d.ts +0 -13
  164. package/src/_internal/extension/vscode.proposed.embeddings.d.ts +0 -33
  165. package/src/_internal/extension/vscode.proposed.extensionsAny.d.ts +0 -40
  166. package/src/_internal/extension/vscode.proposed.findFiles2.d.ts +0 -125
  167. package/src/_internal/extension/vscode.proposed.findTextInFiles.d.ts +0 -104
  168. package/src/_internal/extension/vscode.proposed.findTextInFiles2.d.ts +0 -144
  169. package/src/_internal/extension/vscode.proposed.inlineCompletionsAdditions.d.ts +0 -202
  170. package/src/_internal/extension/vscode.proposed.interactive.d.ts +0 -11
  171. package/src/_internal/extension/vscode.proposed.languageModelCapabilities.d.ts +0 -25
  172. package/src/_internal/extension/vscode.proposed.languageModelDataPart.d.ts +0 -163
  173. package/src/_internal/extension/vscode.proposed.languageModelSystem.d.ts +0 -17
  174. package/src/_internal/extension/vscode.proposed.languageModelThinkingPart.d.ts +0 -49
  175. package/src/_internal/extension/vscode.proposed.languageModelToolResultAudience.d.ts +0 -36
  176. package/src/_internal/extension/vscode.proposed.mappedEditsProvider.d.ts +0 -110
  177. package/src/_internal/extension/vscode.proposed.newSymbolNamesProvider.d.ts +0 -47
  178. package/src/_internal/extension/vscode.proposed.readonlyMessage.d.ts +0 -14
  179. package/src/_internal/extension/vscode.proposed.resolvers.d.ts +0 -475
  180. package/src/_internal/extension/vscode.proposed.scmInputBoxValueProvider.d.ts +0 -25
  181. package/src/_internal/extension/vscode.proposed.taskProblemMatcherStatus.d.ts +0 -42
  182. package/src/_internal/extension/vscode.proposed.terminalDataWriteEvent.d.ts +0 -32
  183. package/src/_internal/extension/vscode.proposed.terminalExecuteCommandEvent.d.ts +0 -48
  184. package/src/_internal/extension/vscode.proposed.terminalQuickFixProvider.d.ts +0 -87
  185. package/src/_internal/extension/vscode.proposed.terminalSelection.d.ts +0 -16
  186. package/src/_internal/extension/vscode.proposed.testObserver.d.ts +0 -199
  187. package/src/_internal/extension/vscode.proposed.textDocumentChangeReason.d.ts +0 -30
  188. package/src/_internal/extension/vscode.proposed.textSearchProvider.d.ts +0 -281
  189. package/src/_internal/extension/vscode.proposed.textSearchProvider2.d.ts +0 -297
  190. package/src/_internal/extension/xtab/common/promptCrafting.ts +0 -670
  191. package/src/_internal/extension/xtab/node/xtabEndpoint.ts +0 -102
  192. package/src/_internal/extension/xtab/node/xtabProvider.ts +0 -976
  193. package/src/_internal/extension/xtab/node/xtabUtils.ts +0 -62
  194. package/src/_internal/platform/authentication/common/authentication.ts +0 -309
  195. package/src/_internal/platform/authentication/common/copilotToken.ts +0 -300
  196. package/src/_internal/platform/authentication/common/copilotTokenManager.ts +0 -59
  197. package/src/_internal/platform/authentication/common/copilotTokenStore.ts +0 -40
  198. package/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.ts +0 -96
  199. package/src/_internal/platform/authentication/node/copilotTokenManager.ts +0 -303
  200. package/src/_internal/platform/chat/common/chatMLFetcher.ts +0 -124
  201. package/src/_internal/platform/chat/common/chatQuotaService.ts +0 -63
  202. package/src/_internal/platform/chat/common/chatQuotaServiceImpl.ts +0 -96
  203. package/src/_internal/platform/chat/common/commonTypes.ts +0 -353
  204. package/src/_internal/platform/chat/common/conversationOptions.ts +0 -16
  205. package/src/_internal/platform/chat/common/globalStringUtils.ts +0 -54
  206. package/src/_internal/platform/chat/common/interactionService.ts +0 -35
  207. package/src/_internal/platform/configuration/common/configurationService.ts +0 -803
  208. package/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.ts +0 -39
  209. package/src/_internal/platform/configuration/common/jsonSchema.ts +0 -139
  210. package/src/_internal/platform/configuration/common/validator.ts +0 -242
  211. package/src/_internal/platform/diff/common/diffService.ts +0 -41
  212. package/src/_internal/platform/diff/common/diffWorker.ts +0 -83
  213. package/src/_internal/platform/diff/node/diffServiceImpl.ts +0 -85
  214. package/src/_internal/platform/editing/common/abstractText.ts +0 -177
  215. package/src/_internal/platform/editing/common/notebookDocumentSnapshot.ts +0 -122
  216. package/src/_internal/platform/editing/common/positionOffsetTransformer.ts +0 -202
  217. package/src/_internal/platform/editing/common/textDocumentSnapshot.ts +0 -274
  218. package/src/_internal/platform/endpoint/common/capiClient.ts +0 -37
  219. package/src/_internal/platform/endpoint/common/chatModelCapabilities.ts +0 -115
  220. package/src/_internal/platform/endpoint/common/domainService.ts +0 -27
  221. package/src/_internal/platform/endpoint/common/endpointProvider.ts +0 -104
  222. package/src/_internal/platform/endpoint/common/endpointTypes.ts +0 -12
  223. package/src/_internal/platform/endpoint/common/licenseAgreement.ts +0 -11
  224. package/src/_internal/platform/endpoint/common/statefulMarkerContainer.tsx +0 -85
  225. package/src/_internal/platform/endpoint/common/thinkingDataContainer.tsx +0 -44
  226. package/src/_internal/platform/endpoint/node/capiClientImpl.ts +0 -18
  227. package/src/_internal/platform/endpoint/node/chatEndpoint.ts +0 -435
  228. package/src/_internal/platform/endpoint/node/domainServiceImpl.ts +0 -80
  229. package/src/_internal/platform/endpoint/node/proxyXtabEndpoint.ts +0 -43
  230. package/src/_internal/platform/endpoint/node/responsesApi.ts +0 -326
  231. package/src/_internal/platform/env/common/envService.ts +0 -134
  232. package/src/_internal/platform/env/common/nullEnvService.ts +0 -68
  233. package/src/_internal/platform/env/common/packagejson.ts +0 -49
  234. package/src/_internal/platform/git/common/gitExtensionService.ts +0 -21
  235. package/src/_internal/platform/git/common/nullGitExtensionService.ts +0 -20
  236. package/src/_internal/platform/git/vscode/git.d.ts +0 -414
  237. package/src/_internal/platform/github/common/githubAPI.ts +0 -44
  238. package/src/_internal/platform/github/common/githubService.ts +0 -87
  239. package/src/_internal/platform/github/common/nullOctokitServiceImpl.ts +0 -21
  240. package/src/_internal/platform/ignore/common/ignoreService.ts +0 -72
  241. package/src/_internal/platform/inlineCompletions/common/api.ts +0 -198
  242. package/src/_internal/platform/inlineEdits/common/dataTypes/diagnosticData.ts +0 -32
  243. package/src/_internal/platform/inlineEdits/common/dataTypes/documentId.ts +0 -52
  244. package/src/_internal/platform/inlineEdits/common/dataTypes/edit.ts +0 -165
  245. package/src/_internal/platform/inlineEdits/common/dataTypes/editUtils.ts +0 -74
  246. package/src/_internal/platform/inlineEdits/common/dataTypes/fetchCancellationError.ts +0 -14
  247. package/src/_internal/platform/inlineEdits/common/dataTypes/languageContext.ts +0 -107
  248. package/src/_internal/platform/inlineEdits/common/dataTypes/languageId.ts +0 -14
  249. package/src/_internal/platform/inlineEdits/common/dataTypes/permutation.ts +0 -69
  250. package/src/_internal/platform/inlineEdits/common/dataTypes/rootedLineEdit.ts +0 -49
  251. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLength.ts +0 -74
  252. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/combineTextEditInfos.ts +0 -132
  253. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/length.ts +0 -184
  254. package/src/_internal/platform/inlineEdits/common/dataTypes/textEditLengthHelper/textEditInfo.ts +0 -32
  255. package/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.ts +0 -89
  256. package/src/_internal/platform/inlineEdits/common/debugRecorderBookmark.ts +0 -10
  257. package/src/_internal/platform/inlineEdits/common/editReason.ts +0 -134
  258. package/src/_internal/platform/inlineEdits/common/inlineEditLogContext.ts +0 -490
  259. package/src/_internal/platform/inlineEdits/common/observableGit.ts +0 -49
  260. package/src/_internal/platform/inlineEdits/common/observableWorkspace.ts +0 -239
  261. package/src/_internal/platform/inlineEdits/common/responseProcessor.ts +0 -249
  262. package/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.ts +0 -468
  263. package/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.ts +0 -59
  264. package/src/_internal/platform/inlineEdits/common/utils/observable.ts +0 -54
  265. package/src/_internal/platform/inlineEdits/common/utils/stringifyChatMessages.ts +0 -29
  266. package/src/_internal/platform/inlineEdits/common/utils/utils.ts +0 -56
  267. package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/historyContextProvider.ts +0 -60
  268. package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesHistoryContextProvider.ts +0 -353
  269. package/src/_internal/platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker.ts +0 -176
  270. package/src/_internal/platform/languageContextProvider/common/languageContextProviderService.ts +0 -25
  271. package/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.ts +0 -38
  272. package/src/_internal/platform/languageServer/common/languageContextService.ts +0 -186
  273. package/src/_internal/platform/languages/common/languageDiagnosticsService.ts +0 -67
  274. package/src/_internal/platform/languages/common/testLanguageDiagnosticsService.ts +0 -28
  275. package/src/_internal/platform/log/common/logService.ts +0 -232
  276. package/src/_internal/platform/nesFetch/common/completionsAPI.ts +0 -78
  277. package/src/_internal/platform/nesFetch/common/completionsFetchService.ts +0 -118
  278. package/src/_internal/platform/nesFetch/common/responseStream.ts +0 -151
  279. package/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.ts +0 -236
  280. package/src/_internal/platform/nesFetch/node/streamTransformer.ts +0 -95
  281. package/src/_internal/platform/networking/common/fetch.ts +0 -349
  282. package/src/_internal/platform/networking/common/fetcherService.ts +0 -84
  283. package/src/_internal/platform/networking/common/networking.ts +0 -442
  284. package/src/_internal/platform/networking/common/openai.ts +0 -273
  285. package/src/_internal/platform/networking/node/chatStream.ts +0 -137
  286. package/src/_internal/platform/networking/node/stream.ts +0 -749
  287. package/src/_internal/platform/notebook/common/alternativeContent.ts +0 -89
  288. package/src/_internal/platform/notebook/common/alternativeContentFormat.ts +0 -10
  289. package/src/_internal/platform/notebook/common/alternativeContentProvider.json.ts +0 -262
  290. package/src/_internal/platform/notebook/common/alternativeContentProvider.text.ts +0 -243
  291. package/src/_internal/platform/notebook/common/alternativeContentProvider.ts +0 -41
  292. package/src/_internal/platform/notebook/common/alternativeContentProvider.xml.ts +0 -205
  293. package/src/_internal/platform/notebook/common/alternativeNotebookDocument.ts +0 -155
  294. package/src/_internal/platform/notebook/common/helpers.ts +0 -212
  295. package/src/_internal/platform/notebook/common/notebookService.ts +0 -43
  296. package/src/_internal/platform/openai/node/fetch.ts +0 -596
  297. package/src/_internal/platform/parser/node/nodes.ts +0 -190
  298. package/src/_internal/platform/requestLogger/node/nullRequestLogger.ts +0 -26
  299. package/src/_internal/platform/requestLogger/node/requestLogger.ts +0 -383
  300. package/src/_internal/platform/simulationTestContext/common/simulationTestContext.ts +0 -29
  301. package/src/_internal/platform/snippy/common/snippyService.ts +0 -25
  302. package/src/_internal/platform/telemetry/common/nullExperimentationService.ts +0 -64
  303. package/src/_internal/platform/telemetry/common/nullTelemetryService.ts +0 -53
  304. package/src/_internal/platform/telemetry/common/telemetry.ts +0 -215
  305. package/src/_internal/platform/telemetry/common/telemetryData.ts +0 -205
  306. package/src/_internal/platform/thinking/common/thinking.ts +0 -61
  307. package/src/_internal/platform/thinking/common/thinkingUtils.ts +0 -57
  308. package/src/_internal/platform/tokenizer/node/parseTikTokens.ts +0 -23
  309. package/src/_internal/platform/tokenizer/node/tikTokenizerImpl.ts +0 -74
  310. package/src/_internal/platform/tokenizer/node/tikTokenizerWorker.ts +0 -24
  311. package/src/_internal/platform/tokenizer/node/tokenizer.ts +0 -357
  312. package/src/_internal/platform/workspace/common/workspaceService.ts +0 -226
  313. package/src/_internal/platform/workspaceRecorder/common/workspaceLog.ts +0 -118
  314. package/src/_internal/util/common/anomalyDetection.ts +0 -112
  315. package/src/_internal/util/common/arrays.ts +0 -81
  316. package/src/_internal/util/common/async.ts +0 -155
  317. package/src/_internal/util/common/cache.ts +0 -183
  318. package/src/_internal/util/common/crypto.ts +0 -41
  319. package/src/_internal/util/common/errors.ts +0 -22
  320. package/src/_internal/util/common/globals.d.ts +0 -12
  321. package/src/_internal/util/common/imageUtils.ts +0 -154
  322. package/src/_internal/util/common/languages.ts +0 -940
  323. package/src/_internal/util/common/notebooks.ts +0 -286
  324. package/src/_internal/util/common/result.ts +0 -71
  325. package/src/_internal/util/common/services.ts +0 -43
  326. package/src/_internal/util/common/test/shims/chatTypes.ts +0 -448
  327. package/src/_internal/util/common/test/shims/editing.ts +0 -233
  328. package/src/_internal/util/common/test/shims/enums.ts +0 -61
  329. package/src/_internal/util/common/test/shims/l10n.ts +0 -37
  330. package/src/_internal/util/common/test/shims/newSymbolName.ts +0 -23
  331. package/src/_internal/util/common/test/shims/terminal.ts +0 -33
  332. package/src/_internal/util/common/test/shims/vscodeTypesShim.ts +0 -115
  333. package/src/_internal/util/common/time.ts +0 -31
  334. package/src/_internal/util/common/tokenizer.ts +0 -30
  335. package/src/_internal/util/common/tracing.ts +0 -52
  336. package/src/_internal/util/common/types.ts +0 -33
  337. package/src/_internal/util/common/variableLengthQuantity.ts +0 -40
  338. package/src/_internal/util/node/worker.ts +0 -130
  339. package/src/_internal/util/vs/base/common/arrays.ts +0 -926
  340. package/src/_internal/util/vs/base/common/arraysFind.ts +0 -206
  341. package/src/_internal/util/vs/base/common/assert.ts +0 -89
  342. package/src/_internal/util/vs/base/common/async.ts +0 -2582
  343. package/src/_internal/util/vs/base/common/buffer.ts +0 -501
  344. package/src/_internal/util/vs/base/common/cache.ts +0 -122
  345. package/src/_internal/util/vs/base/common/cancellation.ts +0 -150
  346. package/src/_internal/util/vs/base/common/charCode.ts +0 -452
  347. package/src/_internal/util/vs/base/common/codicons.ts +0 -66
  348. package/src/_internal/util/vs/base/common/codiconsLibrary.ts +0 -618
  349. package/src/_internal/util/vs/base/common/codiconsUtil.ts +0 -30
  350. package/src/_internal/util/vs/base/common/collections.ts +0 -156
  351. package/src/_internal/util/vs/base/common/diff/diff.ts +0 -1317
  352. package/src/_internal/util/vs/base/common/diff/diffChange.ts +0 -62
  353. package/src/_internal/util/vs/base/common/equals.ts +0 -148
  354. package/src/_internal/util/vs/base/common/errors.ts +0 -342
  355. package/src/_internal/util/vs/base/common/event.ts +0 -1782
  356. package/src/_internal/util/vs/base/common/extpath.ts +0 -425
  357. package/src/_internal/util/vs/base/common/filters.ts +0 -928
  358. package/src/_internal/util/vs/base/common/functional.ts +0 -34
  359. package/src/_internal/util/vs/base/common/glob.ts +0 -839
  360. package/src/_internal/util/vs/base/common/hash.ts +0 -326
  361. package/src/_internal/util/vs/base/common/htmlContent.ts +0 -212
  362. package/src/_internal/util/vs/base/common/iconLabels.ts +0 -118
  363. package/src/_internal/util/vs/base/common/iterator.ts +0 -196
  364. package/src/_internal/util/vs/base/common/lazy.ts +0 -59
  365. package/src/_internal/util/vs/base/common/lifecycle.ts +0 -845
  366. package/src/_internal/util/vs/base/common/linkedList.ts +0 -144
  367. package/src/_internal/util/vs/base/common/map.ts +0 -954
  368. package/src/_internal/util/vs/base/common/marshallingIds.ts +0 -35
  369. package/src/_internal/util/vs/base/common/mime.ts +0 -136
  370. package/src/_internal/util/vs/base/common/naturalLanguage/korean.ts +0 -425
  371. package/src/_internal/util/vs/base/common/network.ts +0 -429
  372. package/src/_internal/util/vs/base/common/numbers.ts +0 -166
  373. package/src/_internal/util/vs/base/common/objects.ts +0 -242
  374. package/src/_internal/util/vs/base/common/observable.ts +0 -10
  375. package/src/_internal/util/vs/base/common/observableInternal/base.ts +0 -208
  376. package/src/_internal/util/vs/base/common/observableInternal/changeTracker.ts +0 -96
  377. package/src/_internal/util/vs/base/common/observableInternal/commonFacade/cancellation.ts +0 -9
  378. package/src/_internal/util/vs/base/common/observableInternal/commonFacade/deps.ts +0 -12
  379. package/src/_internal/util/vs/base/common/observableInternal/debugLocation.ts +0 -88
  380. package/src/_internal/util/vs/base/common/observableInternal/debugName.ts +0 -150
  381. package/src/_internal/util/vs/base/common/observableInternal/experimental/utils.ts +0 -62
  382. package/src/_internal/util/vs/base/common/observableInternal/index.ts +0 -61
  383. package/src/_internal/util/vs/base/common/observableInternal/logging/consoleObservableLogger.ts +0 -388
  384. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerApi.d.ts +0 -154
  385. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/debuggerRpc.ts +0 -80
  386. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/devToolsLogger.ts +0 -485
  387. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/rpc.ts +0 -103
  388. package/src/_internal/util/vs/base/common/observableInternal/logging/debugger/utils.ts +0 -69
  389. package/src/_internal/util/vs/base/common/observableInternal/logging/logging.ts +0 -133
  390. package/src/_internal/util/vs/base/common/observableInternal/map.ts +0 -81
  391. package/src/_internal/util/vs/base/common/observableInternal/observables/baseObservable.ts +0 -172
  392. package/src/_internal/util/vs/base/common/observableInternal/observables/constObservable.ts +0 -44
  393. package/src/_internal/util/vs/base/common/observableInternal/observables/derived.ts +0 -190
  394. package/src/_internal/util/vs/base/common/observableInternal/observables/derivedImpl.ts +0 -445
  395. package/src/_internal/util/vs/base/common/observableInternal/observables/lazyObservableValue.ts +0 -154
  396. package/src/_internal/util/vs/base/common/observableInternal/observables/observableFromEvent.ts +0 -174
  397. package/src/_internal/util/vs/base/common/observableInternal/observables/observableSignal.ts +0 -67
  398. package/src/_internal/util/vs/base/common/observableInternal/observables/observableSignalFromEvent.ts +0 -62
  399. package/src/_internal/util/vs/base/common/observableInternal/observables/observableValue.ts +0 -131
  400. package/src/_internal/util/vs/base/common/observableInternal/observables/observableValueOpts.ts +0 -37
  401. package/src/_internal/util/vs/base/common/observableInternal/reactions/autorun.ts +0 -188
  402. package/src/_internal/util/vs/base/common/observableInternal/reactions/autorunImpl.ts +0 -256
  403. package/src/_internal/util/vs/base/common/observableInternal/set.ts +0 -78
  404. package/src/_internal/util/vs/base/common/observableInternal/transaction.ts +0 -115
  405. package/src/_internal/util/vs/base/common/observableInternal/utils/promise.ts +0 -129
  406. package/src/_internal/util/vs/base/common/observableInternal/utils/runOnChange.ts +0 -65
  407. package/src/_internal/util/vs/base/common/observableInternal/utils/utils.ts +0 -281
  408. package/src/_internal/util/vs/base/common/observableInternal/utils/utilsCancellation.ts +0 -101
  409. package/src/_internal/util/vs/base/common/observableInternal/utils/valueWithChangeEvent.ts +0 -31
  410. package/src/_internal/util/vs/base/common/path.ts +0 -1591
  411. package/src/_internal/util/vs/base/common/platform.ts +0 -282
  412. package/src/_internal/util/vs/base/common/process.ts +0 -78
  413. package/src/_internal/util/vs/base/common/resources.ts +0 -446
  414. package/src/_internal/util/vs/base/common/sequence.ts +0 -36
  415. package/src/_internal/util/vs/base/common/sseParser.ts +0 -247
  416. package/src/_internal/util/vs/base/common/stopwatch.ts +0 -43
  417. package/src/_internal/util/vs/base/common/stream.ts +0 -792
  418. package/src/_internal/util/vs/base/common/strings.ts +0 -1364
  419. package/src/_internal/util/vs/base/common/symbols.ts +0 -11
  420. package/src/_internal/util/vs/base/common/themables.ts +0 -106
  421. package/src/_internal/util/vs/base/common/types.ts +0 -345
  422. package/src/_internal/util/vs/base/common/uint.ts +0 -61
  423. package/src/_internal/util/vs/base/common/uri.ts +0 -752
  424. package/src/_internal/util/vs/base/common/uuid.ts +0 -72
  425. package/src/_internal/util/vs/base-common.d.ts +0 -42
  426. package/src/_internal/util/vs/editor/common/core/editOperation.ts +0 -62
  427. package/src/_internal/util/vs/editor/common/core/edits/edit.ts +0 -399
  428. package/src/_internal/util/vs/editor/common/core/edits/lineEdit.ts +0 -414
  429. package/src/_internal/util/vs/editor/common/core/edits/stringEdit.ts +0 -568
  430. package/src/_internal/util/vs/editor/common/core/edits/textEdit.ts +0 -411
  431. package/src/_internal/util/vs/editor/common/core/position.ts +0 -186
  432. package/src/_internal/util/vs/editor/common/core/range.ts +0 -519
  433. package/src/_internal/util/vs/editor/common/core/ranges/lineRange.ts +0 -416
  434. package/src/_internal/util/vs/editor/common/core/ranges/offsetRange.ts +0 -275
  435. package/src/_internal/util/vs/editor/common/core/text/abstractText.ts +0 -127
  436. package/src/_internal/util/vs/editor/common/core/text/positionToOffset.ts +0 -26
  437. package/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.ts +0 -144
  438. package/src/_internal/util/vs/editor/common/core/text/textLength.ts +0 -150
  439. package/src/_internal/util/vs/editor/common/core/wordHelper.ts +0 -177
  440. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.ts +0 -210
  441. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.ts +0 -109
  442. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.ts +0 -178
  443. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.ts +0 -331
  444. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.ts +0 -273
  445. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.ts +0 -475
  446. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.ts +0 -47
  447. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.ts +0 -248
  448. package/src/_internal/util/vs/editor/common/diff/defaultLinesDiffComputer/utils.ts +0 -76
  449. package/src/_internal/util/vs/editor/common/diff/legacyLinesDiffComputer.ts +0 -693
  450. package/src/_internal/util/vs/editor/common/diff/linesDiffComputer.ts +0 -61
  451. package/src/_internal/util/vs/editor/common/diff/rangeMapping.ts +0 -418
  452. package/src/_internal/util/vs/editor/common/model/prefixSumComputer.ts +0 -304
  453. package/src/_internal/util/vs/nls.messages.ts +0 -21
  454. package/src/_internal/util/vs/nls.ts +0 -243
  455. package/src/_internal/util/vs/platform/instantiation/common/descriptors.ts +0 -23
  456. package/src/_internal/util/vs/platform/instantiation/common/graph.ts +0 -113
  457. package/src/_internal/util/vs/platform/instantiation/common/instantiation.ts +0 -127
  458. package/src/_internal/util/vs/platform/instantiation/common/instantiationService.ts +0 -483
  459. package/src/_internal/util/vs/platform/instantiation/common/serviceCollection.ts +0 -34
  460. package/src/_internal/util/vs/vscode-globals-nls.d.ts +0 -42
  461. package/src/_internal/util/vs/vscode-globals-product.d.ts +0 -35
  462. package/src/_internal/util/vs/workbench/api/common/extHostTypes/diagnostic.ts +0 -109
  463. package/src/_internal/util/vs/workbench/api/common/extHostTypes/es5ClassCompat.ts +0 -34
  464. package/src/_internal/util/vs/workbench/api/common/extHostTypes/location.ts +0 -51
  465. package/src/_internal/util/vs/workbench/api/common/extHostTypes/markdownString.ts +0 -83
  466. package/src/_internal/util/vs/workbench/api/common/extHostTypes/notebooks.ts +0 -296
  467. package/src/_internal/util/vs/workbench/api/common/extHostTypes/position.ts +0 -195
  468. package/src/_internal/util/vs/workbench/api/common/extHostTypes/range.ts +0 -167
  469. package/src/_internal/util/vs/workbench/api/common/extHostTypes/selection.ts +0 -94
  470. package/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetString.ts +0 -103
  471. package/src/_internal/util/vs/workbench/api/common/extHostTypes/snippetTextEdit.ts +0 -44
  472. package/src/_internal/util/vs/workbench/api/common/extHostTypes/symbolInformation.ts +0 -89
  473. package/src/_internal/util/vs/workbench/api/common/extHostTypes/textEdit.ts +0 -99
  474. package/src/_internal/vscodeTypes.ts +0 -100
  475. package/src/main.ts +0 -207
  476. package/src/package.json +0 -4063
@@ -1,150 +0,0 @@
1
- //!!! DO NOT modify, this file was COPIED from 'microsoft/vscode'
2
-
3
- /*---------------------------------------------------------------------------------------------
4
- * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Licensed under the MIT License. See License.txt in the project root for license information.
6
- *--------------------------------------------------------------------------------------------*/
7
-
8
- import { Emitter, Event } from './event';
9
- import { DisposableStore, IDisposable } from './lifecycle';
10
-
11
- export interface CancellationToken {
12
-
13
- /**
14
- * A flag signalling is cancellation has been requested.
15
- */
16
- readonly isCancellationRequested: boolean;
17
-
18
- /**
19
- * An event which fires when cancellation is requested. This event
20
- * only ever fires `once` as cancellation can only happen once. Listeners
21
- * that are registered after cancellation will be called (next event loop run),
22
- * but also only once.
23
- *
24
- * @event
25
- */
26
- readonly onCancellationRequested: (listener: (e: any) => any, thisArgs?: any, disposables?: IDisposable[]) => IDisposable;
27
- }
28
-
29
- const shortcutEvent: Event<any> = Object.freeze(function (callback, context?): IDisposable {
30
- const handle = setTimeout(callback.bind(context), 0);
31
- return { dispose() { clearTimeout(handle); } };
32
- });
33
-
34
- export namespace CancellationToken {
35
-
36
- export function isCancellationToken(thing: unknown): thing is CancellationToken {
37
- if (thing === CancellationToken.None || thing === CancellationToken.Cancelled) {
38
- return true;
39
- }
40
- if (thing instanceof MutableToken) {
41
- return true;
42
- }
43
- if (!thing || typeof thing !== 'object') {
44
- return false;
45
- }
46
- return typeof (thing as CancellationToken).isCancellationRequested === 'boolean'
47
- && typeof (thing as CancellationToken).onCancellationRequested === 'function';
48
- }
49
-
50
-
51
- export const None = Object.freeze<CancellationToken>({
52
- isCancellationRequested: false,
53
- onCancellationRequested: Event.None
54
- });
55
-
56
- export const Cancelled = Object.freeze<CancellationToken>({
57
- isCancellationRequested: true,
58
- onCancellationRequested: shortcutEvent
59
- });
60
- }
61
-
62
- class MutableToken implements CancellationToken {
63
-
64
- private _isCancelled: boolean = false;
65
- private _emitter: Emitter<any> | null = null;
66
-
67
- public cancel() {
68
- if (!this._isCancelled) {
69
- this._isCancelled = true;
70
- if (this._emitter) {
71
- this._emitter.fire(undefined);
72
- this.dispose();
73
- }
74
- }
75
- }
76
-
77
- get isCancellationRequested(): boolean {
78
- return this._isCancelled;
79
- }
80
-
81
- get onCancellationRequested(): Event<any> {
82
- if (this._isCancelled) {
83
- return shortcutEvent;
84
- }
85
- if (!this._emitter) {
86
- this._emitter = new Emitter<any>();
87
- }
88
- return this._emitter.event;
89
- }
90
-
91
- public dispose(): void {
92
- if (this._emitter) {
93
- this._emitter.dispose();
94
- this._emitter = null;
95
- }
96
- }
97
- }
98
-
99
- export class CancellationTokenSource {
100
-
101
- private _token?: CancellationToken = undefined;
102
- private _parentListener?: IDisposable = undefined;
103
-
104
- constructor(parent?: CancellationToken) {
105
- this._parentListener = parent && parent.onCancellationRequested(this.cancel, this);
106
- }
107
-
108
- get token(): CancellationToken {
109
- if (!this._token) {
110
- // be lazy and create the token only when
111
- // actually needed
112
- this._token = new MutableToken();
113
- }
114
- return this._token;
115
- }
116
-
117
- cancel(): void {
118
- if (!this._token) {
119
- // save an object by returning the default
120
- // cancelled token when cancellation happens
121
- // before someone asks for the token
122
- this._token = CancellationToken.Cancelled;
123
-
124
- } else if (this._token instanceof MutableToken) {
125
- // actually cancel
126
- this._token.cancel();
127
- }
128
- }
129
-
130
- dispose(cancel: boolean = false): void {
131
- if (cancel) {
132
- this.cancel();
133
- }
134
- this._parentListener?.dispose();
135
- if (!this._token) {
136
- // ensure to initialize with an empty token if we had none
137
- this._token = CancellationToken.None;
138
-
139
- } else if (this._token instanceof MutableToken) {
140
- // actually dispose
141
- this._token.dispose();
142
- }
143
- }
144
- }
145
-
146
- export function cancelOnDispose(store: DisposableStore): CancellationToken {
147
- const source = new CancellationTokenSource();
148
- store.add({ dispose() { source.cancel(); } });
149
- return source.token;
150
- }
@@ -1,452 +0,0 @@
1
- //!!! DO NOT modify, this file was COPIED from 'microsoft/vscode'
2
-
3
- /*---------------------------------------------------------------------------------------------
4
- * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Licensed under the MIT License. See License.txt in the project root for license information.
6
- *--------------------------------------------------------------------------------------------*/
7
-
8
- // Names from https://blog.codinghorror.com/ascii-pronunciation-rules-for-programmers/
9
-
10
- /**
11
- * An inlined enum containing useful character codes (to be used with String.charCodeAt).
12
- * Please leave the const keyword such that it gets inlined when compiled to JavaScript!
13
- */
14
- export const enum CharCode {
15
- Null = 0,
16
- /**
17
- * The `\b` character.
18
- */
19
- Backspace = 8,
20
- /**
21
- * The `\t` character.
22
- */
23
- Tab = 9,
24
- /**
25
- * The `\n` character.
26
- */
27
- LineFeed = 10,
28
- /**
29
- * The `\r` character.
30
- */
31
- CarriageReturn = 13,
32
- Space = 32,
33
- /**
34
- * The `!` character.
35
- */
36
- ExclamationMark = 33,
37
- /**
38
- * The `"` character.
39
- */
40
- DoubleQuote = 34,
41
- /**
42
- * The `#` character.
43
- */
44
- Hash = 35,
45
- /**
46
- * The `$` character.
47
- */
48
- DollarSign = 36,
49
- /**
50
- * The `%` character.
51
- */
52
- PercentSign = 37,
53
- /**
54
- * The `&` character.
55
- */
56
- Ampersand = 38,
57
- /**
58
- * The `'` character.
59
- */
60
- SingleQuote = 39,
61
- /**
62
- * The `(` character.
63
- */
64
- OpenParen = 40,
65
- /**
66
- * The `)` character.
67
- */
68
- CloseParen = 41,
69
- /**
70
- * The `*` character.
71
- */
72
- Asterisk = 42,
73
- /**
74
- * The `+` character.
75
- */
76
- Plus = 43,
77
- /**
78
- * The `,` character.
79
- */
80
- Comma = 44,
81
- /**
82
- * The `-` character.
83
- */
84
- Dash = 45,
85
- /**
86
- * The `.` character.
87
- */
88
- Period = 46,
89
- /**
90
- * The `/` character.
91
- */
92
- Slash = 47,
93
-
94
- Digit0 = 48,
95
- Digit1 = 49,
96
- Digit2 = 50,
97
- Digit3 = 51,
98
- Digit4 = 52,
99
- Digit5 = 53,
100
- Digit6 = 54,
101
- Digit7 = 55,
102
- Digit8 = 56,
103
- Digit9 = 57,
104
-
105
- /**
106
- * The `:` character.
107
- */
108
- Colon = 58,
109
- /**
110
- * The `;` character.
111
- */
112
- Semicolon = 59,
113
- /**
114
- * The `<` character.
115
- */
116
- LessThan = 60,
117
- /**
118
- * The `=` character.
119
- */
120
- Equals = 61,
121
- /**
122
- * The `>` character.
123
- */
124
- GreaterThan = 62,
125
- /**
126
- * The `?` character.
127
- */
128
- QuestionMark = 63,
129
- /**
130
- * The `@` character.
131
- */
132
- AtSign = 64,
133
-
134
- A = 65,
135
- B = 66,
136
- C = 67,
137
- D = 68,
138
- E = 69,
139
- F = 70,
140
- G = 71,
141
- H = 72,
142
- I = 73,
143
- J = 74,
144
- K = 75,
145
- L = 76,
146
- M = 77,
147
- N = 78,
148
- O = 79,
149
- P = 80,
150
- Q = 81,
151
- R = 82,
152
- S = 83,
153
- T = 84,
154
- U = 85,
155
- V = 86,
156
- W = 87,
157
- X = 88,
158
- Y = 89,
159
- Z = 90,
160
-
161
- /**
162
- * The `[` character.
163
- */
164
- OpenSquareBracket = 91,
165
- /**
166
- * The `\` character.
167
- */
168
- Backslash = 92,
169
- /**
170
- * The `]` character.
171
- */
172
- CloseSquareBracket = 93,
173
- /**
174
- * The `^` character.
175
- */
176
- Caret = 94,
177
- /**
178
- * The `_` character.
179
- */
180
- Underline = 95,
181
- /**
182
- * The ``(`)`` character.
183
- */
184
- BackTick = 96,
185
-
186
- a = 97,
187
- b = 98,
188
- c = 99,
189
- d = 100,
190
- e = 101,
191
- f = 102,
192
- g = 103,
193
- h = 104,
194
- i = 105,
195
- j = 106,
196
- k = 107,
197
- l = 108,
198
- m = 109,
199
- n = 110,
200
- o = 111,
201
- p = 112,
202
- q = 113,
203
- r = 114,
204
- s = 115,
205
- t = 116,
206
- u = 117,
207
- v = 118,
208
- w = 119,
209
- x = 120,
210
- y = 121,
211
- z = 122,
212
-
213
- /**
214
- * The `{` character.
215
- */
216
- OpenCurlyBrace = 123,
217
- /**
218
- * The `|` character.
219
- */
220
- Pipe = 124,
221
- /**
222
- * The `}` character.
223
- */
224
- CloseCurlyBrace = 125,
225
- /**
226
- * The `~` character.
227
- */
228
- Tilde = 126,
229
-
230
- /**
231
- * The &nbsp; (no-break space) character.
232
- * Unicode Character 'NO-BREAK SPACE' (U+00A0)
233
- */
234
- NoBreakSpace = 160,
235
-
236
- U_Combining_Grave_Accent = 0x0300, // U+0300 Combining Grave Accent
237
- U_Combining_Acute_Accent = 0x0301, // U+0301 Combining Acute Accent
238
- U_Combining_Circumflex_Accent = 0x0302, // U+0302 Combining Circumflex Accent
239
- U_Combining_Tilde = 0x0303, // U+0303 Combining Tilde
240
- U_Combining_Macron = 0x0304, // U+0304 Combining Macron
241
- U_Combining_Overline = 0x0305, // U+0305 Combining Overline
242
- U_Combining_Breve = 0x0306, // U+0306 Combining Breve
243
- U_Combining_Dot_Above = 0x0307, // U+0307 Combining Dot Above
244
- U_Combining_Diaeresis = 0x0308, // U+0308 Combining Diaeresis
245
- U_Combining_Hook_Above = 0x0309, // U+0309 Combining Hook Above
246
- U_Combining_Ring_Above = 0x030A, // U+030A Combining Ring Above
247
- U_Combining_Double_Acute_Accent = 0x030B, // U+030B Combining Double Acute Accent
248
- U_Combining_Caron = 0x030C, // U+030C Combining Caron
249
- U_Combining_Vertical_Line_Above = 0x030D, // U+030D Combining Vertical Line Above
250
- U_Combining_Double_Vertical_Line_Above = 0x030E, // U+030E Combining Double Vertical Line Above
251
- U_Combining_Double_Grave_Accent = 0x030F, // U+030F Combining Double Grave Accent
252
- U_Combining_Candrabindu = 0x0310, // U+0310 Combining Candrabindu
253
- U_Combining_Inverted_Breve = 0x0311, // U+0311 Combining Inverted Breve
254
- U_Combining_Turned_Comma_Above = 0x0312, // U+0312 Combining Turned Comma Above
255
- U_Combining_Comma_Above = 0x0313, // U+0313 Combining Comma Above
256
- U_Combining_Reversed_Comma_Above = 0x0314, // U+0314 Combining Reversed Comma Above
257
- U_Combining_Comma_Above_Right = 0x0315, // U+0315 Combining Comma Above Right
258
- U_Combining_Grave_Accent_Below = 0x0316, // U+0316 Combining Grave Accent Below
259
- U_Combining_Acute_Accent_Below = 0x0317, // U+0317 Combining Acute Accent Below
260
- U_Combining_Left_Tack_Below = 0x0318, // U+0318 Combining Left Tack Below
261
- U_Combining_Right_Tack_Below = 0x0319, // U+0319 Combining Right Tack Below
262
- U_Combining_Left_Angle_Above = 0x031A, // U+031A Combining Left Angle Above
263
- U_Combining_Horn = 0x031B, // U+031B Combining Horn
264
- U_Combining_Left_Half_Ring_Below = 0x031C, // U+031C Combining Left Half Ring Below
265
- U_Combining_Up_Tack_Below = 0x031D, // U+031D Combining Up Tack Below
266
- U_Combining_Down_Tack_Below = 0x031E, // U+031E Combining Down Tack Below
267
- U_Combining_Plus_Sign_Below = 0x031F, // U+031F Combining Plus Sign Below
268
- U_Combining_Minus_Sign_Below = 0x0320, // U+0320 Combining Minus Sign Below
269
- U_Combining_Palatalized_Hook_Below = 0x0321, // U+0321 Combining Palatalized Hook Below
270
- U_Combining_Retroflex_Hook_Below = 0x0322, // U+0322 Combining Retroflex Hook Below
271
- U_Combining_Dot_Below = 0x0323, // U+0323 Combining Dot Below
272
- U_Combining_Diaeresis_Below = 0x0324, // U+0324 Combining Diaeresis Below
273
- U_Combining_Ring_Below = 0x0325, // U+0325 Combining Ring Below
274
- U_Combining_Comma_Below = 0x0326, // U+0326 Combining Comma Below
275
- U_Combining_Cedilla = 0x0327, // U+0327 Combining Cedilla
276
- U_Combining_Ogonek = 0x0328, // U+0328 Combining Ogonek
277
- U_Combining_Vertical_Line_Below = 0x0329, // U+0329 Combining Vertical Line Below
278
- U_Combining_Bridge_Below = 0x032A, // U+032A Combining Bridge Below
279
- U_Combining_Inverted_Double_Arch_Below = 0x032B, // U+032B Combining Inverted Double Arch Below
280
- U_Combining_Caron_Below = 0x032C, // U+032C Combining Caron Below
281
- U_Combining_Circumflex_Accent_Below = 0x032D, // U+032D Combining Circumflex Accent Below
282
- U_Combining_Breve_Below = 0x032E, // U+032E Combining Breve Below
283
- U_Combining_Inverted_Breve_Below = 0x032F, // U+032F Combining Inverted Breve Below
284
- U_Combining_Tilde_Below = 0x0330, // U+0330 Combining Tilde Below
285
- U_Combining_Macron_Below = 0x0331, // U+0331 Combining Macron Below
286
- U_Combining_Low_Line = 0x0332, // U+0332 Combining Low Line
287
- U_Combining_Double_Low_Line = 0x0333, // U+0333 Combining Double Low Line
288
- U_Combining_Tilde_Overlay = 0x0334, // U+0334 Combining Tilde Overlay
289
- U_Combining_Short_Stroke_Overlay = 0x0335, // U+0335 Combining Short Stroke Overlay
290
- U_Combining_Long_Stroke_Overlay = 0x0336, // U+0336 Combining Long Stroke Overlay
291
- U_Combining_Short_Solidus_Overlay = 0x0337, // U+0337 Combining Short Solidus Overlay
292
- U_Combining_Long_Solidus_Overlay = 0x0338, // U+0338 Combining Long Solidus Overlay
293
- U_Combining_Right_Half_Ring_Below = 0x0339, // U+0339 Combining Right Half Ring Below
294
- U_Combining_Inverted_Bridge_Below = 0x033A, // U+033A Combining Inverted Bridge Below
295
- U_Combining_Square_Below = 0x033B, // U+033B Combining Square Below
296
- U_Combining_Seagull_Below = 0x033C, // U+033C Combining Seagull Below
297
- U_Combining_X_Above = 0x033D, // U+033D Combining X Above
298
- U_Combining_Vertical_Tilde = 0x033E, // U+033E Combining Vertical Tilde
299
- U_Combining_Double_Overline = 0x033F, // U+033F Combining Double Overline
300
- U_Combining_Grave_Tone_Mark = 0x0340, // U+0340 Combining Grave Tone Mark
301
- U_Combining_Acute_Tone_Mark = 0x0341, // U+0341 Combining Acute Tone Mark
302
- U_Combining_Greek_Perispomeni = 0x0342, // U+0342 Combining Greek Perispomeni
303
- U_Combining_Greek_Koronis = 0x0343, // U+0343 Combining Greek Koronis
304
- U_Combining_Greek_Dialytika_Tonos = 0x0344, // U+0344 Combining Greek Dialytika Tonos
305
- U_Combining_Greek_Ypogegrammeni = 0x0345, // U+0345 Combining Greek Ypogegrammeni
306
- U_Combining_Bridge_Above = 0x0346, // U+0346 Combining Bridge Above
307
- U_Combining_Equals_Sign_Below = 0x0347, // U+0347 Combining Equals Sign Below
308
- U_Combining_Double_Vertical_Line_Below = 0x0348, // U+0348 Combining Double Vertical Line Below
309
- U_Combining_Left_Angle_Below = 0x0349, // U+0349 Combining Left Angle Below
310
- U_Combining_Not_Tilde_Above = 0x034A, // U+034A Combining Not Tilde Above
311
- U_Combining_Homothetic_Above = 0x034B, // U+034B Combining Homothetic Above
312
- U_Combining_Almost_Equal_To_Above = 0x034C, // U+034C Combining Almost Equal To Above
313
- U_Combining_Left_Right_Arrow_Below = 0x034D, // U+034D Combining Left Right Arrow Below
314
- U_Combining_Upwards_Arrow_Below = 0x034E, // U+034E Combining Upwards Arrow Below
315
- U_Combining_Grapheme_Joiner = 0x034F, // U+034F Combining Grapheme Joiner
316
- U_Combining_Right_Arrowhead_Above = 0x0350, // U+0350 Combining Right Arrowhead Above
317
- U_Combining_Left_Half_Ring_Above = 0x0351, // U+0351 Combining Left Half Ring Above
318
- U_Combining_Fermata = 0x0352, // U+0352 Combining Fermata
319
- U_Combining_X_Below = 0x0353, // U+0353 Combining X Below
320
- U_Combining_Left_Arrowhead_Below = 0x0354, // U+0354 Combining Left Arrowhead Below
321
- U_Combining_Right_Arrowhead_Below = 0x0355, // U+0355 Combining Right Arrowhead Below
322
- U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below = 0x0356, // U+0356 Combining Right Arrowhead And Up Arrowhead Below
323
- U_Combining_Right_Half_Ring_Above = 0x0357, // U+0357 Combining Right Half Ring Above
324
- U_Combining_Dot_Above_Right = 0x0358, // U+0358 Combining Dot Above Right
325
- U_Combining_Asterisk_Below = 0x0359, // U+0359 Combining Asterisk Below
326
- U_Combining_Double_Ring_Below = 0x035A, // U+035A Combining Double Ring Below
327
- U_Combining_Zigzag_Above = 0x035B, // U+035B Combining Zigzag Above
328
- U_Combining_Double_Breve_Below = 0x035C, // U+035C Combining Double Breve Below
329
- U_Combining_Double_Breve = 0x035D, // U+035D Combining Double Breve
330
- U_Combining_Double_Macron = 0x035E, // U+035E Combining Double Macron
331
- U_Combining_Double_Macron_Below = 0x035F, // U+035F Combining Double Macron Below
332
- U_Combining_Double_Tilde = 0x0360, // U+0360 Combining Double Tilde
333
- U_Combining_Double_Inverted_Breve = 0x0361, // U+0361 Combining Double Inverted Breve
334
- U_Combining_Double_Rightwards_Arrow_Below = 0x0362, // U+0362 Combining Double Rightwards Arrow Below
335
- U_Combining_Latin_Small_Letter_A = 0x0363, // U+0363 Combining Latin Small Letter A
336
- U_Combining_Latin_Small_Letter_E = 0x0364, // U+0364 Combining Latin Small Letter E
337
- U_Combining_Latin_Small_Letter_I = 0x0365, // U+0365 Combining Latin Small Letter I
338
- U_Combining_Latin_Small_Letter_O = 0x0366, // U+0366 Combining Latin Small Letter O
339
- U_Combining_Latin_Small_Letter_U = 0x0367, // U+0367 Combining Latin Small Letter U
340
- U_Combining_Latin_Small_Letter_C = 0x0368, // U+0368 Combining Latin Small Letter C
341
- U_Combining_Latin_Small_Letter_D = 0x0369, // U+0369 Combining Latin Small Letter D
342
- U_Combining_Latin_Small_Letter_H = 0x036A, // U+036A Combining Latin Small Letter H
343
- U_Combining_Latin_Small_Letter_M = 0x036B, // U+036B Combining Latin Small Letter M
344
- U_Combining_Latin_Small_Letter_R = 0x036C, // U+036C Combining Latin Small Letter R
345
- U_Combining_Latin_Small_Letter_T = 0x036D, // U+036D Combining Latin Small Letter T
346
- U_Combining_Latin_Small_Letter_V = 0x036E, // U+036E Combining Latin Small Letter V
347
- U_Combining_Latin_Small_Letter_X = 0x036F, // U+036F Combining Latin Small Letter X
348
-
349
- /**
350
- * Unicode Character 'LINE SEPARATOR' (U+2028)
351
- * http://www.fileformat.info/info/unicode/char/2028/index.htm
352
- */
353
- LINE_SEPARATOR = 0x2028,
354
- /**
355
- * Unicode Character 'PARAGRAPH SEPARATOR' (U+2029)
356
- * http://www.fileformat.info/info/unicode/char/2029/index.htm
357
- */
358
- PARAGRAPH_SEPARATOR = 0x2029,
359
- /**
360
- * Unicode Character 'NEXT LINE' (U+0085)
361
- * http://www.fileformat.info/info/unicode/char/0085/index.htm
362
- */
363
- NEXT_LINE = 0x0085,
364
-
365
- // http://www.fileformat.info/info/unicode/category/Sk/list.htm
366
- U_CIRCUMFLEX = 0x005E, // U+005E CIRCUMFLEX
367
- U_GRAVE_ACCENT = 0x0060, // U+0060 GRAVE ACCENT
368
- U_DIAERESIS = 0x00A8, // U+00A8 DIAERESIS
369
- U_MACRON = 0x00AF, // U+00AF MACRON
370
- U_ACUTE_ACCENT = 0x00B4, // U+00B4 ACUTE ACCENT
371
- U_CEDILLA = 0x00B8, // U+00B8 CEDILLA
372
- U_MODIFIER_LETTER_LEFT_ARROWHEAD = 0x02C2, // U+02C2 MODIFIER LETTER LEFT ARROWHEAD
373
- U_MODIFIER_LETTER_RIGHT_ARROWHEAD = 0x02C3, // U+02C3 MODIFIER LETTER RIGHT ARROWHEAD
374
- U_MODIFIER_LETTER_UP_ARROWHEAD = 0x02C4, // U+02C4 MODIFIER LETTER UP ARROWHEAD
375
- U_MODIFIER_LETTER_DOWN_ARROWHEAD = 0x02C5, // U+02C5 MODIFIER LETTER DOWN ARROWHEAD
376
- U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING = 0x02D2, // U+02D2 MODIFIER LETTER CENTRED RIGHT HALF RING
377
- U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING = 0x02D3, // U+02D3 MODIFIER LETTER CENTRED LEFT HALF RING
378
- U_MODIFIER_LETTER_UP_TACK = 0x02D4, // U+02D4 MODIFIER LETTER UP TACK
379
- U_MODIFIER_LETTER_DOWN_TACK = 0x02D5, // U+02D5 MODIFIER LETTER DOWN TACK
380
- U_MODIFIER_LETTER_PLUS_SIGN = 0x02D6, // U+02D6 MODIFIER LETTER PLUS SIGN
381
- U_MODIFIER_LETTER_MINUS_SIGN = 0x02D7, // U+02D7 MODIFIER LETTER MINUS SIGN
382
- U_BREVE = 0x02D8, // U+02D8 BREVE
383
- U_DOT_ABOVE = 0x02D9, // U+02D9 DOT ABOVE
384
- U_RING_ABOVE = 0x02DA, // U+02DA RING ABOVE
385
- U_OGONEK = 0x02DB, // U+02DB OGONEK
386
- U_SMALL_TILDE = 0x02DC, // U+02DC SMALL TILDE
387
- U_DOUBLE_ACUTE_ACCENT = 0x02DD, // U+02DD DOUBLE ACUTE ACCENT
388
- U_MODIFIER_LETTER_RHOTIC_HOOK = 0x02DE, // U+02DE MODIFIER LETTER RHOTIC HOOK
389
- U_MODIFIER_LETTER_CROSS_ACCENT = 0x02DF, // U+02DF MODIFIER LETTER CROSS ACCENT
390
- U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR = 0x02E5, // U+02E5 MODIFIER LETTER EXTRA-HIGH TONE BAR
391
- U_MODIFIER_LETTER_HIGH_TONE_BAR = 0x02E6, // U+02E6 MODIFIER LETTER HIGH TONE BAR
392
- U_MODIFIER_LETTER_MID_TONE_BAR = 0x02E7, // U+02E7 MODIFIER LETTER MID TONE BAR
393
- U_MODIFIER_LETTER_LOW_TONE_BAR = 0x02E8, // U+02E8 MODIFIER LETTER LOW TONE BAR
394
- U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR = 0x02E9, // U+02E9 MODIFIER LETTER EXTRA-LOW TONE BAR
395
- U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK = 0x02EA, // U+02EA MODIFIER LETTER YIN DEPARTING TONE MARK
396
- U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK = 0x02EB, // U+02EB MODIFIER LETTER YANG DEPARTING TONE MARK
397
- U_MODIFIER_LETTER_UNASPIRATED = 0x02ED, // U+02ED MODIFIER LETTER UNASPIRATED
398
- U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD = 0x02EF, // U+02EF MODIFIER LETTER LOW DOWN ARROWHEAD
399
- U_MODIFIER_LETTER_LOW_UP_ARROWHEAD = 0x02F0, // U+02F0 MODIFIER LETTER LOW UP ARROWHEAD
400
- U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD = 0x02F1, // U+02F1 MODIFIER LETTER LOW LEFT ARROWHEAD
401
- U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD = 0x02F2, // U+02F2 MODIFIER LETTER LOW RIGHT ARROWHEAD
402
- U_MODIFIER_LETTER_LOW_RING = 0x02F3, // U+02F3 MODIFIER LETTER LOW RING
403
- U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT = 0x02F4, // U+02F4 MODIFIER LETTER MIDDLE GRAVE ACCENT
404
- U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT = 0x02F5, // U+02F5 MODIFIER LETTER MIDDLE DOUBLE GRAVE ACCENT
405
- U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT = 0x02F6, // U+02F6 MODIFIER LETTER MIDDLE DOUBLE ACUTE ACCENT
406
- U_MODIFIER_LETTER_LOW_TILDE = 0x02F7, // U+02F7 MODIFIER LETTER LOW TILDE
407
- U_MODIFIER_LETTER_RAISED_COLON = 0x02F8, // U+02F8 MODIFIER LETTER RAISED COLON
408
- U_MODIFIER_LETTER_BEGIN_HIGH_TONE = 0x02F9, // U+02F9 MODIFIER LETTER BEGIN HIGH TONE
409
- U_MODIFIER_LETTER_END_HIGH_TONE = 0x02FA, // U+02FA MODIFIER LETTER END HIGH TONE
410
- U_MODIFIER_LETTER_BEGIN_LOW_TONE = 0x02FB, // U+02FB MODIFIER LETTER BEGIN LOW TONE
411
- U_MODIFIER_LETTER_END_LOW_TONE = 0x02FC, // U+02FC MODIFIER LETTER END LOW TONE
412
- U_MODIFIER_LETTER_SHELF = 0x02FD, // U+02FD MODIFIER LETTER SHELF
413
- U_MODIFIER_LETTER_OPEN_SHELF = 0x02FE, // U+02FE MODIFIER LETTER OPEN SHELF
414
- U_MODIFIER_LETTER_LOW_LEFT_ARROW = 0x02FF, // U+02FF MODIFIER LETTER LOW LEFT ARROW
415
- U_GREEK_LOWER_NUMERAL_SIGN = 0x0375, // U+0375 GREEK LOWER NUMERAL SIGN
416
- U_GREEK_TONOS = 0x0384, // U+0384 GREEK TONOS
417
- U_GREEK_DIALYTIKA_TONOS = 0x0385, // U+0385 GREEK DIALYTIKA TONOS
418
- U_GREEK_KORONIS = 0x1FBD, // U+1FBD GREEK KORONIS
419
- U_GREEK_PSILI = 0x1FBF, // U+1FBF GREEK PSILI
420
- U_GREEK_PERISPOMENI = 0x1FC0, // U+1FC0 GREEK PERISPOMENI
421
- U_GREEK_DIALYTIKA_AND_PERISPOMENI = 0x1FC1, // U+1FC1 GREEK DIALYTIKA AND PERISPOMENI
422
- U_GREEK_PSILI_AND_VARIA = 0x1FCD, // U+1FCD GREEK PSILI AND VARIA
423
- U_GREEK_PSILI_AND_OXIA = 0x1FCE, // U+1FCE GREEK PSILI AND OXIA
424
- U_GREEK_PSILI_AND_PERISPOMENI = 0x1FCF, // U+1FCF GREEK PSILI AND PERISPOMENI
425
- U_GREEK_DASIA_AND_VARIA = 0x1FDD, // U+1FDD GREEK DASIA AND VARIA
426
- U_GREEK_DASIA_AND_OXIA = 0x1FDE, // U+1FDE GREEK DASIA AND OXIA
427
- U_GREEK_DASIA_AND_PERISPOMENI = 0x1FDF, // U+1FDF GREEK DASIA AND PERISPOMENI
428
- U_GREEK_DIALYTIKA_AND_VARIA = 0x1FED, // U+1FED GREEK DIALYTIKA AND VARIA
429
- U_GREEK_DIALYTIKA_AND_OXIA = 0x1FEE, // U+1FEE GREEK DIALYTIKA AND OXIA
430
- U_GREEK_VARIA = 0x1FEF, // U+1FEF GREEK VARIA
431
- U_GREEK_OXIA = 0x1FFD, // U+1FFD GREEK OXIA
432
- U_GREEK_DASIA = 0x1FFE, // U+1FFE GREEK DASIA
433
-
434
- U_IDEOGRAPHIC_FULL_STOP = 0x3002, // U+3002 IDEOGRAPHIC FULL STOP
435
- U_LEFT_CORNER_BRACKET = 0x300C, // U+300C LEFT CORNER BRACKET
436
- U_RIGHT_CORNER_BRACKET = 0x300D, // U+300D RIGHT CORNER BRACKET
437
- U_LEFT_BLACK_LENTICULAR_BRACKET = 0x3010, // U+3010 LEFT BLACK LENTICULAR BRACKET
438
- U_RIGHT_BLACK_LENTICULAR_BRACKET = 0x3011, // U+3011 RIGHT BLACK LENTICULAR BRACKET
439
-
440
-
441
- U_OVERLINE = 0x203E, // Unicode Character 'OVERLINE'
442
-
443
- /**
444
- * UTF-8 BOM
445
- * Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)
446
- * http://www.fileformat.info/info/unicode/char/feff/index.htm
447
- */
448
- UTF8_BOM = 65279,
449
-
450
- U_FULLWIDTH_SEMICOLON = 0xFF1B, // U+FF1B FULLWIDTH SEMICOLON
451
- U_FULLWIDTH_COMMA = 0xFF0C, // U+FF0C FULLWIDTH COMMA
452
- }
@@ -1,66 +0,0 @@
1
- //!!! DO NOT modify, this file was COPIED from 'microsoft/vscode'
2
-
3
- /*---------------------------------------------------------------------------------------------
4
- * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Licensed under the MIT License. See License.txt in the project root for license information.
6
- *--------------------------------------------------------------------------------------------*/
7
- import { ThemeIcon } from './themables';
8
- import { register } from './codiconsUtil';
9
- import { codiconsLibrary } from './codiconsLibrary';
10
-
11
-
12
- /**
13
- * Only to be used by the iconRegistry.
14
- */
15
- export function getAllCodicons(): ThemeIcon[] {
16
- return Object.values(Codicon);
17
- }
18
-
19
- /**
20
- * Derived icons, that could become separate icons.
21
- * These mappings should be moved into the mapping file in the vscode-codicons repo at some point.
22
- */
23
- export const codiconsDerived = {
24
- dialogError: register('dialog-error', 'error'),
25
- dialogWarning: register('dialog-warning', 'warning'),
26
- dialogInfo: register('dialog-info', 'info'),
27
- dialogClose: register('dialog-close', 'close'),
28
- treeItemExpanded: register('tree-item-expanded', 'chevron-down'), // collapsed is done with rotation
29
- treeFilterOnTypeOn: register('tree-filter-on-type-on', 'list-filter'),
30
- treeFilterOnTypeOff: register('tree-filter-on-type-off', 'list-selection'),
31
- treeFilterClear: register('tree-filter-clear', 'close'),
32
- treeItemLoading: register('tree-item-loading', 'loading'),
33
- menuSelection: register('menu-selection', 'check'),
34
- menuSubmenu: register('menu-submenu', 'chevron-right'),
35
- menuBarMore: register('menubar-more', 'more'),
36
- scrollbarButtonLeft: register('scrollbar-button-left', 'triangle-left'),
37
- scrollbarButtonRight: register('scrollbar-button-right', 'triangle-right'),
38
- scrollbarButtonUp: register('scrollbar-button-up', 'triangle-up'),
39
- scrollbarButtonDown: register('scrollbar-button-down', 'triangle-down'),
40
- toolBarMore: register('toolbar-more', 'more'),
41
- quickInputBack: register('quick-input-back', 'arrow-left'),
42
- dropDownButton: register('drop-down-button', 0xeab4),
43
- symbolCustomColor: register('symbol-customcolor', 0xeb5c),
44
- exportIcon: register('export', 0xebac),
45
- workspaceUnspecified: register('workspace-unspecified', 0xebc3),
46
- newLine: register('newline', 0xebea),
47
- thumbsDownFilled: register('thumbsdown-filled', 0xec13),
48
- thumbsUpFilled: register('thumbsup-filled', 0xec14),
49
- gitFetch: register('git-fetch', 0xec1d),
50
- lightbulbSparkleAutofix: register('lightbulb-sparkle-autofix', 0xec1f),
51
- debugBreakpointPending: register('debug-breakpoint-pending', 0xebd9),
52
-
53
- } as const;
54
-
55
- /**
56
- * The Codicon library is a set of default icons that are built-in in VS Code.
57
- *
58
- * In the product (outside of base) Codicons should only be used as defaults. In order to have all icons in VS Code
59
- * themeable, component should define new, UI component specific icons using `iconRegistry.registerIcon`.
60
- * In that call a Codicon can be named as default.
61
- */
62
- export const Codicon = {
63
- ...codiconsLibrary,
64
- ...codiconsDerived
65
-
66
- } as const;