@codingame/monaco-vscode-interactive-service-override 14.0.2 → 14.0.4
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 +11 -11
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactive.contribution.js +17 -17
- package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-interactive-service-override",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - interactive service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "14.0.
|
|
19
|
-
"@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common": "14.0.
|
|
20
|
-
"@codingame/monaco-vscode-af5ccfda-af82-504b-b365-92b4e654e5c5-common": "14.0.
|
|
21
|
-
"@codingame/monaco-vscode-api": "14.0.
|
|
22
|
-
"@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "14.0.
|
|
23
|
-
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "14.0.
|
|
24
|
-
"@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common": "14.0.
|
|
25
|
-
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "14.0.
|
|
26
|
-
"@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common": "14.0.
|
|
27
|
-
"@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "14.0.
|
|
18
|
+
"@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common": "14.0.4",
|
|
19
|
+
"@codingame/monaco-vscode-771c2e6d-0284-5ac1-be73-7176085eedc5-common": "14.0.4",
|
|
20
|
+
"@codingame/monaco-vscode-af5ccfda-af82-504b-b365-92b4e654e5c5-common": "14.0.4",
|
|
21
|
+
"@codingame/monaco-vscode-api": "14.0.4",
|
|
22
|
+
"@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "14.0.4",
|
|
23
|
+
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "14.0.4",
|
|
24
|
+
"@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common": "14.0.4",
|
|
25
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "14.0.4",
|
|
26
|
+
"@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common": "14.0.4",
|
|
27
|
+
"@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "14.0.4"
|
|
28
28
|
},
|
|
29
29
|
"main": "index.js",
|
|
30
30
|
"module": "index.js",
|
|
@@ -68,7 +68,7 @@ import { isReplEditorControl } from '../../replNotebook/browser/replEditor.js';
|
|
|
68
68
|
import { InlineChatController } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-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(6986, "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(6987, 'Open Interactive Window')),
|
|
277
277
|
f1: false,
|
|
278
278
|
category: interactiveWindowCategory,
|
|
279
279
|
metadata: {
|
|
280
|
-
description: ( localize(
|
|
280
|
+
description: ( localize(6987, '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(6988, '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(6989, '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(6990, '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(6991, '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(6992, '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(6993, '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(6994, '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(6995, '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
|
+
6996,
|
|
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
|
+
6997,
|
|
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
|
+
6998,
|
|
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
|
+
6999,
|
|
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
|
+
7000,
|
|
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
|
+
7001,
|
|
742
742
|
"Display a hint in the Interactive Window (REPL) input box to indicate how to execute code."
|
|
743
743
|
)),
|
|
744
744
|
tags: ['replExecute']
|
|
@@ -78,7 +78,7 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
|
|
|
78
78
|
const keybinding = this.getKeybinding();
|
|
79
79
|
const keybindingHintLabel = keybinding?.getLabel();
|
|
80
80
|
if (keybinding && keybindingHintLabel) {
|
|
81
|
-
const actionPart = ( localize(
|
|
81
|
+
const actionPart = ( localize(7002, 'Press {0} to execute. ', keybindingHintLabel));
|
|
82
82
|
const [before, after] = ( actionPart.split(keybindingHintLabel).map((fragment) => {
|
|
83
83
|
const hintPart = $('span', undefined, fragment);
|
|
84
84
|
hintPart.style.fontStyle = 'italic';
|
|
@@ -93,10 +93,10 @@ let ReplInputHintContentWidget = class ReplInputHintContentWidget extends Dispos
|
|
|
93
93
|
this.domNode.append(hintElement);
|
|
94
94
|
const helpKeybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
95
95
|
const helpInfo = helpKeybinding
|
|
96
|
-
? ( localize(
|
|
97
|
-
: ( localize(
|
|
96
|
+
? ( localize(7003, "Use {0} for accessibility help. ", helpKeybinding))
|
|
97
|
+
: ( localize(7004, "Run the Open Accessibility Help command for more information. "));
|
|
98
98
|
this.ariaLabel = actionPart.concat(helpInfo, ( localize(
|
|
99
|
-
|
|
99
|
+
7005,
|
|
100
100
|
' Toggle {0} in settings to disable this hint.',
|
|
101
101
|
AccessibilityVerbositySettingId.ReplEditor
|
|
102
102
|
)));
|
|
@@ -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(8581, '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'; }
|