@codingame/monaco-vscode-walkthrough-service-override 11.0.0 → 11.0.2
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 +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +30 -30
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +37 -37
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +160 -160
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js
CHANGED
|
@@ -8,15 +8,15 @@ var notebookProfileContent = () => `
|
|
|
8
8
|
<checklist>
|
|
9
9
|
<checkbox on-checked="command:notebook.setProfile?${profileArg('default')}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'both' && config.notebook.globalToolbar == false && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
|
|
10
10
|
<img width="${imageSize}" src="./notebookThemes/default.png"/>
|
|
11
|
-
${escape(( localize(
|
|
11
|
+
${escape(( localize(10771, "Default")))}
|
|
12
12
|
</checkbox>
|
|
13
13
|
<checkbox on-checked="command:notebook.setProfile?${profileArg('jupyter')}" checked-on="config.notebook.cellFocusIndicator == 'gutter' && config.notebook.insertToolbarLocation == 'notebookToolbar' && config.notebook.globalToolbar == true && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
|
|
14
14
|
<img width="${imageSize}" src="./notebookThemes/jupyter.png"/>
|
|
15
|
-
${escape(( localize(
|
|
15
|
+
${escape(( localize(10772, "Jupyter")))}
|
|
16
16
|
</checkbox>
|
|
17
17
|
<checkbox on-checked="command:notebook.setProfile?${profileArg('colab')}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'betweenCells' && config.notebook.globalToolbar == false && config.notebook.compactView == false && config.notebook.showCellStatusBar == 'hidden'">
|
|
18
18
|
<img width="${imageSize}" src="./notebookThemes/colab.png"/>
|
|
19
|
-
${escape(( localize(
|
|
19
|
+
${escape(( localize(10773, "Colab")))}
|
|
20
20
|
</checkbox>
|
|
21
21
|
</checklist>
|
|
22
22
|
</vertically-centered>
|
|
@@ -7,26 +7,26 @@ var themePickerContent = () => `
|
|
|
7
7
|
<div class="theme-picker-row">
|
|
8
8
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_DARK}'">
|
|
9
9
|
<img width="200" src="./dark.png"/>
|
|
10
|
-
${escape(( localize(
|
|
10
|
+
${escape(( localize(10766, "Dark Modern")))}
|
|
11
11
|
</checkbox>
|
|
12
12
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_LIGHT}'">
|
|
13
13
|
<img width="200" src="./light.png"/>
|
|
14
|
-
${escape(( localize(
|
|
14
|
+
${escape(( localize(10767, "Light Modern")))}
|
|
15
15
|
</checkbox>
|
|
16
16
|
</div>
|
|
17
17
|
<div class="theme-picker-row">
|
|
18
18
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_DARK}'">
|
|
19
19
|
<img width="200" src="./dark-hc.png"/>
|
|
20
|
-
${escape(( localize(
|
|
20
|
+
${escape(( localize(10768, "Dark High Contrast")))}
|
|
21
21
|
</checkbox>
|
|
22
22
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}'">
|
|
23
23
|
<img width="200" src="./light-hc.png"/>
|
|
24
|
-
${escape(( localize(
|
|
24
|
+
${escape(( localize(10769, "Light High Contrast")))}
|
|
25
25
|
</checkbox>
|
|
26
26
|
</div>
|
|
27
27
|
</checklist>
|
|
28
28
|
<checkbox class="theme-picker-link" when-checked="command:workbench.action.selectTheme" checked-on="false">
|
|
29
|
-
${escape(( localize(
|
|
29
|
+
${escape(( localize(10770, "See More Themes...")))}
|
|
30
30
|
</checkbox>
|
|
31
31
|
`;
|
|
32
32
|
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js
CHANGED
|
@@ -12,7 +12,7 @@ walkThroughContentRegistry.registerProvider('vs/workbench/contrib/welcomeWalkthr
|
|
|
12
12
|
const typeId = 'workbench.editors.walkThroughInput';
|
|
13
13
|
const inputOptions = {
|
|
14
14
|
typeId,
|
|
15
|
-
name: ( localize(
|
|
15
|
+
name: ( localize(7392, "Editor Playground")),
|
|
16
16
|
resource: ( (FileAccess.asBrowserUri(
|
|
17
17
|
'vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.md'
|
|
18
18
|
)))
|
|
@@ -24,7 +24,7 @@ const inputOptions = {
|
|
|
24
24
|
};
|
|
25
25
|
class EditorWalkThroughAction extends Action2 {
|
|
26
26
|
static { this.ID = 'workbench.action.showInteractivePlayground'; }
|
|
27
|
-
static { this.LABEL = ( localize2(
|
|
27
|
+
static { this.LABEL = ( localize2(7393, 'Interactive Editor Playground')); }
|
|
28
28
|
constructor() {
|
|
29
29
|
super({
|
|
30
30
|
id: EditorWalkThroughAction.ID,
|
|
@@ -32,7 +32,7 @@ class EditorWalkThroughAction extends Action2 {
|
|
|
32
32
|
category: Categories.Help,
|
|
33
33
|
f1: true,
|
|
34
34
|
metadata: {
|
|
35
|
-
description: ( localize2(
|
|
35
|
+
description: ( localize2(7394, "Opens an interactive playground for learning about the editor."))
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js
CHANGED
|
@@ -13,7 +13,7 @@ import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor'
|
|
|
13
13
|
import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
14
14
|
|
|
15
15
|
( (Registry.as(EditorExtensions.EditorPane)))
|
|
16
|
-
.registerEditorPane(EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(
|
|
16
|
+
.registerEditorPane(EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(3175, "Playground"))), [( (new SyncDescriptor(WalkThroughInput)))]);
|
|
17
17
|
registerAction2(EditorWalkThroughAction);
|
|
18
18
|
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(EditorWalkThroughInputSerializer.ID, EditorWalkThroughInputSerializer);
|
|
19
19
|
registerWorkbenchContribution2(WalkThroughSnippetContentProvider.ID, WalkThroughSnippetContentProvider, { editorTypeId: WalkThroughPart.ID });
|
|
@@ -25,7 +25,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarHelpMenu, {
|
|
|
25
25
|
group: '1_welcome',
|
|
26
26
|
command: {
|
|
27
27
|
id: 'workbench.action.showInteractivePlayground',
|
|
28
|
-
title: ( localize(
|
|
28
|
+
title: ( localize(3176, "Editor Playgrou&&nd"))
|
|
29
29
|
},
|
|
30
30
|
order: 3
|
|
31
31
|
});
|
|
@@ -32,7 +32,7 @@ import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extension
|
|
|
32
32
|
|
|
33
33
|
var WalkThroughPart_1;
|
|
34
34
|
const WALK_THROUGH_FOCUS = ( (new RawContextKey('interactivePlaygroundFocus', false)));
|
|
35
|
-
const UNBOUND_COMMAND = ( localize(
|
|
35
|
+
const UNBOUND_COMMAND = ( localize(7390, "unbound"));
|
|
36
36
|
const WALK_THROUGH_EDITOR_VIEW_STATE_PREFERENCE_KEY = 'walkThroughEditorViewState';
|
|
37
37
|
let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
38
38
|
static { WalkThroughPart_1 = this; }
|
|
@@ -142,7 +142,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
142
142
|
}
|
|
143
143
|
open(uri) {
|
|
144
144
|
if (uri.scheme === 'command' && uri.path === 'git.clone' && !CommandsRegistry.getCommand('git.clone')) {
|
|
145
|
-
this.notificationService.info(( localize(
|
|
145
|
+
this.notificationService.info(( localize(7391, "It looks like Git is not installed on your system.")));
|
|
146
146
|
return;
|
|
147
147
|
}
|
|
148
148
|
this.openerService.open(this.addFrom(uri), { allowCommands: true });
|
|
@@ -13,6 +13,6 @@ import { localize } from 'vscode/vscode/vs/nls';
|
|
|
13
13
|
import { Color, RGBA } from 'vscode/vscode/vs/base/common/color';
|
|
14
14
|
|
|
15
15
|
registerColor('walkThrough.embeddedEditorBackground', { dark: ( (new Color( (new RGBA(0, 0, 0, .4))))), light: '#f4f4f4', hcDark: null, hcLight: null }, ( localize(
|
|
16
|
-
|
|
16
|
+
10781,
|
|
17
17
|
'Background color for the embedded editors on the Interactive Playground.'
|
|
18
18
|
)));
|