@codingame/monaco-vscode-walkthrough-service-override 24.2.0 → 25.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 +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +80 -42
- 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/media/gettingStarted.css +43 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +151 -151
- 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/welcomeGettingStarted/common/media/theme_picker_small.js +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/media/walkThroughPart.css +1 -0
- 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
|
@@ -10,15 +10,15 @@ var notebookProfileContent = () => `
|
|
|
10
10
|
<checklist>
|
|
11
11
|
<checkbox on-checked="${createSetProfileCommandUri('default')}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'both' && config.notebook.globalToolbar == false && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
|
|
12
12
|
<img width="${imageSize}" src="./notebookThemes/default.png"/>
|
|
13
|
-
${escape(( localize(
|
|
13
|
+
${escape(( localize(13416, "Default")))}
|
|
14
14
|
</checkbox>
|
|
15
15
|
<checkbox on-checked="${createSetProfileCommandUri('jupyter')}" checked-on="config.notebook.cellFocusIndicator == 'gutter' && config.notebook.insertToolbarLocation == 'notebookToolbar' && config.notebook.globalToolbar == true && config.notebook.compactView == true && config.notebook.showCellStatusBar == 'visible'">
|
|
16
16
|
<img width="${imageSize}" src="./notebookThemes/jupyter.png"/>
|
|
17
|
-
${escape(( localize(
|
|
17
|
+
${escape(( localize(13417, "Jupyter")))}
|
|
18
18
|
</checkbox>
|
|
19
19
|
<checkbox on-checked="${createSetProfileCommandUri('colab')}" checked-on="config.notebook.cellFocusIndicator == 'border' && config.notebook.insertToolbarLocation == 'betweenCells' && config.notebook.globalToolbar == false && config.notebook.compactView == false && config.notebook.showCellStatusBar == 'hidden'">
|
|
20
20
|
<img width="${imageSize}" src="./notebookThemes/colab.png"/>
|
|
21
|
-
${escape(( localize(
|
|
21
|
+
${escape(( localize(13418, "Colab")))}
|
|
22
22
|
</checkbox>
|
|
23
23
|
</checklist>
|
|
24
24
|
</vertically-centered>
|
|
@@ -8,26 +8,26 @@ var themePickerContent = () => `
|
|
|
8
8
|
<div class="theme-picker-row">
|
|
9
9
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_DARK}'">
|
|
10
10
|
<img width="200" src="./dark.png"/>
|
|
11
|
-
${escape(( localize(
|
|
11
|
+
${escape(( localize(13419, "Dark Modern")))}
|
|
12
12
|
</checkbox>
|
|
13
13
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_LIGHT}'">
|
|
14
14
|
<img width="200" src="./light.png"/>
|
|
15
|
-
${escape(( localize(
|
|
15
|
+
${escape(( localize(13420, "Light Modern")))}
|
|
16
16
|
</checkbox>
|
|
17
17
|
</div>
|
|
18
18
|
<div class="theme-picker-row">
|
|
19
19
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_DARK}'">
|
|
20
20
|
<img width="200" src="./dark-hc.png"/>
|
|
21
|
-
${escape(( localize(
|
|
21
|
+
${escape(( localize(13421, "Dark High Contrast")))}
|
|
22
22
|
</checkbox>
|
|
23
23
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}'">
|
|
24
24
|
<img width="200" src="./light-hc.png"/>
|
|
25
|
-
${escape(( localize(
|
|
25
|
+
${escape(( localize(13422, "Light High Contrast")))}
|
|
26
26
|
</checkbox>
|
|
27
27
|
</div>
|
|
28
28
|
</checklist>
|
|
29
29
|
<checkbox class="theme-picker-link" when-checked="command:workbench.action.selectTheme" checked-on="false">
|
|
30
|
-
${escape(( localize(
|
|
30
|
+
${escape(( localize(13423, "See More Themes...")))}
|
|
31
31
|
</checkbox>
|
|
32
32
|
`;
|
|
33
33
|
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js
CHANGED
|
@@ -8,21 +8,21 @@ var themePickerSmallContent = () => `
|
|
|
8
8
|
<div class="theme-picker-row">
|
|
9
9
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_DARK}'">
|
|
10
10
|
<img width="150" src="./dark.png"/>
|
|
11
|
-
${escape(( localize(
|
|
11
|
+
${escape(( localize(13424, "Dark Modern")))}
|
|
12
12
|
</checkbox>
|
|
13
13
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_LIGHT}'">
|
|
14
14
|
<img width="150" src="./light.png"/>
|
|
15
|
-
${escape(( localize(
|
|
15
|
+
${escape(( localize(13425, "Light Modern")))}
|
|
16
16
|
</checkbox>
|
|
17
17
|
</div>
|
|
18
18
|
<div class="theme-picker-row">
|
|
19
19
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_DARK}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_DARK}'">
|
|
20
20
|
<img width="150" src="./dark-hc.png"/>
|
|
21
|
-
${escape(( localize(
|
|
21
|
+
${escape(( localize(13426, "Dark High Contrast")))}
|
|
22
22
|
</checkbox>
|
|
23
23
|
<checkbox when-checked="setTheme:${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}" checked-on="config.workbench.colorTheme == '${ThemeSettingDefaults.COLOR_THEME_HC_LIGHT}'">
|
|
24
24
|
<img width="150" src="./light-hc.png"/>
|
|
25
|
-
${escape(( localize(
|
|
25
|
+
${escape(( localize(13427, "Light High Contrast")))}
|
|
26
26
|
</checkbox>
|
|
27
27
|
</div>
|
|
28
28
|
</checklist>
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js
CHANGED
|
@@ -13,7 +13,7 @@ walkThroughContentRegistry.registerProvider('vs/workbench/contrib/welcomeWalkthr
|
|
|
13
13
|
const typeId = 'workbench.editors.walkThroughInput';
|
|
14
14
|
const inputOptions = {
|
|
15
15
|
typeId,
|
|
16
|
-
name: ( localize(
|
|
16
|
+
name: ( localize(13446, "Editor Playground")),
|
|
17
17
|
resource: ( FileAccess.asBrowserUri(
|
|
18
18
|
'vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.md'
|
|
19
19
|
))
|
|
@@ -25,7 +25,7 @@ const inputOptions = {
|
|
|
25
25
|
};
|
|
26
26
|
class EditorWalkThroughAction extends Action2 {
|
|
27
27
|
static { this.ID = 'workbench.action.showInteractivePlayground'; }
|
|
28
|
-
static { this.LABEL = ( localize2(
|
|
28
|
+
static { this.LABEL = ( localize2(13447, 'Interactive Editor Playground')); }
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
31
|
id: EditorWalkThroughAction.ID,
|
|
@@ -33,7 +33,7 @@ class EditorWalkThroughAction extends Action2 {
|
|
|
33
33
|
category: Categories.Help,
|
|
34
34
|
f1: true,
|
|
35
35
|
metadata: {
|
|
36
|
-
description: ( localize2(
|
|
36
|
+
description: ( localize2(13448, "Opens an interactive playground for learning about the editor."))
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/media/walkThroughPart.css
CHANGED
|
@@ -155,6 +155,7 @@
|
|
|
155
155
|
color: var(--vscode-textPreformat-foreground);
|
|
156
156
|
background-color: var(--vscode-textPreformat-background);
|
|
157
157
|
border-radius: 3px;
|
|
158
|
+
border: 1px solid var(--vscode-textPreformat-border);
|
|
158
159
|
}
|
|
159
160
|
|
|
160
161
|
.monaco-workbench .part.editor > .content .walkThroughContent .monaco-editor {
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js
CHANGED
|
@@ -14,7 +14,7 @@ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/wor
|
|
|
14
14
|
import { KeybindingsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
15
15
|
|
|
16
16
|
( Registry.as(EditorExtensions.EditorPane))
|
|
17
|
-
.registerEditorPane(EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(
|
|
17
|
+
.registerEditorPane(EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localize(13449, "Playground"))), [( new SyncDescriptor(WalkThroughInput))]);
|
|
18
18
|
registerAction2(EditorWalkThroughAction);
|
|
19
19
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(EditorWalkThroughInputSerializer.ID, EditorWalkThroughInputSerializer);
|
|
20
20
|
registerWorkbenchContribution2(WalkThroughSnippetContentProvider.ID, WalkThroughSnippetContentProvider, { editorTypeId: WalkThroughPart.ID });
|
|
@@ -26,7 +26,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarHelpMenu, {
|
|
|
26
26
|
group: '1_welcome',
|
|
27
27
|
command: {
|
|
28
28
|
id: 'workbench.action.showInteractivePlayground',
|
|
29
|
-
title: ( localize(
|
|
29
|
+
title: ( localize(13450, "Editor Playgrou&&nd"))
|
|
30
30
|
},
|
|
31
31
|
order: 3
|
|
32
32
|
});
|
|
@@ -38,7 +38,7 @@ import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbe
|
|
|
38
38
|
var WalkThroughPart_1;
|
|
39
39
|
registerCss(walkThroughPart);
|
|
40
40
|
const WALK_THROUGH_FOCUS = ( new RawContextKey('interactivePlaygroundFocus', false));
|
|
41
|
-
const UNBOUND_COMMAND = ( localize(
|
|
41
|
+
const UNBOUND_COMMAND = ( localize(13451, "unbound"));
|
|
42
42
|
const WALK_THROUGH_EDITOR_VIEW_STATE_PREFERENCE_KEY = 'walkThroughEditorViewState';
|
|
43
43
|
let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
44
44
|
static { WalkThroughPart_1 = this; }
|
|
@@ -148,7 +148,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
148
148
|
}
|
|
149
149
|
open(uri) {
|
|
150
150
|
if (uri.scheme === 'command' && uri.path === 'git.clone' && !CommandsRegistry.getCommand('git.clone')) {
|
|
151
|
-
this.notificationService.info(( localize(
|
|
151
|
+
this.notificationService.info(( localize(13452, "It looks like Git is not installed on your system.")));
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
this.openerService.open(this.addFrom(uri), { allowCommands: true });
|
|
@@ -14,6 +14,6 @@ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
|
14
14
|
import { Color, RGBA } from '@codingame/monaco-vscode-api/vscode/vs/base/common/color';
|
|
15
15
|
|
|
16
16
|
registerColor('walkThrough.embeddedEditorBackground', { dark: ( new Color(( new RGBA(0, 0, 0, .4)))), light: '#f4f4f4', hcDark: null, hcLight: null }, ( localize(
|
|
17
|
-
|
|
17
|
+
13453,
|
|
18
18
|
'Background color for the embedded editors on the Interactive Playground.'
|
|
19
19
|
)));
|