monaco-editor-core 0.55.0-dev-20251026 → 0.55.0-dev-20251028

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 (70) hide show
  1. package/esm/nls.keys.json +1 -1
  2. package/esm/nls.messages.cs.js +2 -2
  3. package/esm/nls.messages.de.js +2 -2
  4. package/esm/nls.messages.es.js +2 -2
  5. package/esm/nls.messages.fr.js +2 -2
  6. package/esm/nls.messages.it.js +2 -2
  7. package/esm/nls.messages.ja.js +2 -2
  8. package/esm/nls.messages.js +1 -1
  9. package/esm/nls.messages.json +1 -1
  10. package/esm/nls.messages.ko.js +2 -2
  11. package/esm/nls.messages.pl.js +2 -2
  12. package/esm/nls.messages.pt-br.js +2 -2
  13. package/esm/nls.messages.ru.js +2 -2
  14. package/esm/nls.messages.tr.js +2 -2
  15. package/esm/nls.messages.zh-cn.js +2 -2
  16. package/esm/nls.messages.zh-tw.js +2 -2
  17. package/esm/nls.metadata.json +2 -0
  18. package/esm/vs/base/browser/ui/actionbar/actionbar.js +17 -0
  19. package/esm/vs/base/browser/ui/actionbar/actionbar.js.map +1 -1
  20. package/esm/vs/base/browser/ui/iconLabel/iconLabel.js +2 -1
  21. package/esm/vs/base/browser/ui/iconLabel/iconLabel.js.map +1 -1
  22. package/esm/vs/base/browser/ui/scrollbar/media/scrollbars.css +4 -0
  23. package/esm/vs/base/browser/ui/toolbar/toolbar.css +11 -0
  24. package/esm/vs/base/browser/ui/toolbar/toolbar.js +115 -2
  25. package/esm/vs/base/browser/ui/toolbar/toolbar.js.map +1 -1
  26. package/esm/vs/base/common/jsonSchema.js.map +1 -1
  27. package/esm/vs/editor/common/cursor/cursorWordOperations.js +14 -4
  28. package/esm/vs/editor/common/cursor/cursorWordOperations.js.map +1 -1
  29. package/esm/vs/editor/common/languages/textToHtmlTokenizer.js +21 -10
  30. package/esm/vs/editor/common/languages/textToHtmlTokenizer.js.map +1 -1
  31. package/esm/vs/editor/common/languages.js +5 -5
  32. package/esm/vs/editor/common/languages.js.map +1 -1
  33. package/esm/vs/editor/common/standalone/standaloneEnums.js +5 -5
  34. package/esm/vs/editor/common/standalone/standaloneEnums.js.map +1 -1
  35. package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js.map +1 -1
  36. package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js.map +1 -1
  37. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +5 -5
  38. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js.map +1 -1
  39. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +2 -2
  40. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js.map +1 -1
  41. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +22 -24
  42. package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js.map +1 -1
  43. package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +16 -22
  44. package/esm/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js.map +1 -1
  45. package/esm/vs/editor/contrib/inlineCompletions/browser/telemetry.js.map +1 -1
  46. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js.map +1 -1
  47. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -6
  48. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js.map +1 -1
  49. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +6 -2
  50. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js.map +1 -1
  51. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js.map +1 -1
  52. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +6 -6
  53. package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js.map +1 -1
  54. package/esm/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +6 -0
  55. package/esm/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js.map +1 -1
  56. package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +2 -2
  57. package/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js.map +1 -1
  58. package/esm/vs/editor/editor.api.d.ts +20 -18
  59. package/esm/vs/editor/standalone/browser/standaloneLanguages.js +1 -1
  60. package/esm/vs/editor/standalone/browser/standaloneLanguages.js.map +1 -1
  61. package/esm/vs/platform/theme/common/colorUtils.js +2 -2
  62. package/esm/vs/platform/theme/common/colors/miscColors.js +5 -4
  63. package/esm/vs/platform/theme/common/colors/miscColors.js.map +1 -1
  64. package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  65. package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
  66. package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
  67. package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  68. package/esm/vs/platform/workspace/common/workspace.js +1 -1
  69. package/monaco.d.ts +20 -18
  70. package/package.json +2 -2
@@ -8,8 +8,8 @@ import { registerColor, transparent } from '../colorUtils.js';
8
8
  // Import the colors we need
9
9
  import { foreground } from './baseColors.js';
10
10
  import { editorFindMatchHighlight, editorFindMatchHighlightBorder } from './editorColors.js';
11
- export const searchResultsInfoForeground = registerColor('search.resultsInfoForeground', { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, nls.localize(2012, "Color of the text in the search viewlet's completion message."));
11
+ export const searchResultsInfoForeground = registerColor('search.resultsInfoForeground', { light: foreground, dark: transparent(foreground, 0.65), hcDark: foreground, hcLight: foreground }, nls.localize(2013, "Color of the text in the search viewlet's completion message."));
12
12
  // ----- search editor (Distinct from normal editor find match to allow for better differentiation)
13
- export const searchEditorFindMatch = registerColor('searchEditor.findMatchBackground', { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, nls.localize(2013, "Color of the Search Editor query matches."));
14
- export const searchEditorFindMatchBorder = registerColor('searchEditor.findMatchBorder', { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, nls.localize(2014, "Border color of the Search Editor query matches."));
13
+ export const searchEditorFindMatch = registerColor('searchEditor.findMatchBackground', { light: transparent(editorFindMatchHighlight, 0.66), dark: transparent(editorFindMatchHighlight, 0.66), hcDark: editorFindMatchHighlight, hcLight: editorFindMatchHighlight }, nls.localize(2014, "Color of the Search Editor query matches."));
14
+ export const searchEditorFindMatchBorder = registerColor('searchEditor.findMatchBorder', { light: transparent(editorFindMatchHighlightBorder, 0.66), dark: transparent(editorFindMatchHighlightBorder, 0.66), hcDark: editorFindMatchHighlightBorder, hcLight: editorFindMatchHighlightBorder }, nls.localize(2015, "Border color of the Search Editor query matches."));
15
15
  //# sourceMappingURL=searchColors.js.map
@@ -58,7 +58,7 @@ export var IconFontDefinition;
58
58
  })(IconFontDefinition || (IconFontDefinition = {}));
59
59
  // regexes for validation of font properties
60
60
  export const fontIdRegex = /^([\w_-]+)$/;
61
- export const fontIdErrorMessage = localize(2017, 'The font ID must only contain letters, numbers, underscores and dashes.');
61
+ export const fontIdErrorMessage = localize(2018, 'The font ID must only contain letters, numbers, underscores and dashes.');
62
62
  class IconRegistry extends Disposable {
63
63
  constructor() {
64
64
  super();
@@ -69,8 +69,8 @@ class IconRegistry extends Disposable {
69
69
  icons: {
70
70
  type: 'object',
71
71
  properties: {
72
- fontId: { type: 'string', description: localize(2018, 'The id of the font to use. If not set, the font that is defined first is used.'), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
73
- fontCharacter: { type: 'string', description: localize(2019, 'The font character associated with the icon definition.') }
72
+ fontId: { type: 'string', description: localize(2019, 'The id of the font to use. If not set, the font that is defined first is used.'), pattern: fontIdRegex.source, patternErrorMessage: fontIdErrorMessage },
73
+ fontCharacter: { type: 'string', description: localize(2020, 'The font character associated with the icon definition.') }
74
74
  },
75
75
  additionalProperties: false,
76
76
  defaultSnippets: [{ body: { fontCharacter: '\\\\e030' } }]
@@ -173,9 +173,9 @@ iconRegistry.onDidChange(() => {
173
173
  });
174
174
  //setTimeout(_ => console.log(iconRegistry.toString()), 5000);
175
175
  // common icons
176
- export const widgetClose = registerIcon('widget-close', Codicon.close, localize(2020, 'Icon for the close action in widgets.'));
177
- export const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, localize(2021, 'Icon for goto previous editor location.'));
178
- export const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, localize(2022, 'Icon for goto next editor location.'));
176
+ export const widgetClose = registerIcon('widget-close', Codicon.close, localize(2021, 'Icon for the close action in widgets.'));
177
+ export const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, localize(2022, 'Icon for goto previous editor location.'));
178
+ export const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, localize(2023, 'Icon for goto next editor location.'));
179
179
  export const syncing = ThemeIcon.modify(Codicon.sync, 'spin');
180
180
  export const spinningLoading = ThemeIcon.modify(Codicon.loading, 'spin');
181
181
  //# sourceMappingURL=iconRegistry.js.map
@@ -70,10 +70,10 @@ class RemovedResources {
70
70
  }
71
71
  const messages = [];
72
72
  if (externalRemoval.length > 0) {
73
- messages.push(nls.localize(2023, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(', ')));
73
+ messages.push(nls.localize(2024, "The following files have been closed and modified on disk: {0}.", externalRemoval.join(', ')));
74
74
  }
75
75
  if (noParallelUniverses.length > 0) {
76
- messages.push(nls.localize(2024, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(', ')));
76
+ messages.push(nls.localize(2025, "The following files have been modified in an incompatible way: {0}.", noParallelUniverses.join(', ')));
77
77
  }
78
78
  return messages.join('\n');
79
79
  }
@@ -657,10 +657,10 @@ let UndoRedoService = class UndoRedoService {
657
657
  }
658
658
  _checkWorkspaceUndo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
659
659
  if (element.removedResources) {
660
- return this._tryToSplitAndUndo(strResource, element, element.removedResources, nls.localize(2025, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
660
+ return this._tryToSplitAndUndo(strResource, element, element.removedResources, nls.localize(2026, "Could not undo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
661
661
  }
662
662
  if (checkInvalidatedResources && element.invalidatedResources) {
663
- return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, nls.localize(2026, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
663
+ return this._tryToSplitAndUndo(strResource, element, element.invalidatedResources, nls.localize(2027, "Could not undo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
664
664
  }
665
665
  // this must be the last past element in all the impacted resources!
666
666
  const cannotUndoDueToResources = [];
@@ -670,7 +670,7 @@ let UndoRedoService = class UndoRedoService {
670
670
  }
671
671
  }
672
672
  if (cannotUndoDueToResources.length > 0) {
673
- return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2027, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(', ')));
673
+ return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2028, "Could not undo '{0}' across all files because changes were made to {1}", element.label, cannotUndoDueToResources.join(', ')));
674
674
  }
675
675
  const cannotLockDueToResources = [];
676
676
  for (const editStack of editStackSnapshot.editStacks) {
@@ -679,11 +679,11 @@ let UndoRedoService = class UndoRedoService {
679
679
  }
680
680
  }
681
681
  if (cannotLockDueToResources.length > 0) {
682
- return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2028, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
682
+ return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2029, "Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
683
683
  }
684
684
  // check if new stack elements were added in the meantime...
685
685
  if (!editStackSnapshot.isValid()) {
686
- return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2029, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
686
+ return this._tryToSplitAndUndo(strResource, element, null, nls.localize(2030, "Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
687
687
  }
688
688
  return null;
689
689
  }
@@ -730,14 +730,14 @@ let UndoRedoService = class UndoRedoService {
730
730
  })(UndoChoice || (UndoChoice = {}));
731
731
  const { result } = await this._dialogService.prompt({
732
732
  type: Severity.Info,
733
- message: nls.localize(2030, "Would you like to undo '{0}' across all files?", element.label),
733
+ message: nls.localize(2031, "Would you like to undo '{0}' across all files?", element.label),
734
734
  buttons: [
735
735
  {
736
- label: nls.localize(2031, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
736
+ label: nls.localize(2032, "&&Undo in {0} Files", editStackSnapshot.editStacks.length),
737
737
  run: () => UndoChoice.All
738
738
  },
739
739
  {
740
- label: nls.localize(2032, "Undo this &&File"),
740
+ label: nls.localize(2033, "Undo this &&File"),
741
741
  run: () => UndoChoice.This
742
742
  }
743
743
  ],
@@ -788,7 +788,7 @@ let UndoRedoService = class UndoRedoService {
788
788
  return;
789
789
  }
790
790
  if (editStack.locked) {
791
- const message = nls.localize(2033, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
791
+ const message = nls.localize(2034, "Could not undo '{0}' because there is already an undo or redo operation running.", element.label);
792
792
  this._notificationService.warn(message);
793
793
  return;
794
794
  }
@@ -875,9 +875,9 @@ let UndoRedoService = class UndoRedoService {
875
875
  }
876
876
  async _confirmAndContinueUndo(strResource, sourceId, element) {
877
877
  const result = await this._dialogService.confirm({
878
- message: nls.localize(2034, "Would you like to undo '{0}'?", element.label),
879
- primaryButton: nls.localize(2035, "&&Yes"),
880
- cancelButton: nls.localize(2036, "No")
878
+ message: nls.localize(2035, "Would you like to undo '{0}'?", element.label),
879
+ primaryButton: nls.localize(2036, "&&Yes"),
880
+ cancelButton: nls.localize(2037, "No")
881
881
  });
882
882
  if (!result.confirmed) {
883
883
  return;
@@ -934,10 +934,10 @@ let UndoRedoService = class UndoRedoService {
934
934
  }
935
935
  _checkWorkspaceRedo(strResource, element, editStackSnapshot, checkInvalidatedResources) {
936
936
  if (element.removedResources) {
937
- return this._tryToSplitAndRedo(strResource, element, element.removedResources, nls.localize(2037, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
937
+ return this._tryToSplitAndRedo(strResource, element, element.removedResources, nls.localize(2038, "Could not redo '{0}' across all files. {1}", element.label, element.removedResources.createMessage()));
938
938
  }
939
939
  if (checkInvalidatedResources && element.invalidatedResources) {
940
- return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, nls.localize(2038, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
940
+ return this._tryToSplitAndRedo(strResource, element, element.invalidatedResources, nls.localize(2039, "Could not redo '{0}' across all files. {1}", element.label, element.invalidatedResources.createMessage()));
941
941
  }
942
942
  // this must be the last future element in all the impacted resources!
943
943
  const cannotRedoDueToResources = [];
@@ -947,7 +947,7 @@ let UndoRedoService = class UndoRedoService {
947
947
  }
948
948
  }
949
949
  if (cannotRedoDueToResources.length > 0) {
950
- return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2039, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(', ')));
950
+ return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2040, "Could not redo '{0}' across all files because changes were made to {1}", element.label, cannotRedoDueToResources.join(', ')));
951
951
  }
952
952
  const cannotLockDueToResources = [];
953
953
  for (const editStack of editStackSnapshot.editStacks) {
@@ -956,11 +956,11 @@ let UndoRedoService = class UndoRedoService {
956
956
  }
957
957
  }
958
958
  if (cannotLockDueToResources.length > 0) {
959
- return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2040, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
959
+ return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2041, "Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}", element.label, cannotLockDueToResources.join(', ')));
960
960
  }
961
961
  // check if new stack elements were added in the meantime...
962
962
  if (!editStackSnapshot.isValid()) {
963
- return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2041, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
963
+ return this._tryToSplitAndRedo(strResource, element, null, nls.localize(2042, "Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime", element.label));
964
964
  }
965
965
  return null;
966
966
  }
@@ -999,7 +999,7 @@ let UndoRedoService = class UndoRedoService {
999
999
  return;
1000
1000
  }
1001
1001
  if (editStack.locked) {
1002
- const message = nls.localize(2042, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
1002
+ const message = nls.localize(2043, "Could not redo '{0}' because there is already an undo or redo operation running.", element.label);
1003
1003
  this._notificationService.warn(message);
1004
1004
  return;
1005
1005
  }
@@ -123,7 +123,7 @@ export class WorkspaceFolder {
123
123
  }
124
124
  }
125
125
  export const WORKSPACE_EXTENSION = 'code-workspace';
126
- export const WORKSPACE_FILTER = [{ name: localize(2043, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
126
+ export const WORKSPACE_FILTER = [{ name: localize(2044, "Code Workspace"), extensions: [WORKSPACE_EXTENSION] }];
127
127
  export const STANDALONE_EDITOR_WORKSPACE_ID = '4064f6ec-cb38-4ad0-af64-ee6467e63c82';
128
128
  export function isStandaloneEditorWorkspace(workspace) {
129
129
  return workspace.id === STANDALONE_EDITOR_WORKSPACE_ID;
package/monaco.d.ts CHANGED
@@ -7512,25 +7512,29 @@ declare namespace monaco.languages {
7512
7512
  */
7513
7513
  readonly insertText: string | {
7514
7514
  snippet: string;
7515
- };
7515
+ } | undefined;
7516
7516
  /**
7517
- * A text that is used to decide if this inline completion should be shown.
7518
- * An inline completion is shown if the text to replace is a subword of the filter text.
7519
- */
7520
- readonly filterText?: string;
7517
+ * The range to replace.
7518
+ * Must begin and end on the same line.
7519
+ * Refers to the current document or `uri` if provided.
7520
+ */
7521
+ readonly range?: IRange;
7521
7522
  /**
7522
7523
  * An optional array of additional text edits that are applied when
7523
7524
  * selecting this completion. Edits must not overlap with the main edit
7524
7525
  * nor with themselves.
7526
+ * Refers to the current document or `uri` if provided.
7525
7527
  */
7526
7528
  readonly additionalTextEdits?: editor.ISingleEditOperation[];
7527
7529
  /**
7528
- * The range to replace.
7529
- * Must begin and end on the same line.
7530
+ * The file for which the edit applies to.
7531
+ */
7532
+ readonly uri?: UriComponents;
7533
+ /**
7534
+ * A command that is run upon acceptance of this item.
7530
7535
  */
7531
- readonly range?: IRange;
7532
7536
  readonly command?: Command;
7533
- readonly action?: Command;
7537
+ readonly gutterMenuLinkAction?: Command;
7534
7538
  /**
7535
7539
  * Is called the first time an inline completion is shown.
7536
7540
  * @deprecated. Use `onDidShow` of the provider instead.
@@ -7543,9 +7547,10 @@ declare namespace monaco.languages {
7543
7547
  readonly completeBracketPairs?: boolean;
7544
7548
  readonly isInlineEdit?: boolean;
7545
7549
  readonly showInlineEditMenu?: boolean;
7550
+ /** Only show the inline suggestion when the cursor is in the showRange. */
7546
7551
  readonly showRange?: IRange;
7547
7552
  readonly warning?: InlineCompletionWarning;
7548
- readonly displayLocation?: InlineCompletionDisplayLocation;
7553
+ readonly hint?: InlineCompletionHint;
7549
7554
  /**
7550
7555
  * Used for telemetry.
7551
7556
  */
@@ -7557,21 +7562,19 @@ declare namespace monaco.languages {
7557
7562
  icon?: IconPath;
7558
7563
  }
7559
7564
 
7560
- export enum InlineCompletionDisplayLocationKind {
7565
+ export enum InlineCompletionHintStyle {
7561
7566
  Code = 1,
7562
7567
  Label = 2
7563
7568
  }
7564
7569
 
7565
- export interface InlineCompletionDisplayLocation {
7570
+ export interface InlineCompletionHint {
7571
+ /** Refers to the current document. */
7566
7572
  range: IRange;
7567
- kind: InlineCompletionDisplayLocationKind;
7568
- label: string;
7573
+ style: InlineCompletionHintStyle;
7574
+ content: string;
7569
7575
  jumpToEdit: boolean;
7570
7576
  }
7571
7577
 
7572
- /**
7573
- * TODO: add `| Uri | { light: Uri; dark: Uri }`.
7574
- */
7575
7578
  export type IconPath = editor.ThemeIcon;
7576
7579
 
7577
7580
  export interface InlineCompletions<TItem extends InlineCompletion = InlineCompletion> {
@@ -7672,7 +7675,6 @@ declare namespace monaco.languages {
7672
7675
  notShownReason: string | undefined;
7673
7676
  editorType: string;
7674
7677
  viewKind: string | undefined;
7675
- error: string | undefined;
7676
7678
  preceeded: boolean;
7677
7679
  languageId: string;
7678
7680
  requestReason: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "monaco-editor-core",
3
3
  "private": false,
4
- "version": "0.55.0-dev-20251026",
4
+ "version": "0.55.0-dev-20251028",
5
5
  "description": "A browser based code editor",
6
6
  "author": "Microsoft Corporation",
7
7
  "license": "MIT",
@@ -14,7 +14,7 @@
14
14
  "bugs": {
15
15
  "url": "https://github.com/microsoft/vscode/issues"
16
16
  },
17
- "vscodeCommitId": "c40db410b92e347f863bf3dd496eef066b564345",
17
+ "vscodeCommitId": "124710c5ffc06cedba2e4975d89f3fabcc0dada9",
18
18
  "dependencies": {
19
19
  "marked": "14.0.0",
20
20
  "dompurify": "3.2.7"