@codingame/monaco-vscode-interactive-service-override 17.2.0 → 18.0.0
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.
- package/package.json +13 -12
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactive.contribution.js +23 -23
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditor.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditor.js +6 -6
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +7 -4
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +5 -4
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-interactive-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - interactive service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,17 +15,18 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common": "18.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common": "18.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-6c0f93b9-169c-58c3-a9cb-7d60698eb52c-common": "18.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-8d39d04c-3201-5bd6-be79-eed8d17a5ad0-common": "18.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-api": "18.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "18.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common": "18.0.0",
|
|
25
|
+
"@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common": "18.0.0",
|
|
26
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "18.0.0",
|
|
27
|
+
"@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common": "18.0.0",
|
|
28
|
+
"@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "18.0.0",
|
|
29
|
+
"@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common": "18.0.0"
|
|
29
30
|
},
|
|
30
31
|
"main": "index.js",
|
|
31
32
|
"module": "index.js",
|
|
@@ -38,11 +38,11 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/mini
|
|
|
38
38
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/miscColors';
|
|
39
39
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
40
40
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
41
|
-
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-
|
|
41
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/editor';
|
|
42
42
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
43
43
|
import { EditorExtensions, EditorsOrder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
44
44
|
import { PANEL_BORDER } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/theme';
|
|
45
|
-
import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-
|
|
45
|
+
import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
|
|
46
46
|
import { INTERACTIVE_INPUT_CURSOR_BOUNDARY, ReplEditorSettings } from './interactiveCommon.js';
|
|
47
47
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
48
48
|
import { InteractiveEditor } from './interactiveEditor.js';
|
|
@@ -50,11 +50,11 @@ import { InteractiveEditorInput } from '@codingame/monaco-vscode-eba0b9b3-174c-5
|
|
|
50
50
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/collections';
|
|
51
51
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
52
52
|
import { IInteractiveHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service';
|
|
53
|
-
import { NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT } from '@codingame/monaco-vscode-
|
|
54
|
-
import { executeIcon } from '@codingame/monaco-vscode-
|
|
53
|
+
import { NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
54
|
+
import { executeIcon } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
55
55
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
56
56
|
import { INTERACTIVE_WINDOW_EDITOR_ID, CellUri, NotebookWorkingCopyTypeIdentifier, CellKind, CellEditType, NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
57
|
-
import { IS_COMPOSITE_NOTEBOOK, NOTEBOOK_EDITOR_FOCUSED, InteractiveWindowOpen } from '@codingame/monaco-vscode-
|
|
57
|
+
import { IS_COMPOSITE_NOTEBOOK, NOTEBOOK_EDITOR_FOCUSED, InteractiveWindowOpen } from '@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
58
58
|
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
59
59
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
60
60
|
import { columnToEditorGroup } from '@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
@@ -65,10 +65,10 @@ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
65
65
|
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
66
66
|
import { IWorkingCopyEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service';
|
|
67
67
|
import { isReplEditorControl } from '../../replNotebook/browser/replEditor.js';
|
|
68
|
-
import { InlineChatController } from '@codingame/monaco-vscode-
|
|
68
|
+
import { InlineChatController } from '@codingame/monaco-vscode-6c0f93b9-169c-58c3-a9cb-7d60698eb52c-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
69
69
|
import { IsWindowsContext, IsLinuxContext } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkeys';
|
|
70
70
|
|
|
71
|
-
const interactiveWindowCategory = ( localize2(
|
|
71
|
+
const interactiveWindowCategory = ( localize2(7443, "Interactive Window"));
|
|
72
72
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(InteractiveEditor, INTERACTIVE_WINDOW_EDITOR_ID, 'Interactive Window'), [
|
|
73
73
|
( new SyncDescriptor(InteractiveEditorInput))
|
|
74
74
|
]);
|
|
@@ -273,11 +273,11 @@ registerAction2(class extends Action2 {
|
|
|
273
273
|
constructor() {
|
|
274
274
|
super({
|
|
275
275
|
id: '_interactive.open',
|
|
276
|
-
title: ( localize2(
|
|
276
|
+
title: ( localize2(7444, 'Open Interactive Window')),
|
|
277
277
|
f1: false,
|
|
278
278
|
category: interactiveWindowCategory,
|
|
279
279
|
metadata: {
|
|
280
|
-
description: ( localize(
|
|
280
|
+
description: ( localize(7444, 'Open Interactive Window')),
|
|
281
281
|
args: [
|
|
282
282
|
{
|
|
283
283
|
name: 'showOptions',
|
|
@@ -381,7 +381,7 @@ registerAction2(class extends Action2 {
|
|
|
381
381
|
constructor() {
|
|
382
382
|
super({
|
|
383
383
|
id: 'interactive.execute',
|
|
384
|
-
title: ( localize2(
|
|
384
|
+
title: ( localize2(7445, 'Execute Code')),
|
|
385
385
|
category: interactiveWindowCategory,
|
|
386
386
|
keybinding: [{
|
|
387
387
|
when: ( ContextKeyExpr.and(IS_COMPOSITE_NOTEBOOK, ( ContextKeyExpr.equals('activeEditor', 'workbench.editor.interactive')))),
|
|
@@ -491,7 +491,7 @@ registerAction2(class extends Action2 {
|
|
|
491
491
|
constructor() {
|
|
492
492
|
super({
|
|
493
493
|
id: 'interactive.input.clear',
|
|
494
|
-
title: ( localize2(
|
|
494
|
+
title: ( localize2(7446, 'Clear the interactive window input editor contents')),
|
|
495
495
|
category: interactiveWindowCategory,
|
|
496
496
|
f1: false
|
|
497
497
|
});
|
|
@@ -513,7 +513,7 @@ registerAction2(class extends Action2 {
|
|
|
513
513
|
constructor() {
|
|
514
514
|
super({
|
|
515
515
|
id: 'interactive.history.previous',
|
|
516
|
-
title: ( localize2(
|
|
516
|
+
title: ( localize2(7447, 'Previous value in history')),
|
|
517
517
|
category: interactiveWindowCategory,
|
|
518
518
|
f1: false,
|
|
519
519
|
keybinding: {
|
|
@@ -544,7 +544,7 @@ registerAction2(class extends Action2 {
|
|
|
544
544
|
constructor() {
|
|
545
545
|
super({
|
|
546
546
|
id: 'interactive.history.next',
|
|
547
|
-
title: ( localize2(
|
|
547
|
+
title: ( localize2(7448, 'Next value in history')),
|
|
548
548
|
category: interactiveWindowCategory,
|
|
549
549
|
f1: false,
|
|
550
550
|
keybinding: {
|
|
@@ -575,7 +575,7 @@ registerAction2(class extends Action2 {
|
|
|
575
575
|
constructor() {
|
|
576
576
|
super({
|
|
577
577
|
id: 'interactive.scrollToTop',
|
|
578
|
-
title: ( localize(
|
|
578
|
+
title: ( localize(7449, 'Scroll to Top')),
|
|
579
579
|
keybinding: {
|
|
580
580
|
when: ( ContextKeyExpr.equals('activeEditor', 'workbench.editor.interactive')),
|
|
581
581
|
primary: KeyMod.CtrlCmd | KeyCode.Home,
|
|
@@ -600,7 +600,7 @@ registerAction2(class extends Action2 {
|
|
|
600
600
|
constructor() {
|
|
601
601
|
super({
|
|
602
602
|
id: 'interactive.scrollToBottom',
|
|
603
|
-
title: ( localize(
|
|
603
|
+
title: ( localize(7450, 'Scroll to Bottom')),
|
|
604
604
|
keybinding: {
|
|
605
605
|
when: ( ContextKeyExpr.equals('activeEditor', 'workbench.editor.interactive')),
|
|
606
606
|
primary: KeyMod.CtrlCmd | KeyCode.End,
|
|
@@ -626,7 +626,7 @@ registerAction2(class extends Action2 {
|
|
|
626
626
|
constructor() {
|
|
627
627
|
super({
|
|
628
628
|
id: 'interactive.input.focus',
|
|
629
|
-
title: ( localize2(
|
|
629
|
+
title: ( localize2(7451, 'Focus Input Editor')),
|
|
630
630
|
category: interactiveWindowCategory,
|
|
631
631
|
menu: {
|
|
632
632
|
id: MenuId.CommandPalette,
|
|
@@ -659,7 +659,7 @@ registerAction2(class extends Action2 {
|
|
|
659
659
|
constructor() {
|
|
660
660
|
super({
|
|
661
661
|
id: 'interactive.history.focus',
|
|
662
|
-
title: ( localize2(
|
|
662
|
+
title: ( localize2(7452, 'Focus History')),
|
|
663
663
|
category: interactiveWindowCategory,
|
|
664
664
|
menu: {
|
|
665
665
|
id: MenuId.CommandPalette,
|
|
@@ -692,7 +692,7 @@ registerColor('interactive.activeCodeBorder', {
|
|
|
692
692
|
hcDark: contrastBorder,
|
|
693
693
|
hcLight: contrastBorder
|
|
694
694
|
}, ( localize(
|
|
695
|
-
|
|
695
|
+
7453,
|
|
696
696
|
'The border color for the current interactive code cell when the editor has focus.'
|
|
697
697
|
)));
|
|
698
698
|
registerColor('interactive.inactiveCodeBorder', {
|
|
@@ -701,7 +701,7 @@ registerColor('interactive.inactiveCodeBorder', {
|
|
|
701
701
|
hcDark: PANEL_BORDER,
|
|
702
702
|
hcLight: PANEL_BORDER
|
|
703
703
|
}, ( localize(
|
|
704
|
-
|
|
704
|
+
7454,
|
|
705
705
|
'The border color for the current interactive code cell when the editor does not have focus.'
|
|
706
706
|
)));
|
|
707
707
|
( Registry.as(Extensions.Configuration)).registerConfiguration({
|
|
@@ -713,7 +713,7 @@ registerColor('interactive.inactiveCodeBorder', {
|
|
|
713
713
|
type: 'boolean',
|
|
714
714
|
default: true,
|
|
715
715
|
markdownDescription: ( localize(
|
|
716
|
-
|
|
716
|
+
7455,
|
|
717
717
|
"Automatically scroll the interactive window to show the output of the last statement executed. If this value is false, the window will only scroll if the last cell was already the one scrolled to."
|
|
718
718
|
))
|
|
719
719
|
},
|
|
@@ -721,7 +721,7 @@ registerColor('interactive.inactiveCodeBorder', {
|
|
|
721
721
|
type: 'boolean',
|
|
722
722
|
default: false,
|
|
723
723
|
markdownDescription: ( localize(
|
|
724
|
-
|
|
724
|
+
7456,
|
|
725
725
|
"Prompt to save the interactive window when it is closed. Only new interactive windows will be affected by this setting change."
|
|
726
726
|
))
|
|
727
727
|
},
|
|
@@ -729,7 +729,7 @@ registerColor('interactive.inactiveCodeBorder', {
|
|
|
729
729
|
type: 'boolean',
|
|
730
730
|
default: false,
|
|
731
731
|
markdownDescription: ( localize(
|
|
732
|
-
|
|
732
|
+
7457,
|
|
733
733
|
"Execute the Interactive Window (REPL) input box with shift+enter, so that enter can be used to create a newline."
|
|
734
734
|
)),
|
|
735
735
|
tags: ['replExecute']
|
|
@@ -738,7 +738,7 @@ registerColor('interactive.inactiveCodeBorder', {
|
|
|
738
738
|
type: 'boolean',
|
|
739
739
|
default: true,
|
|
740
740
|
markdownDescription: ( localize(
|
|
741
|
-
|
|
741
|
+
7458,
|
|
742
742
|
"Display a hint in the Interactive Window (REPL) input box to indicate how to execute code."
|
|
743
743
|
)),
|
|
744
744
|
tags: ['replExecute']
|
|
@@ -8,10 +8,10 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
8
8
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
9
9
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
10
10
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
11
|
-
import { EditorPane } from "@codingame/monaco-vscode-
|
|
11
|
+
import { EditorPane } from "@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane";
|
|
12
12
|
import { IEditorOpenContext, IEditorPaneScrollPosition, IEditorPaneSelectionChangeEvent, IEditorPaneWithScrolling } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
13
13
|
import { InteractiveEditorInput } from "@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common/vscode/vs/workbench/contrib/interactive/browser/interactiveEditorInput";
|
|
14
|
-
import { INotebookEditorOptions, INotebookEditorViewState } from "@codingame/monaco-vscode-
|
|
14
|
+
import { INotebookEditorOptions, INotebookEditorViewState } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
15
15
|
import { INotebookEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service";
|
|
16
16
|
import { IEditorGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService";
|
|
17
17
|
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
@@ -13,15 +13,15 @@ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
13
13
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
14
14
|
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
15
15
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
16
|
-
import { EditorPane } from '@codingame/monaco-vscode-
|
|
16
|
+
import { EditorPane } from '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
17
17
|
import { EditorPaneSelectionChangeReason } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
18
|
-
import { getSimpleEditorOptions } from '@codingame/monaco-vscode-
|
|
18
|
+
import { getSimpleEditorOptions } from '@codingame/monaco-vscode-8d39d04c-3201-5bd6-be79-eed8d17a5ad0-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
19
19
|
import { InteractiveEditorInput } from '@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common/vscode/vs/workbench/contrib/interactive/browser/interactiveEditorInput';
|
|
20
20
|
import { NotebookEditorExtensionsRegistry } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
21
21
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
22
22
|
import { GroupsOrder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
23
23
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
24
|
-
import { ExecutionStateCellStatusBarContrib, TimerCellStatusBarContrib } from '@codingame/monaco-vscode-
|
|
24
|
+
import { ExecutionStateCellStatusBarContrib, TimerCellStatusBarContrib } from '@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common/vscode/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController';
|
|
25
25
|
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
26
26
|
import { PLAINTEXT_LANGUAGE_ID } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
|
|
27
27
|
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
|
|
@@ -45,12 +45,12 @@ import { TabCompletionController } from '@codingame/monaco-vscode-api/vscode/vs/
|
|
|
45
45
|
import { MarkerController } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/gotoError/browser/gotoError';
|
|
46
46
|
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service';
|
|
47
47
|
import { TextEditorSelectionSource } from '@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor';
|
|
48
|
-
import { NotebookExecutionType } from '@codingame/monaco-vscode-
|
|
48
|
+
import { NotebookExecutionType } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
49
49
|
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
50
|
-
import { NOTEBOOK_KERNEL } from '@codingame/monaco-vscode-
|
|
50
|
+
import { NOTEBOOK_KERNEL } from '@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
51
51
|
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
52
52
|
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
53
|
-
import { NotebookFindContrib } from '@codingame/monaco-vscode-
|
|
53
|
+
import { NotebookFindContrib } from '@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common/vscode/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget';
|
|
54
54
|
import { INTERACTIVE_WINDOW_EDITOR_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
55
55
|
import * as interactiveEditor from './interactiveEditor.css';
|
|
56
56
|
import { deepClone } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
@@ -8,6 +8,7 @@ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/l
|
|
|
8
8
|
import { OS } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
9
9
|
import { ContentWidgetPositionPreference } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser';
|
|
10
10
|
import { EditorOption } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions';
|
|
11
|
+
import { Position } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position';
|
|
11
12
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
12
13
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
13
14
|
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
@@ -62,6 +63,8 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
|
|
|
62
63
|
this.editor.focus();
|
|
63
64
|
}));
|
|
64
65
|
this.editor.applyFontInfo(this.domNode);
|
|
66
|
+
const lineHeight = this.editor.getLineHeightForPosition(( new Position(1, 1)));
|
|
67
|
+
this.domNode.style.lineHeight = lineHeight + 'px';
|
|
65
68
|
}
|
|
66
69
|
return this.domNode;
|
|
67
70
|
}
|
|
@@ -78,7 +81,7 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
|
|
|
78
81
|
const keybinding = this.getKeybinding();
|
|
79
82
|
const keybindingHintLabel = keybinding?.getLabel();
|
|
80
83
|
if (keybinding && keybindingHintLabel) {
|
|
81
|
-
const actionPart = ( localize(
|
|
84
|
+
const actionPart = ( localize(7459, 'Press {0} to execute. ', keybindingHintLabel));
|
|
82
85
|
const [before, after] = ( actionPart.split(keybindingHintLabel).map((fragment) => {
|
|
83
86
|
const hintPart = $('span', undefined, fragment);
|
|
84
87
|
hintPart.style.fontStyle = 'italic';
|
|
@@ -93,10 +96,10 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
|
|
|
93
96
|
this.domNode.append(hintElement);
|
|
94
97
|
const helpKeybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
95
98
|
const helpInfo = helpKeybinding
|
|
96
|
-
? ( localize(
|
|
97
|
-
: ( localize(
|
|
99
|
+
? ( localize(7460, "Use {0} for accessibility help. ", helpKeybinding))
|
|
100
|
+
: ( localize(7461, "Run the Open Accessibility Help command for more information. "));
|
|
98
101
|
this.ariaLabel = actionPart.concat(helpInfo, ( localize(
|
|
99
|
-
|
|
102
|
+
7462,
|
|
100
103
|
' Toggle {0} in settings to disable this hint.',
|
|
101
104
|
AccessibilityVerbositySettingId.ReplEditor
|
|
102
105
|
)));
|
|
@@ -7,9 +7,9 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
7
7
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
8
8
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
9
9
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
10
|
-
import { EditorPane } from "@codingame/monaco-vscode-
|
|
10
|
+
import { EditorPane } from "@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane";
|
|
11
11
|
import { IEditorOpenContext, IEditorPaneScrollPosition, IEditorPaneSelectionChangeEvent, IEditorPaneWithScrolling } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
12
|
-
import { INotebookEditorOptions, INotebookEditorViewState } from "@codingame/monaco-vscode-
|
|
12
|
+
import { INotebookEditorOptions, INotebookEditorViewState } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
13
13
|
import { INotebookEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service";
|
|
14
14
|
import { NotebookEditorWidget } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
15
15
|
import { IEditorGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService";
|
|
@@ -6,7 +6,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
|
6
6
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
7
7
|
import { CodeEditorWidget } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget';
|
|
8
8
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
-
import '@codingame/monaco-vscode-
|
|
9
|
+
import '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
10
10
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
11
11
|
import '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/contextmenu/browser/contextmenu';
|
|
12
12
|
import '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
@@ -29,7 +29,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/sear
|
|
|
29
29
|
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
30
30
|
import { NotebookEditorWidget } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget';
|
|
31
31
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
32
|
-
import '@codingame/monaco-vscode-
|
|
32
|
+
import '@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common/vscode/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController';
|
|
33
33
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
34
34
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
35
35
|
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookOptions';
|
|
@@ -37,11 +37,12 @@ import '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/toolbar/toolbar';
|
|
|
37
37
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
38
38
|
import '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/gotoError/browser/gotoError';
|
|
39
39
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor';
|
|
40
|
-
import '@codingame/monaco-vscode-
|
|
40
|
+
import '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
41
41
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
42
42
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
43
|
-
import '@codingame/monaco-vscode-
|
|
43
|
+
import '@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common/vscode/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget';
|
|
44
44
|
import * as interactiveEditor from './interactiveEditor.css';
|
|
45
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
45
46
|
import '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/hover/browser/glyphHoverController';
|
|
46
47
|
import '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/hover/browser/contentHoverController';
|
|
47
48
|
import './replEditorInput.js';
|
|
@@ -7,7 +7,7 @@ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/fi
|
|
|
7
7
|
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
8
8
|
import { IInteractiveHistoryService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service";
|
|
9
9
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
10
|
-
import { ICompositeNotebookEditorInput, NotebookEditorInput } from "@codingame/monaco-vscode-
|
|
10
|
+
import { ICompositeNotebookEditorInput, NotebookEditorInput } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput";
|
|
11
11
|
import { INotebookEditorModelResolverService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service";
|
|
12
12
|
import { INotebookService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service";
|
|
13
13
|
import { ICustomEditorLabelService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/customEditorLabelService.service";
|
|
@@ -9,7 +9,7 @@ import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/l
|
|
|
9
9
|
import { EditorInputCapabilities } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
10
10
|
import { IInteractiveHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service';
|
|
11
11
|
import { NotebookSetting, CellKind, CellEditType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
12
|
-
import { NotebookEditorInput } from '@codingame/monaco-vscode-
|
|
12
|
+
import { NotebookEditorInput } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
13
13
|
import { INotebookEditorModelResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service';
|
|
14
14
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
15
15
|
import { ICustomEditorLabelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/customEditorLabelService.service';
|
|
@@ -21,7 +21,7 @@ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
|
21
21
|
import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
|
|
22
22
|
|
|
23
23
|
var ReplEditorInput_1;
|
|
24
|
-
const replTabIcon = registerIcon('repl-editor-label-icon', Codicon.debugLineByLine, ( localize(
|
|
24
|
+
const replTabIcon = registerIcon('repl-editor-label-icon', Codicon.debugLineByLine, ( localize(9305, 'Icon of the REPL editor label.')));
|
|
25
25
|
let ReplEditorInput = class ReplEditorInput extends NotebookEditorInput {
|
|
26
26
|
static { ReplEditorInput_1 = this; }
|
|
27
27
|
static { this.ID = 'workbench.editorinputs.replEditorInput'; }
|