@codingame/monaco-vscode-api 1.76.6 → 1.76.8

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 (35) hide show
  1. package/README.md +7 -1
  2. package/dist/audioCue.js +28 -2
  3. package/dist/configuration2.js +1 -1
  4. package/dist/contextkeys.js +991 -15
  5. package/dist/debug.js +80 -165
  6. package/dist/files.js +1 -1
  7. package/dist/missing-services.js +1 -1
  8. package/dist/monaco.js +1 -1
  9. package/dist/polyfill.js +17 -42
  10. package/dist/snippetsService.js +1 -1
  11. package/dist/textFileEditorModel.js +1 -1
  12. package/dist/textmate.js +11 -7
  13. package/package.json +2 -1
  14. package/dist/assets/break-6b46c048.mp3 +0 -0
  15. package/dist/assets/diffLineDeleted-26945eb8.mp3 +0 -0
  16. package/dist/assets/diffLineInserted-8f202889.mp3 +0 -0
  17. package/dist/assets/diffLineModified-fb126694.mp3 +0 -0
  18. package/dist/assets/error-b93c2a76.mp3 +0 -0
  19. package/dist/assets/foldedAreas-a6b54171.mp3 +0 -0
  20. package/dist/assets/quickFixes-dc7d1e73.mp3 +0 -0
  21. package/dist/assets/taskCompleted-f0dd8e18.mp3 +0 -0
  22. package/dist/assets/taskFailed-5494702a.mp3 +0 -0
  23. package/dist/assets/terminalBell-ff9df1e1.mp3 +0 -0
  24. package/dist/assets/warning-2687e2e7.mp3 +0 -0
  25. /package/dist/assets/{break-6b46c048-6b46c048.mp3 → break.mp3} +0 -0
  26. /package/dist/assets/{diffLineDeleted-26945eb8-26945eb8.mp3 → diffLineDeleted.mp3} +0 -0
  27. /package/dist/assets/{diffLineInserted-8f202889-8f202889.mp3 → diffLineInserted.mp3} +0 -0
  28. /package/dist/assets/{diffLineModified-fb126694-fb126694.mp3 → diffLineModified.mp3} +0 -0
  29. /package/dist/assets/{error-b93c2a76-b93c2a76.mp3 → error.mp3} +0 -0
  30. /package/dist/assets/{foldedAreas-a6b54171-a6b54171.mp3 → foldedAreas.mp3} +0 -0
  31. /package/dist/assets/{quickFixes-dc7d1e73-dc7d1e73.mp3 → quickFixes.mp3} +0 -0
  32. /package/dist/assets/{taskCompleted-f0dd8e18-f0dd8e18.mp3 → taskCompleted.mp3} +0 -0
  33. /package/dist/assets/{taskFailed-5494702a-5494702a.mp3 → taskFailed.mp3} +0 -0
  34. /package/dist/assets/{terminalBell-ff9df1e1-ff9df1e1.mp3 → terminalBell.mp3} +0 -0
  35. /package/dist/assets/{warning-2687e2e7-2687e2e7.mp3 → warning.mp3} +0 -0
package/dist/debug.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n, R as Range, T as disposeIfDisposable, P as Position, o as onServicesInitialized, w as withUndefinedAsNull, p as parse, V as visit, f as flatten, W as decodeBase64, e as encodeBase64 } from './polyfill.js';
1
+ import { n, R as Range, V as disposeIfDisposable, P as Position, o as onServicesInitialized, w as withUndefinedAsNull, p as parse, W as visit, f as flatten, X as decodeBase64, e as encodeBase64 } from './polyfill.js';
2
2
  import { c7 as IViewsService, bp as IExtensionService, c8 as ViewContainerLocationToString, c9 as defaultViewIcon, ca as NumberBadge, cb as IConfigurationResolverService, cc as AbstractEditorInput, bO as isEditorInput, cd as EditorResourceAccessor, bL as ILifecycleService, ce as IViewDescriptorService, cf as IHistoryService, bS as IPreferencesService, cg as ICustomEndpointTelemetryService, ch as ITaskService, ci as IExtensionHostDebugService, cj as IActivityService, br as IWorkspaceTrustRequestService, c as cleanRemoteAuthority, ck as Extensions$3, cl as SideBySideEditor, cm as ITunnelService } from './missing-services.js';
3
3
  import { _ as __decorate, a4 as BREAKPOINTS_VIEW_ID, a5 as CONTEXT_DEBUGGERS_AVAILABLE, u as IDebugService, a6 as CONTEXT_BREAKPOINT_ITEM_TYPE, a7 as CONTEXT_BREAKPOINTS_EXIST, a8 as CONTEXT_IN_DEBUG_MODE, a9 as CONTEXT_BREAKPOINT_SUPPORTS_CONDITION, I as IEditorService, aa as BREAKPOINT_EDITOR_CONTRIBUTION_ID, ab as CONTEXT_DISASSEMBLY_VIEW_FOCUS, ac as CONTEXT_JUMP_TO_CURSOR_SUPPORTED, ad as CONTEXT_DEBUG_STATE, ae as CONTEXT_STEP_INTO_TARGETS_SUPPORTED, af as CONTEXT_FOCUSED_SESSION_IS_ATTACH, ag as REPL_VIEW_ID, ah as CONTEXT_BREAKPOINTS_FOCUSED, ai as CONTEXT_WATCH_EXPRESSIONS_FOCUSED, aj as CONTEXT_VARIABLES_FOCUSED, ak as CONTEXT_EXPRESSION_SELECTED, al as CONTEXT_BREAKPOINT_INPUT_FOCUSED, am as VIEWLET_ID$1, an as CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, ao as CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, i as SIDE_GROUP, ap as VARIABLES_VIEW_ID, aq as EDITOR_CONTRIBUTION_ID, ar as INTERNAL_CONSOLE_OPTIONS_SCHEMA, as as DEBUG_MEMORY_SCHEME, E as Emitter, a as __param, at as DEBUG_SCHEME, A as ACTIVE_GROUP, au as CALLSTACK_VIEW_ID, av as CONTEXT_DEBUG_TYPE, aw as CONTEXT_HAS_DEBUGGED, ax as CONTEXT_DEBUG_UX, ay as getStateLabel, az as debuggerDisabledMessage, aA as CONTEXT_STEP_BACK_SUPPORTED, aB as CONTEXT_MULTI_SESSION_DEBUG, aC as CONTEXT_BREAKPOINT_WIDGET_VISIBLE, aD as CONTEXT_IN_BREAKPOINT_WIDGET, aE as CONTEXT_EXCEPTION_WIDGET_VISIBLE, aF as CONTEXT_DEBUG_EXTENSION_AVAILABLE, l as ITextFileService, j as IUriIdentityService, aG as CONTEXT_DEBUG_CONFIGURATION_TYPE, D as DebugConfigurationProviderTriggerKind, n as IFileService, f as FileType, h as FilePermission, a2 as createFileSystemProviderError, t as IHostService, k as IPaneCompositePartService, e as IProductService, o as IWorkbenchEnvironmentService, aH as CONTEXT_LOADED_SCRIPTS_SUPPORTED, aI as CONTEXT_RESTART_FRAME_SUPPORTED, aJ as CONTEXT_SET_VARIABLE_SUPPORTED, aK as CONTEXT_SET_EXPRESSION_SUPPORTED, aL as CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, aM as CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE, r as IPathService, y as ISnippetsService, aN as CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT, aO as CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, aP as CONTEXT_CAN_VIEW_MEMORY, aQ as CONTEXT_VARIABLE_IS_READONLY, F as FileSystemProviderErrorCode, aR as DebuggerString } from './services2.js';
4
4
  import { C as CancellationTokenSource } from './cancellation.js';
@@ -72,7 +72,7 @@ import { $ as $$7, append, trackFocus, EventType as EventType$1, addDisposableLi
72
72
  import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
73
73
  import { registerThemingParticipant, themeColorFromId, IThemeService, Themable } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
74
74
  import { StandardKeyboardEvent } from 'monaco-editor/esm/vs/base/browser/keyboardEvent.js';
75
- import { registerColor, asCssVariable, foreground, selectBorder, selectBackground, badgeBackground, badgeForeground, listDeemphasizedForeground, toolbarHoverBackground, contrastBorder, inputBorder, editorInfoForeground, editorWarningForeground, errorForeground, editorHoverBackground, editorHoverBorder, editorHoverForeground, widgetShadow, widgetBorder, editorForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
75
+ import { registerColor, asCssVariable, foreground, selectBorder, selectBackground, editorInfoForeground, editorWarningForeground, errorForeground, badgeBackground, badgeForeground, listDeemphasizedForeground, toolbarHoverBackground, contrastBorder, inputBorder, editorHoverBackground, editorHoverBorder, editorHoverForeground, widgetShadow, widgetBorder, editorForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
76
76
  import { IContextMenuService, IContextViewService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
77
77
  import { defaultProgressBarStyles, defaultSelectBoxStyles, defaultButtonStyles, defaultInputBoxStyles } from 'monaco-editor/esm/vs/platform/theme/browser/defaultStyles.js';
78
78
  import { SelectBox } from 'monaco-editor/esm/vs/base/browser/ui/selectBox/selectBox.js';
@@ -11303,159 +11303,95 @@ FocusSessionActionViewItem = ( (__decorate([
11303
11303
  ( (__param(3, IContextViewService))),
11304
11304
  ( (__param(4, IConfigurationService)))
11305
11305
  ], FocusSessionActionViewItem)));
11306
- const debugToolBarBackground = ( (registerColor('debugToolBar.background', {
11306
+ const debugToolBarBackground = registerColor('debugToolBar.background', {
11307
11307
  dark: '#333333',
11308
11308
  light: '#F3F3F3',
11309
11309
  hcDark: '#000000',
11310
11310
  hcLight: '#FFFFFF'
11311
- }, (localize('debugToolBarBackground', "Debug toolbar background color.")))));
11312
- const debugToolBarBorder = ( (registerColor('debugToolBar.border', {
11311
+ }, ( (localize('debugToolBarBackground', "Debug toolbar background color."))));
11312
+ const debugToolBarBorder = registerColor('debugToolBar.border', {
11313
11313
  dark: null,
11314
11314
  light: null,
11315
11315
  hcDark: null,
11316
11316
  hcLight: null
11317
- }, (localize('debugToolBarBorder', "Debug toolbar border color.")))));
11318
- const debugIconStartForeground = ( (registerColor('debugIcon.startForeground', {
11317
+ }, ( (localize('debugToolBarBorder', "Debug toolbar border color."))));
11318
+ const debugIconStartForeground = registerColor('debugIcon.startForeground', {
11319
11319
  dark: '#89D185',
11320
11320
  light: '#388A34',
11321
11321
  hcDark: '#89D185',
11322
11322
  hcLight: '#388A34'
11323
- }, (localize('debugIcon.startForeground', "Debug toolbar icon for start debugging.")))));
11323
+ }, ( (localize('debugIcon.startForeground', "Debug toolbar icon for start debugging."))));
11324
11324
  function registerColors() {
11325
- const debugTokenExpressionName = ( (registerColor(
11326
- 'debugTokenExpression.name',
11327
- { dark: '#c586c0', light: '#9b46b0', hcDark: foreground, hcLight: foreground },
11328
- 'Foreground color for the token names shown in the debug views (ie. the Variables or Watch view).'
11329
- )));
11330
- const debugTokenExpressionValue = ( (registerColor(
11331
- 'debugTokenExpression.value',
11332
- { dark: '#cccccc99', light: '#6c6c6ccc', hcDark: foreground, hcLight: foreground },
11333
- 'Foreground color for the token values shown in the debug views (ie. the Variables or Watch view).'
11334
- )));
11335
- const debugTokenExpressionString = ( (registerColor(
11336
- 'debugTokenExpression.string',
11337
- { dark: '#ce9178', light: '#a31515', hcDark: '#f48771', hcLight: '#a31515' },
11338
- 'Foreground color for strings in the debug views (ie. the Variables or Watch view).'
11339
- )));
11340
- const debugTokenExpressionBoolean = ( (registerColor(
11341
- 'debugTokenExpression.boolean',
11342
- { dark: '#4e94ce', light: '#0000ff', hcDark: '#75bdfe', hcLight: '#0000ff' },
11343
- 'Foreground color for booleans in the debug views (ie. the Variables or Watch view).'
11344
- )));
11345
- const debugTokenExpressionNumber = ( (registerColor(
11346
- 'debugTokenExpression.number',
11347
- { dark: '#b5cea8', light: '#098658', hcDark: '#89d185', hcLight: '#098658' },
11348
- 'Foreground color for numbers in the debug views (ie. the Variables or Watch view).'
11349
- )));
11350
- const debugTokenExpressionError = ( (registerColor(
11351
- 'debugTokenExpression.error',
11352
- { dark: '#f48771', light: '#e51400', hcDark: '#f48771', hcLight: '#e51400' },
11353
- 'Foreground color for expression errors in the debug views (ie. the Variables or Watch view) and for error logs shown in the debug console.'
11354
- )));
11355
- const debugViewExceptionLabelForeground = ( (registerColor(
11356
- 'debugView.exceptionLabelForeground',
11357
- { dark: foreground, light: '#FFF', hcDark: foreground, hcLight: foreground },
11358
- 'Foreground color for a label shown in the CALL STACK view when the debugger breaks on an exception.'
11359
- )));
11360
- const debugViewExceptionLabelBackground = ( (registerColor(
11361
- 'debugView.exceptionLabelBackground',
11362
- { dark: '#6C2022', light: '#A31515', hcDark: '#6C2022', hcLight: '#A31515' },
11363
- 'Background color for a label shown in the CALL STACK view when the debugger breaks on an exception.'
11364
- )));
11365
- const debugViewStateLabelForeground = ( (registerColor(
11366
- 'debugView.stateLabelForeground',
11367
- { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground },
11368
- 'Foreground color for a label in the CALL STACK view showing the current session\'s or thread\'s state.'
11369
- )));
11370
- const debugViewStateLabelBackground = ( (registerColor(
11371
- 'debugView.stateLabelBackground',
11372
- { dark: '#88888844', light: '#88888844', hcDark: '#88888844', hcLight: '#88888844' },
11373
- 'Background color for a label in the CALL STACK view showing the current session\'s or thread\'s state.'
11374
- )));
11375
- const debugViewValueChangedHighlight = ( (registerColor(
11376
- 'debugView.valueChangedHighlight',
11377
- { dark: '#569CD6', light: '#569CD6', hcDark: '#569CD6', hcLight: '#569CD6' },
11378
- 'Color used to highlight value changes in the debug views (ie. in the Variables view).'
11379
- )));
11380
- const debugConsoleInfoForeground = ( (registerColor(
11381
- 'debugConsole.infoForeground',
11382
- { dark: editorInfoForeground, light: editorInfoForeground, hcDark: foreground, hcLight: foreground },
11383
- 'Foreground color for info messages in debug REPL console.'
11384
- )));
11385
- const debugConsoleWarningForeground = ( (registerColor(
11386
- 'debugConsole.warningForeground',
11387
- { dark: editorWarningForeground, light: editorWarningForeground, hcDark: '#008000', hcLight: editorWarningForeground },
11388
- 'Foreground color for warning messages in debug REPL console.'
11389
- )));
11390
- const debugConsoleErrorForeground = ( (registerColor(
11391
- 'debugConsole.errorForeground',
11392
- { dark: errorForeground, light: errorForeground, hcDark: errorForeground, hcLight: errorForeground },
11393
- 'Foreground color for error messages in debug REPL console.'
11394
- )));
11395
- const debugConsoleSourceForeground = ( (registerColor(
11396
- 'debugConsole.sourceForeground',
11397
- { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground },
11398
- 'Foreground color for source filenames in debug REPL console.'
11399
- )));
11400
- const debugConsoleInputIconForeground = ( (registerColor(
11401
- 'debugConsoleInputIcon.foreground',
11402
- { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground },
11403
- 'Foreground color for debug console input marker icon.'
11404
- )));
11405
- const debugIconPauseForeground = ( (registerColor('debugIcon.pauseForeground', {
11325
+ const debugTokenExpressionName = registerColor('debugTokenExpression.name', { dark: '#c586c0', light: '#9b46b0', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token names shown in the debug views (ie. the Variables or Watch view).');
11326
+ const debugTokenExpressionValue = registerColor('debugTokenExpression.value', { dark: '#cccccc99', light: '#6c6c6ccc', hcDark: foreground, hcLight: foreground }, 'Foreground color for the token values shown in the debug views (ie. the Variables or Watch view).');
11327
+ const debugTokenExpressionString = registerColor('debugTokenExpression.string', { dark: '#ce9178', light: '#a31515', hcDark: '#f48771', hcLight: '#a31515' }, 'Foreground color for strings in the debug views (ie. the Variables or Watch view).');
11328
+ const debugTokenExpressionBoolean = registerColor('debugTokenExpression.boolean', { dark: '#4e94ce', light: '#0000ff', hcDark: '#75bdfe', hcLight: '#0000ff' }, 'Foreground color for booleans in the debug views (ie. the Variables or Watch view).');
11329
+ const debugTokenExpressionNumber = registerColor('debugTokenExpression.number', { dark: '#b5cea8', light: '#098658', hcDark: '#89d185', hcLight: '#098658' }, 'Foreground color for numbers in the debug views (ie. the Variables or Watch view).');
11330
+ const debugTokenExpressionError = registerColor('debugTokenExpression.error', { dark: '#f48771', light: '#e51400', hcDark: '#f48771', hcLight: '#e51400' }, 'Foreground color for expression errors in the debug views (ie. the Variables or Watch view) and for error logs shown in the debug console.');
11331
+ const debugViewExceptionLabelForeground = registerColor('debugView.exceptionLabelForeground', { dark: foreground, light: '#FFF', hcDark: foreground, hcLight: foreground }, 'Foreground color for a label shown in the CALL STACK view when the debugger breaks on an exception.');
11332
+ const debugViewExceptionLabelBackground = registerColor('debugView.exceptionLabelBackground', { dark: '#6C2022', light: '#A31515', hcDark: '#6C2022', hcLight: '#A31515' }, 'Background color for a label shown in the CALL STACK view when the debugger breaks on an exception.');
11333
+ const debugViewStateLabelForeground = registerColor('debugView.stateLabelForeground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for a label in the CALL STACK view showing the current session\'s or thread\'s state.');
11334
+ const debugViewStateLabelBackground = registerColor('debugView.stateLabelBackground', { dark: '#88888844', light: '#88888844', hcDark: '#88888844', hcLight: '#88888844' }, 'Background color for a label in the CALL STACK view showing the current session\'s or thread\'s state.');
11335
+ const debugViewValueChangedHighlight = registerColor('debugView.valueChangedHighlight', { dark: '#569CD6', light: '#569CD6', hcDark: '#569CD6', hcLight: '#569CD6' }, 'Color used to highlight value changes in the debug views (ie. in the Variables view).');
11336
+ const debugConsoleInfoForeground = registerColor('debugConsole.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: foreground, hcLight: foreground }, 'Foreground color for info messages in debug REPL console.');
11337
+ const debugConsoleWarningForeground = registerColor('debugConsole.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: '#008000', hcLight: editorWarningForeground }, 'Foreground color for warning messages in debug REPL console.');
11338
+ const debugConsoleErrorForeground = registerColor('debugConsole.errorForeground', { dark: errorForeground, light: errorForeground, hcDark: errorForeground, hcLight: errorForeground }, 'Foreground color for error messages in debug REPL console.');
11339
+ const debugConsoleSourceForeground = registerColor('debugConsole.sourceForeground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for source filenames in debug REPL console.');
11340
+ const debugConsoleInputIconForeground = registerColor('debugConsoleInputIcon.foreground', { dark: foreground, light: foreground, hcDark: foreground, hcLight: foreground }, 'Foreground color for debug console input marker icon.');
11341
+ const debugIconPauseForeground = registerColor('debugIcon.pauseForeground', {
11406
11342
  dark: '#75BEFF',
11407
11343
  light: '#007ACC',
11408
11344
  hcDark: '#75BEFF',
11409
11345
  hcLight: '#007ACC'
11410
- }, (localize('debugIcon.pauseForeground', "Debug toolbar icon for pause.")))));
11411
- const debugIconStopForeground = ( (registerColor('debugIcon.stopForeground', {
11346
+ }, ( (localize('debugIcon.pauseForeground', "Debug toolbar icon for pause."))));
11347
+ const debugIconStopForeground = registerColor('debugIcon.stopForeground', {
11412
11348
  dark: '#F48771',
11413
11349
  light: '#A1260D',
11414
11350
  hcDark: '#F48771',
11415
11351
  hcLight: '#A1260D'
11416
- }, (localize('debugIcon.stopForeground', "Debug toolbar icon for stop.")))));
11417
- const debugIconDisconnectForeground = ( (registerColor('debugIcon.disconnectForeground', {
11352
+ }, ( (localize('debugIcon.stopForeground', "Debug toolbar icon for stop."))));
11353
+ const debugIconDisconnectForeground = registerColor('debugIcon.disconnectForeground', {
11418
11354
  dark: '#F48771',
11419
11355
  light: '#A1260D',
11420
11356
  hcDark: '#F48771',
11421
11357
  hcLight: '#A1260D'
11422
- }, (localize('debugIcon.disconnectForeground', "Debug toolbar icon for disconnect.")))));
11423
- const debugIconRestartForeground = ( (registerColor('debugIcon.restartForeground', {
11358
+ }, ( (localize('debugIcon.disconnectForeground', "Debug toolbar icon for disconnect."))));
11359
+ const debugIconRestartForeground = registerColor('debugIcon.restartForeground', {
11424
11360
  dark: '#89D185',
11425
11361
  light: '#388A34',
11426
11362
  hcDark: '#89D185',
11427
11363
  hcLight: '#388A34'
11428
- }, (localize('debugIcon.restartForeground', "Debug toolbar icon for restart.")))));
11429
- const debugIconStepOverForeground = ( (registerColor('debugIcon.stepOverForeground', {
11364
+ }, ( (localize('debugIcon.restartForeground', "Debug toolbar icon for restart."))));
11365
+ const debugIconStepOverForeground = registerColor('debugIcon.stepOverForeground', {
11430
11366
  dark: '#75BEFF',
11431
11367
  light: '#007ACC',
11432
11368
  hcDark: '#75BEFF',
11433
11369
  hcLight: '#007ACC'
11434
- }, (localize('debugIcon.stepOverForeground', "Debug toolbar icon for step over.")))));
11435
- const debugIconStepIntoForeground = ( (registerColor('debugIcon.stepIntoForeground', {
11370
+ }, ( (localize('debugIcon.stepOverForeground', "Debug toolbar icon for step over."))));
11371
+ const debugIconStepIntoForeground = registerColor('debugIcon.stepIntoForeground', {
11436
11372
  dark: '#75BEFF',
11437
11373
  light: '#007ACC',
11438
11374
  hcDark: '#75BEFF',
11439
11375
  hcLight: '#007ACC'
11440
- }, (localize('debugIcon.stepIntoForeground', "Debug toolbar icon for step into.")))));
11441
- const debugIconStepOutForeground = ( (registerColor('debugIcon.stepOutForeground', {
11376
+ }, ( (localize('debugIcon.stepIntoForeground', "Debug toolbar icon for step into."))));
11377
+ const debugIconStepOutForeground = registerColor('debugIcon.stepOutForeground', {
11442
11378
  dark: '#75BEFF',
11443
11379
  light: '#007ACC',
11444
11380
  hcDark: '#75BEFF',
11445
11381
  hcLight: '#007ACC'
11446
- }, (localize('debugIcon.stepOutForeground', "Debug toolbar icon for step over.")))));
11447
- const debugIconContinueForeground = ( (registerColor('debugIcon.continueForeground', {
11382
+ }, ( (localize('debugIcon.stepOutForeground', "Debug toolbar icon for step over."))));
11383
+ const debugIconContinueForeground = registerColor('debugIcon.continueForeground', {
11448
11384
  dark: '#75BEFF',
11449
11385
  light: '#007ACC',
11450
11386
  hcDark: '#75BEFF',
11451
11387
  hcLight: '#007ACC'
11452
- }, (localize('debugIcon.continueForeground', "Debug toolbar icon for continue.")))));
11453
- const debugIconStepBackForeground = ( (registerColor('debugIcon.stepBackForeground', {
11388
+ }, ( (localize('debugIcon.continueForeground', "Debug toolbar icon for continue."))));
11389
+ const debugIconStepBackForeground = registerColor('debugIcon.stepBackForeground', {
11454
11390
  dark: '#75BEFF',
11455
11391
  light: '#007ACC',
11456
11392
  hcDark: '#75BEFF',
11457
11393
  hcLight: '#007ACC'
11458
- }, (localize('debugIcon.stepBackForeground', "Debug toolbar icon for step back.")))));
11394
+ }, ( (localize('debugIcon.stepBackForeground', "Debug toolbar icon for step back."))));
11459
11395
  registerThemingParticipant((theme, collector) => {
11460
11396
  const badgeBackgroundColor = theme.getColor(badgeBackground);
11461
11397
  const badgeForegroundColor = theme.getColor(badgeForeground);
@@ -13339,61 +13275,33 @@ registerThemingParticipant((theme, collector) => {
13339
13275
  `);
13340
13276
  }
13341
13277
  });
13342
- const debugIconBreakpointForeground = ( (registerColor(
13343
- 'debugIcon.breakpointForeground',
13344
- { dark: '#E51400', light: '#E51400', hcDark: '#E51400', hcLight: '#E51400' },
13345
- (localize('debugIcon.breakpointForeground', 'Icon color for breakpoints.'))
13346
- )));
13347
- const debugIconBreakpointDisabledForeground = ( (registerColor(
13278
+ const debugIconBreakpointForeground = registerColor('debugIcon.breakpointForeground', { dark: '#E51400', light: '#E51400', hcDark: '#E51400', hcLight: '#E51400' }, ( (localize('debugIcon.breakpointForeground', 'Icon color for breakpoints.'))));
13279
+ const debugIconBreakpointDisabledForeground = registerColor('debugIcon.breakpointDisabledForeground', { dark: '#848484', light: '#848484', hcDark: '#848484', hcLight: '#848484' }, ( (localize(
13348
13280
  'debugIcon.breakpointDisabledForeground',
13349
- { dark: '#848484', light: '#848484', hcDark: '#848484', hcLight: '#848484' },
13350
- (localize(
13351
- 'debugIcon.breakpointDisabledForeground',
13352
- 'Icon color for disabled breakpoints.'
13353
- ))
13354
- )));
13355
- const debugIconBreakpointUnverifiedForeground = ( (registerColor(
13281
+ 'Icon color for disabled breakpoints.'
13282
+ ))));
13283
+ const debugIconBreakpointUnverifiedForeground = registerColor('debugIcon.breakpointUnverifiedForeground', { dark: '#848484', light: '#848484', hcDark: '#848484', hcLight: '#848484' }, ( (localize(
13356
13284
  'debugIcon.breakpointUnverifiedForeground',
13357
- { dark: '#848484', light: '#848484', hcDark: '#848484', hcLight: '#848484' },
13358
- (localize(
13359
- 'debugIcon.breakpointUnverifiedForeground',
13360
- 'Icon color for unverified breakpoints.'
13361
- ))
13362
- )));
13363
- const debugIconBreakpointCurrentStackframeForeground = ( (registerColor(
13285
+ 'Icon color for unverified breakpoints.'
13286
+ ))));
13287
+ const debugIconBreakpointCurrentStackframeForeground = registerColor('debugIcon.breakpointCurrentStackframeForeground', { dark: '#FFCC00', light: '#BE8700', hcDark: '#FFCC00', hcLight: '#BE8700' }, ( (localize(
13364
13288
  'debugIcon.breakpointCurrentStackframeForeground',
13365
- { dark: '#FFCC00', light: '#BE8700', hcDark: '#FFCC00', hcLight: '#BE8700' },
13366
- (localize(
13367
- 'debugIcon.breakpointCurrentStackframeForeground',
13368
- 'Icon color for the current breakpoint stack frame.'
13369
- ))
13370
- )));
13371
- const debugIconBreakpointStackframeForeground = ( (registerColor(
13289
+ 'Icon color for the current breakpoint stack frame.'
13290
+ ))));
13291
+ const debugIconBreakpointStackframeForeground = registerColor('debugIcon.breakpointStackframeForeground', { dark: '#89D185', light: '#89D185', hcDark: '#89D185', hcLight: '#89D185' }, ( (localize(
13372
13292
  'debugIcon.breakpointStackframeForeground',
13373
- { dark: '#89D185', light: '#89D185', hcDark: '#89D185', hcLight: '#89D185' },
13374
- (localize(
13375
- 'debugIcon.breakpointStackframeForeground',
13376
- 'Icon color for all breakpoint stack frames.'
13377
- ))
13378
- )));
13293
+ 'Icon color for all breakpoint stack frames.'
13294
+ ))));
13379
13295
  var css$1 = ".monaco-editor .view-overlays .debug-top-stack-frame-line{background-color:var(--vscode-editor-stackFrameHighlightBackground)}.monaco-editor .view-overlays .debug-focused-stack-frame-line{background-color:var(--vscode-editor-focusedStackFrameHighlightBackground)}";
13380
13296
  n(css$1,{});
13381
- const topStackFrameColor = ( (registerColor(
13382
- 'editor.stackFrameHighlightBackground',
13383
- { dark: '#ffff0033', light: '#ffff6673', hcDark: '#ffff0033', hcLight: '#ffff6673' },
13384
- (localize(
13385
- 'topStackFrameLineHighlight',
13386
- 'Background color for the highlight of line at the top stack frame position.'
13387
- ))
13388
- )));
13389
- const focusedStackFrameColor = ( (registerColor(
13390
- 'editor.focusedStackFrameHighlightBackground',
13391
- { dark: '#7abd7a4d', light: '#cee7ce73', hcDark: '#7abd7a4d', hcLight: '#cee7ce73' },
13392
- (localize(
13393
- 'focusedStackFrameLineHighlight',
13394
- 'Background color for the highlight of line at focused stack frame position.'
13395
- ))
13396
- )));
13297
+ const topStackFrameColor = registerColor('editor.stackFrameHighlightBackground', { dark: '#ffff0033', light: '#ffff6673', hcDark: '#ffff0033', hcLight: '#ffff6673' }, ( (localize(
13298
+ 'topStackFrameLineHighlight',
13299
+ 'Background color for the highlight of line at the top stack frame position.'
13300
+ ))));
13301
+ const focusedStackFrameColor = registerColor('editor.focusedStackFrameHighlightBackground', { dark: '#7abd7a4d', light: '#cee7ce73', hcDark: '#7abd7a4d', hcLight: '#cee7ce73' }, ( (localize(
13302
+ 'focusedStackFrameLineHighlight',
13303
+ 'Background color for the highlight of line at focused stack frame position.'
13304
+ ))));
13397
13305
  const stickiness = 1 ;
13398
13306
  const TOP_STACK_FRAME_MARGIN = {
13399
13307
  description: 'top-stack-frame-margin',
@@ -14550,16 +14458,8 @@ DebugHoverComputer = ( (__decorate([
14550
14458
  var css = ".monaco-editor .zone-widget.exception-widget-container{overflow:hidden}.monaco-editor .zone-widget .zone-widget-container.exception-widget{padding:6px 10px;user-select:text;-webkit-user-select:text;white-space:pre-wrap}.monaco-editor .zone-widget .zone-widget-container.exception-widget .title{display:flex}.monaco-editor .zone-widget .zone-widget-container.exception-widget .title .label{align-items:center;display:flex;font-weight:700}.monaco-editor .zone-widget .zone-widget-container.exception-widget .title .actions{flex:1}.monaco-editor .zone-widget .zone-widget-container.exception-widget .description,.monaco-editor .zone-widget .zone-widget-container.exception-widget .stack-trace{font-family:var(--monaco-monospace-font)}.monaco-editor .zone-widget .zone-widget-container.exception-widget .stack-trace{margin-top:.5em}.monaco-editor .zone-widget .zone-widget-container.exception-widget .stack-trace a{cursor:pointer;text-decoration:underline}.monaco-workbench.mac .zone-widget .zone-widget-container.exception-widget{font-size:11px}.monaco-workbench.linux .zone-widget .zone-widget-container.exception-widget,.monaco-workbench.windows .zone-widget .zone-widget-container.exception-widget{font-size:13px}";
14551
14459
  n(css,{});
14552
14460
  const $ = $$7;
14553
- const debugExceptionWidgetBorder = ( (registerColor(
14554
- 'debugExceptionWidget.border',
14555
- { dark: '#a31515', light: '#a31515', hcDark: '#a31515', hcLight: '#a31515' },
14556
- (localize('debugExceptionWidgetBorder', 'Exception widget border color.'))
14557
- )));
14558
- const debugExceptionWidgetBackground = ( (registerColor(
14559
- 'debugExceptionWidget.background',
14560
- { dark: '#420b0d', light: '#f1dfde', hcDark: '#420b0d', hcLight: '#f1dfde' },
14561
- (localize('debugExceptionWidgetBackground', 'Exception widget background color.'))
14562
- )));
14461
+ const debugExceptionWidgetBorder = registerColor('debugExceptionWidget.border', { dark: '#a31515', light: '#a31515', hcDark: '#a31515', hcLight: '#a31515' }, ( (localize('debugExceptionWidgetBorder', 'Exception widget border color.'))));
14462
+ const debugExceptionWidgetBackground = registerColor('debugExceptionWidget.background', { dark: '#420b0d', light: '#f1dfde', hcDark: '#420b0d', hcLight: '#f1dfde' }, ( (localize('debugExceptionWidgetBackground', 'Exception widget background color.'))));
14563
14463
  let ExceptionWidget = class ExceptionWidget extends ZoneWidget {
14564
14464
  constructor(editor, exceptionInfo, debugSession, themeService, instantiationService) {
14565
14465
  super(editor, { showFrame: true, showArrow: true, isAccessible: true, frameWidth: 1, className: 'exception-widget-container' });
@@ -14654,6 +14554,21 @@ const MAX_NUM_INLINE_VALUES = 100;
14654
14554
  const MAX_INLINE_DECORATOR_LENGTH = 150;
14655
14555
  const MAX_TOKENIZATION_LINE_LEN = 500;
14656
14556
  const DEAFULT_INLINE_DEBOUNCE_DELAY = 200;
14557
+ registerColor('editor.inlineValuesForeground', {
14558
+ dark: '#ffffff80',
14559
+ light: '#00000080',
14560
+ hcDark: '#ffffff80',
14561
+ hcLight: '#00000080'
14562
+ }, ( (localize('editor.inlineValuesForeground', "Color for the debug inline value text."))));
14563
+ registerColor('editor.inlineValuesBackground', {
14564
+ dark: '#ffc80033',
14565
+ light: '#ffc80033',
14566
+ hcDark: '#ffc80033',
14567
+ hcLight: '#ffc80033'
14568
+ }, ( (localize(
14569
+ 'editor.inlineValuesBackground',
14570
+ "Color for the debug inline value background."
14571
+ ))));
14657
14572
  class InlineSegment {
14658
14573
  constructor(column, text) {
14659
14574
  this.column = column;
package/dist/files.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { _ as __decorate, E as Emitter, a as __param, T as TextFileOperationError, K as toBufferOrReadable, l as ITextFileService, I as IEditorService, n as IFileService, q as IWorkingCopyFileService, j as IUriIdentityService, o as IWorkbenchEnvironmentService, r as IPathService, e as IProductService, L as stringToSnapshot, m as mark, M as FileChangesEvent, v as FileOperationError, O as hasOpenReadWriteCloseCapability, P as hasReadWriteCapability, Q as hasFileReadStreamCapability, x as toFileSystemProviderErrorCode, F as FileSystemProviderErrorCode, R as ensureFileSystemProviderError, f as FileType, h as FilePermission, U as etag, V as FileOperationEvent, W as toFileOperationResult, X as ETAG_DISABLED, Y as hasFileAtomicReadCapability, Z as NotModifiedSinceFileOperationError, $ as TooLargeFileOperationError, a0 as hasFileFolderCopyCapability, a1 as hasFileCloneCapability, a2 as createFileSystemProviderError, a3 as FileSystemProviderError } from './services2.js';
2
- import { y as bufferToReadable, z as bufferToStream, B as consumeStream, C as insert, D as isReadableStream, E as peekStream, F as peekReadable, G as streamToBuffer, H as transform, J as isReadableBufferedStream, K as listenStream, L as bufferedStreamToBuffer, M as readableToBuffer, O as newWriteableBufferStream, Q as newWriteableStream } from './polyfill.js';
2
+ import { z as bufferToReadable, B as bufferToStream, C as consumeStream, D as insert, E as isReadableStream, F as peekStream, G as peekReadable, H as streamToBuffer, J as transform, K as isReadableBufferedStream, L as listenStream, M as bufferedStreamToBuffer, O as readableToBuffer, Q as newWriteableBufferStream, T as newWriteableStream } from './polyfill.js';
3
3
  import { b$ as SaveSourceRegistry, c0 as IWorkingCopyBackupService, I as IWorkingCopyService, bP as ILanguageDetectionService, c1 as IUntitledTextEditorService, bL as ILifecycleService, c2 as IFileDialogService, c3 as IFilesConfigurationService, c4 as IElevatedFileService, c5 as IDecorationsService, u as unsupported, D as Disposable$1 } from './missing-services.js';
4
4
  import { C as CancellationTokenSource } from './cancellation.js';
5
5
  import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
@@ -1,5 +1,5 @@
1
1
  import { _ as __decorate, aU as AutoSaveConfiguration, I as IEditorService, k as IPaneCompositePartService, j as IUriIdentityService, E as Emitter, l as ITextFileService, n as IFileService, d as IEditorGroupsService, o as IWorkbenchEnvironmentService, q as IWorkingCopyFileService, r as IPathService, S as Services, e as IProductService, s as ILanguageStatusService, t as IHostService, J as IUserDataProfilesService, y as ISnippetsService, u as IDebugService, aV as IRemoteAgentService, b as __classPrivateFieldSet, c as __classPrivateFieldGet, w as refineServiceDecorator, aW as AbstractPathService, a as __param, aX as HotExitConfiguration, F as FileSystemProviderErrorCode, aY as markAsFileSystemProviderError } from './services2.js';
2
- import { I as IPolicyService, f as flatten, $ as uniqueFilter, R as Range$1, _ as isStringArray, m as mapArrayOrNot } from './polyfill.js';
2
+ import { I as IPolicyService, f as flatten, a0 as uniqueFilter, R as Range$1, $ as isStringArray, m as mapArrayOrNot } from './polyfill.js';
3
3
  import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
4
4
  import { compare, nextCharLength, compareIgnoreCase } from 'monaco-editor/esm/vs/base/common/strings.js';
5
5
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
package/dist/monaco.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { _ as __decorate, a as __param } from './services2.js';
2
2
  export { C as ContextKeyExprType } from './services2.js';
3
- import { a0 as distinct } from './polyfill.js';
3
+ import { a1 as distinct } from './polyfill.js';
4
4
  import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
5
5
  export { registerColor } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
6
6
  import { c as createInjectedClass } from './injection.js';
package/dist/polyfill.js CHANGED
@@ -46,23 +46,10 @@ import { Gesture, EventType } from 'monaco-editor/esm/vs/base/browser/touch.js';
46
46
  import { Color as Color$1, RGBA as RGBA$1 } from 'monaco-editor/esm/vs/base/common/color.js';
47
47
  import { LogService as LogService$1 } from 'monaco-editor/esm/vs/platform/log/common/logService.js';
48
48
  import { MultiplexLogger, ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
49
- import { SnippetParser } from 'monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetParser.js';
50
49
  import { Keybinding as Keybinding$1, KeyCodeChord as KeyCodeChord$1, decodeKeybinding } from 'monaco-editor/esm/vs/base/common/keybindings.js';
51
50
  import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
52
51
  import { once } from 'monaco-editor/esm/vs/base/common/functional.js';
53
52
  import { Schemas as Schemas$1, FileAccess as FileAccess$1 } from 'monaco-editor/esm/vs/base/common/network.js';
54
- import _onigWasm from 'vscode-oniguruma/release/onig.wasm';
55
- import _break from "./assets/break-6b46c048-6b46c048.mp3";
56
- import _diffLineDeleted from "./assets/diffLineDeleted-26945eb8-26945eb8.mp3";
57
- import _diffLineInserted from "./assets/diffLineInserted-8f202889-8f202889.mp3";
58
- import _diffLineModified from "./assets/diffLineModified-fb126694-fb126694.mp3";
59
- import _error from "./assets/error-b93c2a76-b93c2a76.mp3";
60
- import _foldedAreas from "./assets/foldedAreas-a6b54171-a6b54171.mp3";
61
- import _quickFixes from "./assets/quickFixes-dc7d1e73-dc7d1e73.mp3";
62
- import _taskCompleted from "./assets/taskCompleted-f0dd8e18-f0dd8e18.mp3";
63
- import _taskFailed from "./assets/taskFailed-5494702a-5494702a.mp3";
64
- import _terminalBell from "./assets/terminalBell-ff9df1e1-ff9df1e1.mp3";
65
- import _warning from "./assets/warning-2687e2e7-2687e2e7.mp3";
66
53
  import { AsyncDataTree as AsyncDataTree$1 } from 'monaco-editor/esm/vs/base/browser/ui/tree/asyncDataTree.js';
67
54
  import { TreeMouseEventTarget, TreeError, WeakMapper } from 'monaco-editor/esm/vs/base/browser/ui/tree/tree.js';
68
55
  import { ObjectTree } from 'monaco-editor/esm/vs/base/browser/ui/tree/objectTree.js';
@@ -1028,22 +1015,18 @@ class Themable extends Disposable {
1028
1015
  const Extensions = {
1029
1016
  JSONContribution: 'base.contributions.json'
1030
1017
  };
1031
- const fileUrls = {
1032
- 'vscode-oniguruma/../onig.wasm': _onigWasm,
1033
- 'vs/platform/audioCues/browser/media/break.mp3': _break,
1034
- 'vs/platform/audioCues/browser/media/diffLineDeleted.mp3': _diffLineDeleted,
1035
- 'vs/platform/audioCues/browser/media/diffLineInserted.mp3': _diffLineInserted,
1036
- 'vs/platform/audioCues/browser/media/diffLineModified.mp3': _diffLineModified,
1037
- 'vs/platform/audioCues/browser/media/error.mp3': _error,
1038
- 'vs/platform/audioCues/browser/media/foldedAreas.mp3': _foldedAreas,
1039
- 'vs/platform/audioCues/browser/media/quickFixes.mp3': _quickFixes,
1040
- 'vs/platform/audioCues/browser/media/taskCompleted.mp3': _taskCompleted,
1041
- 'vs/platform/audioCues/browser/media/taskFailed.mp3': _taskFailed,
1042
- 'vs/platform/audioCues/browser/media/terminalBell.mp3': _terminalBell,
1043
- 'vs/platform/audioCues/browser/media/warning.mp3': _warning
1044
- };
1045
- var require = {
1046
- toUrl: (id) => fileUrls[id]
1018
+ let assetUrls = {};
1019
+ function registerAssets(assets) {
1020
+ assetUrls = {
1021
+ ...assetUrls,
1022
+ ...assets
1023
+ };
1024
+ }
1025
+ function toUrl(name) {
1026
+ return assetUrls[name] ?? assetUrls[name.replace(/[/.]/g, '_')];
1027
+ }
1028
+ const customRequire = {
1029
+ toUrl
1047
1030
  };
1048
1031
  var Schemas;
1049
1032
  ( ((function(Schemas) {
@@ -1145,7 +1128,7 @@ const nodeModulesAsarPath = 'vs/../../node_modules.asar';
1145
1128
  const nodeModulesAsarUnpackedPath = 'vs/../../node_modules.asar.unpacked';
1146
1129
  class FileAccessImpl {
1147
1130
  asBrowserUri(resourcePath) {
1148
- const uri = this.toUri(resourcePath, require);
1131
+ const uri = this.toUri(resourcePath, customRequire);
1149
1132
  return this.uriToBrowserUri(uri);
1150
1133
  }
1151
1134
  uriToBrowserUri(uri) {
@@ -1167,7 +1150,7 @@ class FileAccessImpl {
1167
1150
  return uri;
1168
1151
  }
1169
1152
  asFileUri(resourcePath) {
1170
- const uri = this.toUri(resourcePath, require);
1153
+ const uri = this.toUri(resourcePath, customRequire);
1171
1154
  return this.uriToFileUri(uri);
1172
1155
  }
1173
1156
  uriToFileUri(uri) {
@@ -14475,14 +14458,6 @@ StandaloneServices.initialize = (overrides) => {
14475
14458
  return instantiationService;
14476
14459
  };
14477
14460
  var _a, _b, _c;
14478
- if (SnippetParser.prototype.text == null) {
14479
- SnippetParser.prototype.text = function (value) {
14480
- return ( this.parse(value).toString());
14481
- };
14482
- }
14483
- else {
14484
- console.warn('Useless polyfill: SnippetParser');
14485
- }
14486
14461
  function polyfillPrototypeSimple(a, b) {
14487
14462
  const entries = Object.getOwnPropertyDescriptors(b);
14488
14463
  if (( Object.keys(Object.getOwnPropertyDescriptors(a))).length === ( Object.keys(entries)).length) {
@@ -14538,8 +14513,8 @@ polyfillPrototypeSimple(QuickInputService$1.prototype, QuickInputService.prototy
14538
14513
  const keydinbingsRegistry = ( Registry.as(Extensions$3.EditorModes));
14539
14514
  polyfillPrototypeSimple(keydinbingsRegistry.constructor.prototype, KeybindingsRegistryImpl.prototype);
14540
14515
  TextModel.prototype.equalsTextBuffer = function (other) {
14541
- this._assertNotDisposed();
14542
- return this._buffer.equals(other);
14516
+ this['_assertNotDisposed']();
14517
+ return this['_buffer'].equals(other);
14543
14518
  };
14544
14519
  Object.defineProperty(ListView$1.prototype, 'onDidChangeContentHeight', {
14545
14520
  get() {
@@ -14652,4 +14627,4 @@ onServicesInitialized(() => {
14652
14627
  workspaceContextService.onDidChangeWorkbenchState ?? (workspaceContextService.onDidChangeWorkbenchState = Event.None);
14653
14628
  workspaceContextService.getWorkbenchState ?? ((workspaceContextService.getWorkbenchState = () => 1) );
14654
14629
  });
14655
- export { uniqueFilter as $, AsyncReferenceCollection as A, consumeStream as B, insert as C, isReadableStream as D, peekStream as E, peekReadable as F, streamToBuffer as G, transform as H, IPolicyService as I, isReadableBufferedStream as J, listenStream as K, bufferedStreamToBuffer as L, readableToBuffer as M, NotImplementedError as N, newWriteableBufferStream as O, Position as P, newWriteableStream as Q, Range as R, Selection as S, disposeIfDisposable as T, UserSettings as U, visit as V, decodeBase64 as W, parseTree as X, findNodeAtLocation as Y, createScanner as Z, isStringArray as _, disposed as a, distinct as a0, assertAllDefined as b, consoleExtensionMessageHandler as c, delta as d, encodeBase64 as e, flatten as f, ReferenceCollection as g, index as h, isUntitledWorkspace as i, getNodeType as j, NullPolicyService as k, NullPolicyConfiguration as l, mapArrayOrNot as m, n, onServicesInitialized as o, parse as p, PolicyConfiguration as q, readonly as r, setUnexpectedErrorHandler as s, toWorkspaceFolder as t, nodeModulesAsarUnpackedPath as u, nodeModulesPath as v, withUndefinedAsNull as w, nodeModulesAsarPath as x, bufferToReadable as y, bufferToStream as z };
14630
+ export { isStringArray as $, AsyncReferenceCollection as A, bufferToStream as B, consumeStream as C, insert as D, isReadableStream as E, peekStream as F, peekReadable as G, streamToBuffer as H, IPolicyService as I, transform as J, isReadableBufferedStream as K, listenStream as L, bufferedStreamToBuffer as M, NotImplementedError as N, readableToBuffer as O, Position as P, newWriteableBufferStream as Q, Range as R, Selection as S, newWriteableStream as T, UserSettings as U, disposeIfDisposable as V, visit as W, decodeBase64 as X, parseTree as Y, findNodeAtLocation as Z, createScanner as _, disposed as a, uniqueFilter as a0, distinct as a1, assertAllDefined as b, consoleExtensionMessageHandler as c, delta as d, encodeBase64 as e, flatten as f, ReferenceCollection as g, index as h, isUntitledWorkspace as i, getNodeType as j, NullPolicyService as k, NullPolicyConfiguration as l, mapArrayOrNot as m, n, onServicesInitialized as o, parse as p, PolicyConfiguration as q, readonly as r, setUnexpectedErrorHandler as s, toWorkspaceFolder as t, nodeModulesAsarUnpackedPath as u, nodeModulesPath as v, withUndefinedAsNull as w, registerAssets as x, nodeModulesAsarPath as y, bufferToReadable as z };
@@ -1,7 +1,7 @@
1
1
  import { y as ISnippetsService, _ as __decorate, a as __param, n as IFileService, l as ITextFileService } from './services2.js';
2
2
  import * as monacoSuggest from 'monaco-editor/esm/vs/editor/contrib/suggest/browser/suggest.js';
3
3
  import { bU as IUserDataProfileService, bL as ILifecycleService } from './missing-services.js';
4
- import { _ as isStringArray, p as parse, j as getNodeType, R as Range } from './polyfill.js';
4
+ import { $ as isStringArray, p as parse, j as getNodeType, R as Range } from './polyfill.js';
5
5
  import { extname as extname$1, basename as basename$1 } from 'monaco-editor/esm/vs/base/common/path.js';
6
6
  import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
7
7
  import { isEqualOrParent, extname, basename, relativePath, joinPath } from 'monaco-editor/esm/vs/base/common/resources.js';
@@ -1,7 +1,7 @@
1
1
  import { _ as __decorate, E as Emitter, a as __param, X as ETAG_DISABLED, Z as NotModifiedSinceFileOperationError, n as IFileService, l as ITextFileService, r as IPathService } from './services2.js';
2
2
  import { b$ as SaveSourceRegistry, c6 as LanguageDetectionLanguageEventSource, bP as ILanguageDetectionService, c0 as IWorkingCopyBackupService, I as IWorkingCopyService, c3 as IFilesConfigurationService, bp as IExtensionService } from './missing-services.js';
3
3
  import { Disposable, combinedDisposable, MutableDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
4
- import { R as Range, S as Selection, P as Position, w as withUndefinedAsNull, K as listenStream, Q as newWriteableStream } from './polyfill.js';
4
+ import { R as Range, S as Selection, P as Position, w as withUndefinedAsNull, L as listenStream, T as newWriteableStream } from './polyfill.js';
5
5
  import { ThrottledDelayer, timeout } from 'monaco-editor/esm/vs/base/common/async.js';
6
6
  import { PLAINTEXT_LANGUAGE_ID } from 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
7
7
  import { localize } from 'monaco-editor/esm/vs/nls.js';
package/dist/textmate.js CHANGED
@@ -1,4 +1,4 @@
1
- import { o as onServicesInitialized, u as nodeModulesAsarUnpackedPath, v as nodeModulesPath, x as nodeModulesAsarPath } from './polyfill.js';
1
+ import { o as onServicesInitialized, u as nodeModulesAsarUnpackedPath, v as nodeModulesPath, x as registerAssets, y as nodeModulesAsarPath } from './polyfill.js';
2
2
  import { bW as ITextMateTokenizationService } from './missing-services.js';
3
3
  import { E as Emitter, _ as __decorate, a as __param, o as IWorkbenchEnvironmentService } from './services2.js';
4
4
  import { I as IExtensionResourceLoaderService } from './extensionResourceLoader.js';
@@ -34,6 +34,7 @@ import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
34
34
  import { IProgressService } from 'monaco-editor/esm/vs/platform/progress/common/progress.js';
35
35
  import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
36
36
  import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
37
+ import _onigWasm from 'vscode-oniguruma/release/onig.wasm';
37
38
  import { g as getServiceOverride$1 } from './files.js';
38
39
  import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
39
40
  class TextMateTokenizationSupport extends Disposable {
@@ -345,12 +346,12 @@ let TextMateWorkerHost = class TextMateWorkerHost {
345
346
  const textmateMain = `${textmateLocation}/release/main.js`;
346
347
  const onigurumaMain = `${onigurumaLocation}/release/main.js`;
347
348
  const onigurumaWASM = `${onigurumaLocation}/release/onig.wasm`;
348
- const uri = ( (FileAccess.asBrowserUri(textmateMain).toString(true)));
349
+ const uri = ( (( (FileAccess.asBrowserUri(textmateMain))).toString(true)));
349
350
  const createData = {
350
351
  grammarDefinitions: this._grammarDefinitions,
351
352
  textmateMainUri: uri,
352
- onigurumaMainUri: ( (FileAccess.asBrowserUri(onigurumaMain).toString(true))),
353
- onigurumaWASMUri: ( (FileAccess.asBrowserUri(onigurumaWASM).toString(true))),
353
+ onigurumaMainUri: ( (( (FileAccess.asBrowserUri(onigurumaMain))).toString(true))),
354
+ onigurumaWASMUri: ( (( (FileAccess.asBrowserUri(onigurumaWASM))).toString(true))),
354
355
  };
355
356
  const worker = createWebWorker(this._modelService, this._languageConfigurationService, {
356
357
  createData,
@@ -956,13 +957,13 @@ let TextMateTokenizationFeature = class TextMateTokenizationFeature extends Disp
956
957
  }
957
958
  async _loadVSCodeOnigurumaWASM() {
958
959
  if (isWeb) {
959
- const response = await fetch(( (FileAccess.asBrowserUri('vscode-oniguruma/../onig.wasm').toString(true))));
960
+ const response = await fetch(( (( (FileAccess.asBrowserUri('vscode-oniguruma/../onig.wasm'))).toString(true))));
960
961
  return await response.arrayBuffer();
961
962
  }
962
963
  else {
963
964
  const response = await fetch(this._environmentService.isBuilt
964
- ? ( (FileAccess.asBrowserUri(`${nodeModulesAsarUnpackedPath}/vscode-oniguruma/release/onig.wasm`).toString(true)))
965
- : ( (FileAccess.asBrowserUri(`${nodeModulesPath}/vscode-oniguruma/release/onig.wasm`).toString(true))));
965
+ ? ( (( (FileAccess.asBrowserUri(`${nodeModulesAsarUnpackedPath}/vscode-oniguruma/release/onig.wasm`))).toString(true)))
966
+ : ( (( (FileAccess.asBrowserUri(`${nodeModulesPath}/vscode-oniguruma/release/onig.wasm`))).toString(true))));
966
967
  return response;
967
968
  }
968
969
  }
@@ -1075,6 +1076,9 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
1075
1076
  }
1076
1077
  return true;
1077
1078
  }
1079
+ registerAssets({
1080
+ 'vscode-oniguruma/../onig.wasm': _onigWasm
1081
+ });
1078
1082
  function initialize(instantiationService) {
1079
1083
  instantiationService.invokeFunction((accessor) => accessor.get(ITextMateTokenizationService));
1080
1084
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "1.76.6",
3
+ "version": "1.76.8",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor",
6
6
  "keywords": [],
@@ -195,6 +195,7 @@
195
195
  "rollup": "^3.20.2",
196
196
  "rollup-plugin-dts": "^5.3.0",
197
197
  "rollup-plugin-external-assets": "^3.0.1",
198
+ "rollup-plugin-glob-import": "^0.5.0",
198
199
  "rollup-plugin-styles": "^4.0.0",
199
200
  "semver": "^7.3.8",
200
201
  "ts-node": "^10.9.1",
Binary file
Binary file
Binary file