@codingame/monaco-vscode-walkthrough-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 +10 -10
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +23 -23
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +65 -49
- 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/gettingStartedDetailsRenderer.js +1 -1
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +8 -7
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +22 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +191 -184
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/ai-powered-suggestions.svg +146 -44
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/all.svg.js +1 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/customize-ai.svg +164 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/multi-file-edits.svg +204 -114
- 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/walkThrough.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js
CHANGED
|
@@ -9,15 +9,15 @@ var notebookProfileContent = () => `
|
|
|
9
9
|
<checklist>
|
|
10
10
|
<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'">
|
|
11
11
|
<img width="${imageSize}" src="./notebookThemes/default.png"/>
|
|
12
|
-
${escape(( localize(
|
|
12
|
+
${escape(( localize(12013, "Default")))}
|
|
13
13
|
</checkbox>
|
|
14
14
|
<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'">
|
|
15
15
|
<img width="${imageSize}" src="./notebookThemes/jupyter.png"/>
|
|
16
|
-
${escape(( localize(
|
|
16
|
+
${escape(( localize(12014, "Jupyter")))}
|
|
17
17
|
</checkbox>
|
|
18
18
|
<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'">
|
|
19
19
|
<img width="${imageSize}" src="./notebookThemes/colab.png"/>
|
|
20
|
-
${escape(( localize(
|
|
20
|
+
${escape(( localize(12015, "Colab")))}
|
|
21
21
|
</checkbox>
|
|
22
22
|
</checklist>
|
|
23
23
|
</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(12016, "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(12017, "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(12018, "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(12019, "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(12020, "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(12021, "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(12022, "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(12023, "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(12024, "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(12043, "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(12044, '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(12045, "Opens an interactive playground for learning about the editor."))
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js
CHANGED
|
@@ -10,11 +10,11 @@ import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workben
|
|
|
10
10
|
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
11
11
|
import { registerAction2, MenuRegistry, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
12
12
|
import { registerWorkbenchContribution2 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
13
|
-
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-
|
|
13
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/editor';
|
|
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(12046, "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(12047, "Editor Playgrou&&nd"))
|
|
30
30
|
},
|
|
31
31
|
order: 3
|
|
32
32
|
});
|
|
@@ -6,7 +6,7 @@ import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor
|
|
|
6
6
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
7
7
|
import { EditorInputCapabilities, IUntypedEditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
8
8
|
import { EditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput";
|
|
9
|
-
import { EditorModel } from "@codingame/monaco-vscode-
|
|
9
|
+
import { EditorModel } from "@codingame/monaco-vscode-924e8f00-6faf-5059-b518-e43427d29ab3-common/vscode/vs/workbench/common/editor/editorModel";
|
|
10
10
|
declare class WalkThroughModel extends EditorModel {
|
|
11
11
|
private mainRef;
|
|
12
12
|
private snippetRefs;
|
|
@@ -7,8 +7,8 @@ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor
|
|
|
7
7
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
8
8
|
import { EditorInputCapabilities } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
9
9
|
import { EditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput';
|
|
10
|
-
import { EditorModel } from '@codingame/monaco-vscode-
|
|
11
|
-
import { markedGfmHeadingIdPlugin } from '@codingame/monaco-vscode-
|
|
10
|
+
import { EditorModel } from '@codingame/monaco-vscode-924e8f00-6faf-5059-b518-e43427d29ab3-common/vscode/vs/workbench/common/editor/editorModel';
|
|
11
|
+
import { markedGfmHeadingIdPlugin } from '@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common/vscode/vs/workbench/contrib/markdown/browser/markedGfmHeadingIdPlugin';
|
|
12
12
|
import { moduleToContent } from '../common/walkThroughContentProvider.js';
|
|
13
13
|
|
|
14
14
|
var WalkThroughInput_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IEditorOpenContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
2
|
-
import { EditorPane } from "@codingame/monaco-vscode-
|
|
2
|
+
import { EditorPane } from "@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane";
|
|
3
3
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
4
4
|
import { WalkThroughInput } from "./walkThroughInput.js";
|
|
5
5
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
@@ -9,7 +9,7 @@ import { ScrollbarVisibility } from '@codingame/monaco-vscode-api/vscode/vs/base
|
|
|
9
9
|
import { escape } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
10
10
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
11
11
|
import { DisposableStore, toDisposable, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
12
|
-
import { EditorPane } from '@codingame/monaco-vscode-
|
|
12
|
+
import { EditorPane } from '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
13
13
|
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
14
14
|
import { WalkThroughInput } from './walkThroughInput.js';
|
|
15
15
|
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
@@ -37,7 +37,7 @@ import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbe
|
|
|
37
37
|
var WalkThroughPart_1;
|
|
38
38
|
registerCss(walkThroughPart);
|
|
39
39
|
const WALK_THROUGH_FOCUS = ( new RawContextKey('interactivePlaygroundFocus', false));
|
|
40
|
-
const UNBOUND_COMMAND = ( localize(
|
|
40
|
+
const UNBOUND_COMMAND = ( localize(12048, "unbound"));
|
|
41
41
|
const WALK_THROUGH_EDITOR_VIEW_STATE_PREFERENCE_KEY = 'walkThroughEditorViewState';
|
|
42
42
|
let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
43
43
|
static { WalkThroughPart_1 = this; }
|
|
@@ -147,7 +147,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
147
147
|
}
|
|
148
148
|
open(uri) {
|
|
149
149
|
if (uri.scheme === 'command' && uri.path === 'git.clone' && !CommandsRegistry.getCommand('git.clone')) {
|
|
150
|
-
this.notificationService.info(( localize(
|
|
150
|
+
this.notificationService.info(( localize(12049, "It looks like Git is not installed on your system.")));
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
153
|
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
|
+
12050,
|
|
18
18
|
'Background color for the embedded editors on the Interactive Playground.'
|
|
19
19
|
)));
|