@codingame/monaco-vscode-welcome-service-override 1.85.6 → 2.0.0-v2.1
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 +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +42 -42
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedDetailsRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedList.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +14 -14
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/newFile.contribution.js +9 -9
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcome.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint.js +9 -9
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/vs_code_editor_walkthrough.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +24 -24
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughContentProvider.js +9 -9
- package/welcome.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-welcome-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-v2.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git
|
|
12
|
+
"url": "git@github.com:CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
22
|
-
"
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@2.0.0-v2.1",
|
|
22
|
+
"vscode-marked": "npm:marked@=3.0.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { GettingStartedInputSerializer, GettingStartedPage, inWelcomeContext } from './gettingStarted.js';
|
|
4
|
-
import { Registry } from '
|
|
4
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
5
5
|
import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
|
|
6
|
-
import { registerAction2, Action2, MenuId } from '
|
|
7
|
-
import { IInstantiationService } from '
|
|
8
|
-
import { ContextKeyExpr, IContextKeyService, RawContextKey } from '
|
|
6
|
+
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
8
|
+
import { ContextKeyExpr, IContextKeyService, RawContextKey } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
9
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
10
10
|
import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
|
|
11
|
-
import { SyncDescriptor } from '
|
|
11
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
12
12
|
import { IWalkthroughsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService';
|
|
13
13
|
import { GettingStartedInput } from './gettingStartedInput.js';
|
|
14
14
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
15
|
-
import { Extensions as Extensions$1 } from '
|
|
15
|
+
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
16
16
|
import { workbenchConfigurationNodeBase } from 'vscode/vscode/vs/workbench/common/configuration';
|
|
17
17
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
18
|
-
import { ICommandService, CommandsRegistry } from '
|
|
19
|
-
import { IQuickInputService } from '
|
|
18
|
+
import { ICommandService, CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
19
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
20
20
|
import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService';
|
|
21
|
-
import { isMacintosh, isLinux, isWindows } from '
|
|
21
|
+
import { isMacintosh, isLinux, isWindows } from 'vscode/vscode/vs/base/common/platform';
|
|
22
22
|
import { IExtensionManagementServerService } from 'vscode/vscode/vs/workbench/services/extensionManagement/common/extensionManagement';
|
|
23
23
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
24
24
|
import { StartupPageContribution } from './startupPage.js';
|
|
25
25
|
import { ExtensionsInput } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensionsInput';
|
|
26
|
-
import { Categories } from '
|
|
26
|
+
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
27
27
|
|
|
28
28
|
registerAction2(class extends Action2 {
|
|
29
29
|
constructor() {
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { $, getWindow, addDisposableListener, clearNode, reset, append } from '
|
|
3
|
-
import { renderFormattedText } from '
|
|
4
|
-
import { StandardKeyboardEvent } from '
|
|
5
|
-
import { Button } from '
|
|
6
|
-
import { renderLabelWithIcons } from '
|
|
7
|
-
import { DomScrollableElement } from '
|
|
8
|
-
import { Toggle } from '
|
|
9
|
-
import { flatten, coalesce, equals } from '
|
|
10
|
-
import { Throttler, Delayer } from '
|
|
11
|
-
import { Codicon } from '
|
|
12
|
-
import { onUnexpectedError } from '
|
|
13
|
-
import { splitRecentLabel } from '
|
|
14
|
-
import { DisposableStore, toDisposable } from '
|
|
15
|
-
import { parse } from '
|
|
16
|
-
import { matchesScheme, Schemas } from '
|
|
17
|
-
import { isMacintosh } from '
|
|
18
|
-
import { ThemeIcon } from '
|
|
19
|
-
import { assertIsDefined } from '
|
|
20
|
-
import { URI } from '
|
|
21
|
-
import { generateUuid } from '
|
|
2
|
+
import { $, getWindow, addDisposableListener, clearNode, reset, append } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
|
+
import { renderFormattedText } from 'vscode/vscode/vs/base/browser/formattedTextRenderer';
|
|
4
|
+
import { StandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
|
|
5
|
+
import { Button } from 'vscode/vscode/vs/base/browser/ui/button/button';
|
|
6
|
+
import { renderLabelWithIcons } from 'vscode/vscode/vs/base/browser/ui/iconLabel/iconLabels';
|
|
7
|
+
import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
8
|
+
import { Toggle } from 'vscode/vscode/vs/base/browser/ui/toggle/toggle';
|
|
9
|
+
import { flatten, coalesce, equals } from 'vscode/vscode/vs/base/common/arrays';
|
|
10
|
+
import { Throttler, Delayer } from 'vscode/vscode/vs/base/common/async';
|
|
11
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
12
|
+
import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
|
|
13
|
+
import { splitRecentLabel } from 'vscode/vscode/vs/base/common/labels';
|
|
14
|
+
import { DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
15
|
+
import { parse } from 'vscode/vscode/vs/base/common/marshalling';
|
|
16
|
+
import { matchesScheme, Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
17
|
+
import { isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
18
|
+
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
19
|
+
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
20
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
21
|
+
import { generateUuid } from 'vscode/vscode/vs/base/common/uuid';
|
|
22
22
|
import './media/gettingStarted.css.js';
|
|
23
|
-
import { ILanguageService } from '
|
|
24
|
-
import { MarkdownRenderer } from '
|
|
25
|
-
import { localizeWithPath } from '
|
|
26
|
-
import { IAccessibilityService } from '
|
|
27
|
-
import { ICommandService } from '
|
|
28
|
-
import { IConfigurationService } from '
|
|
29
|
-
import { RawContextKey, ContextKeyExpr, IContextKeyService } from '
|
|
23
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
24
|
+
import { MarkdownRenderer } from 'vscode/vscode/vs/editor/contrib/markdownRenderer/browser/markdownRenderer';
|
|
25
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
26
|
+
import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility';
|
|
27
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
28
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
29
|
+
import { RawContextKey, ContextKeyExpr, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
30
30
|
import { IExtensionManagementService } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagement';
|
|
31
|
-
import { ExtensionIdentifier } from '
|
|
32
|
-
import { IFileService } from '
|
|
33
|
-
import { IInstantiationService } from '
|
|
34
|
-
import { IKeybindingService } from '
|
|
35
|
-
import { ILabelService } from '
|
|
36
|
-
import { INotificationService } from '
|
|
37
|
-
import { Link } from '
|
|
38
|
-
import { IOpenerService } from '
|
|
39
|
-
import { IProductService } from '
|
|
40
|
-
import { IQuickInputService } from '
|
|
41
|
-
import { IStorageService } from '
|
|
42
|
-
import { firstSessionDateStorageKey, ITelemetryService } from '
|
|
31
|
+
import { ExtensionIdentifier } from 'vscode/vscode/vs/platform/extensions/common/extensions';
|
|
32
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
33
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
34
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
35
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
36
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
37
|
+
import { Link } from 'vscode/vscode/vs/platform/opener/browser/link';
|
|
38
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
39
|
+
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
|
|
40
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
41
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
42
|
+
import { firstSessionDateStorageKey, ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
43
43
|
import { getTelemetryLevel } from 'vscode/vscode/vs/platform/telemetry/common/telemetryUtils';
|
|
44
|
-
import { defaultToggleStyles, defaultButtonStyles } from '
|
|
45
|
-
import { IThemeService } from '
|
|
46
|
-
import { UNKNOWN_EMPTY_WINDOW_WORKSPACE, IWorkspaceContextService } from '
|
|
44
|
+
import { defaultToggleStyles, defaultButtonStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
|
|
45
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
46
|
+
import { UNKNOWN_EMPTY_WINDOW_WORKSPACE, IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
47
47
|
import { isRecentWorkspace, isRecentFolder, IWorkspacesService } from 'vscode/vscode/vs/platform/workspaces/common/workspaces';
|
|
48
48
|
import { OpenRecentAction } from 'vscode/vscode/vs/workbench/browser/actions/windowActions';
|
|
49
49
|
import { OpenFolderViaWorkspaceAction, OpenFileFolderAction, OpenFolderAction } from 'vscode/vscode/vs/workbench/browser/actions/workspaceActions';
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerColor, editorWidgetBackground, lighten, darken, contrastBorder, inputBackground, textLinkForeground } from '
|
|
2
|
-
import { localizeWithPath } from '
|
|
1
|
+
import { registerColor, editorWidgetBackground, lighten, darken, contrastBorder, inputBackground, textLinkForeground } from 'vscode/vscode/vs/platform/theme/common/colorRegistry';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
|
|
4
4
|
registerColor('welcomePage.background', { light: null, dark: null, hcDark: null, hcLight: null }, ( localizeWithPath(
|
|
5
5
|
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors',
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { generateUuid } from '
|
|
3
|
-
import { generateTokensCSSForColorMap } from '
|
|
4
|
-
import { TokenizationRegistry } from '
|
|
2
|
+
import { generateUuid } from 'vscode/vscode/vs/base/common/uuid';
|
|
3
|
+
import { generateTokensCSSForColorMap } from 'vscode/vscode/vs/editor/common/languages/supports/tokenization';
|
|
4
|
+
import { TokenizationRegistry } from 'vscode/vscode/vs/editor/common/languages';
|
|
5
5
|
import { DEFAULT_MARKDOWN_STYLES, renderMarkdownDocument } from 'vscode/vscode/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer';
|
|
6
|
-
import { language } from '
|
|
7
|
-
import { joinPath } from '
|
|
8
|
-
import { assertIsDefined } from '
|
|
6
|
+
import { language } from 'vscode/vscode/vs/base/common/platform';
|
|
7
|
+
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
8
|
+
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
9
9
|
import { asWebviewUri } from 'vscode/vscode/vs/workbench/contrib/webview/common/webview';
|
|
10
|
-
import { ResourceMap } from '
|
|
11
|
-
import { IFileService } from '
|
|
12
|
-
import { INotificationService } from '
|
|
13
|
-
import { ILanguageService } from '
|
|
10
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
11
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
12
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
13
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
14
14
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
15
|
-
import { FileAccess } from '
|
|
15
|
+
import { FileAccess } from 'vscode/vscode/vs/base/common/network';
|
|
16
16
|
|
|
17
17
|
let GettingStartedDetailsRenderer = class GettingStartedDetailsRenderer {
|
|
18
18
|
constructor(fileService, notificationService, extensionService, languageService) {
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { localizeWithPath } from '
|
|
2
|
-
import { Codicon } from '
|
|
3
|
-
import { registerIcon } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
3
|
+
import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
|
|
4
4
|
|
|
5
5
|
const gettingStartedUncheckedCodicon = registerIcon('getting-started-step-unchecked', Codicon.circleLargeOutline, ( localizeWithPath(
|
|
6
6
|
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons',
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './media/gettingStarted.css.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
|
|
4
|
-
import { URI } from '
|
|
5
|
-
import { Schemas } from '
|
|
4
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
5
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
6
6
|
|
|
7
7
|
const gettingStartedInputTypeId = 'workbench.editors.gettingStartedInput';
|
|
8
8
|
class GettingStartedInput extends EditorInput {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Disposable } from '
|
|
2
|
-
import { $ } from '
|
|
3
|
-
import { DomScrollableElement } from '
|
|
4
|
-
import { Emitter } from '
|
|
5
|
-
import { equals } from '
|
|
1
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { $ } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
|
+
import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
4
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
+
import { equals } from 'vscode/vscode/vs/base/common/arrays';
|
|
6
6
|
|
|
7
7
|
class GettingStartedIndexList extends Disposable {
|
|
8
8
|
constructor(options) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { ICommandService } from '
|
|
3
|
-
import
|
|
4
|
-
import { IInstantiationService } from '
|
|
2
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
3
|
+
import { coalesce } from 'vscode/vscode/vs/base/common/arrays';
|
|
4
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
5
5
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
6
|
-
import { onUnexpectedError } from '
|
|
7
|
-
import { UNKNOWN_EMPTY_WINDOW_WORKSPACE, IWorkspaceContextService } from '
|
|
8
|
-
import { IConfigurationService } from '
|
|
6
|
+
import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
|
|
7
|
+
import { UNKNOWN_EMPTY_WINDOW_WORKSPACE, IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
8
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
9
9
|
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
|
|
10
10
|
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
11
|
-
import { IFileService } from '
|
|
12
|
-
import { joinPath } from '
|
|
11
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
12
|
+
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
13
13
|
import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
14
14
|
import { GettingStartedInput, gettingStartedInputTypeId } from './gettingStartedInput.js';
|
|
15
15
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
16
|
-
import { IStorageService } from '
|
|
16
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
17
17
|
import { getTelemetryLevel } from 'vscode/vscode/vs/platform/telemetry/common/telemetryUtils';
|
|
18
|
-
import { IProductService } from '
|
|
19
|
-
import { ILogService } from '
|
|
20
|
-
import { INotificationService } from '
|
|
21
|
-
import { localizeWithPath } from '
|
|
18
|
+
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
|
|
19
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
20
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
21
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
22
22
|
import { RegisteredEditorPriority, IEditorResolverService } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
23
23
|
|
|
24
24
|
const restoreWalkthroughsConfigurationKey = 'workbench.welcomePage.restorableWalkthroughs';
|
|
@@ -122,7 +122,7 @@ let StartupPageContribution = class StartupPageContribution {
|
|
|
122
122
|
return false;
|
|
123
123
|
}
|
|
124
124
|
async openReadme() {
|
|
125
|
-
const readmes =
|
|
125
|
+
const readmes = coalesce(await Promise.all(( this.contextService.getWorkspace().folders.map(async (folder) => {
|
|
126
126
|
const folderUri = folder.uri;
|
|
127
127
|
const folderStat = await this.fileService.resolve(folderUri).catch(onUnexpectedError);
|
|
128
128
|
const files = folderStat?.children ? ( folderStat.children.map(child => child.name)).sort() : [];
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { escape } from '
|
|
2
|
-
import { localizeWithPath } from '
|
|
1
|
+
import { escape } from 'vscode/vscode/vs/base/common/strings';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
|
|
4
4
|
const profileArg = (profile) => encodeURIComponent(JSON.stringify({ profile }));
|
|
5
5
|
const imageSize = 400;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { escape } from '
|
|
2
|
-
import { localizeWithPath } from '
|
|
1
|
+
import { escape } from 'vscode/vscode/vs/base/common/strings';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { ThemeSettingDefaults } from 'vscode/vscode/vs/workbench/services/themes/common/workbenchThemeService';
|
|
4
4
|
|
|
5
5
|
var theme_picker = () => `
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable, DisposableStore } from '
|
|
3
|
-
import { assertIsDefined } from '
|
|
4
|
-
import { localizeWithPath } from '
|
|
5
|
-
import { registerAction2, Action2, MenuId, MenuItemAction, MenuRegistry, IMenuService } from '
|
|
6
|
-
import { ICommandService } from '
|
|
7
|
-
import { IContextKeyService } from '
|
|
8
|
-
import { IKeybindingService } from '
|
|
9
|
-
import { IQuickInputService } from '
|
|
10
|
-
import { Registry } from '
|
|
2
|
+
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
4
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
5
|
+
import { registerAction2, Action2, MenuId, MenuItemAction, MenuRegistry, IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
6
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
7
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
9
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
10
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
11
11
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
12
12
|
|
|
13
13
|
var NewFileTemplatesManager_1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { IInstantiationService } from '
|
|
3
|
-
import { Registry } from '
|
|
2
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
3
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
4
4
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
5
5
|
import { ViewsWelcomeContribution } from './viewsWelcomeContribution.js';
|
|
6
6
|
import { viewsWelcomeExtensionPointDescriptor } from './viewsWelcomeExtensionPoint.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Disposable } from '
|
|
3
|
-
import { ContextKeyExpr } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
4
4
|
import { ViewIdentifierMap } from './viewsWelcomeExtensionPoint.js';
|
|
5
|
-
import { Registry } from '
|
|
5
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
6
6
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/views';
|
|
7
7
|
import { isProposedApiEnabled } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
8
8
|
|
|
@@ -52,7 +52,7 @@ function parseGroupAndOrder(welcome, contribution) {
|
|
|
52
52
|
let order;
|
|
53
53
|
if (welcome.group) {
|
|
54
54
|
if (!isProposedApiEnabled(contribution.description, 'contribViewsWelcome')) {
|
|
55
|
-
contribution.collector.warn((
|
|
55
|
+
contribution.collector.warn(( localizeWithPath(
|
|
56
56
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeContribution',
|
|
57
57
|
'ViewsWelcomeExtensionPoint.proposedAPI',
|
|
58
58
|
"The viewsWelcome contribution in '{0}' requires 'enabledApiProposals: [\"contribViewsWelcome\"]' in order to use the 'group' proposed property.",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
2
|
|
|
3
3
|
var ViewsWelcomeExtensionPointFields;
|
|
4
4
|
( (function(ViewsWelcomeExtensionPointFields) {
|
|
@@ -18,14 +18,14 @@ const ViewIdentifierMap = {
|
|
|
18
18
|
};
|
|
19
19
|
const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
20
20
|
type: 'array',
|
|
21
|
-
description: (
|
|
21
|
+
description: ( localizeWithPath(
|
|
22
22
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
23
23
|
'contributes.viewsWelcome',
|
|
24
24
|
"Contributed views welcome content. Welcome content will be rendered in tree based views whenever they have no meaningful content to display, ie. the File Explorer when no folder is open. Such content is useful as in-product documentation to drive users to use certain features before they are available. A good example would be a `Clone Repository` button in the File Explorer welcome view."
|
|
25
25
|
)),
|
|
26
26
|
items: {
|
|
27
27
|
type: 'object',
|
|
28
|
-
description: (
|
|
28
|
+
description: ( localizeWithPath(
|
|
29
29
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
30
30
|
'contributes.viewsWelcome.view',
|
|
31
31
|
"Contributed welcome content for a specific view."
|
|
@@ -39,7 +39,7 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
39
39
|
anyOf: [
|
|
40
40
|
{
|
|
41
41
|
type: 'string',
|
|
42
|
-
description: (
|
|
42
|
+
description: ( localizeWithPath(
|
|
43
43
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
44
44
|
'contributes.viewsWelcome.view.view',
|
|
45
45
|
"Target view identifier for this welcome content. Only tree based views are supported."
|
|
@@ -47,7 +47,7 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
type: 'string',
|
|
50
|
-
description: (
|
|
50
|
+
description: ( localizeWithPath(
|
|
51
51
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
52
52
|
'contributes.viewsWelcome.view.view',
|
|
53
53
|
"Target view identifier for this welcome content. Only tree based views are supported."
|
|
@@ -58,7 +58,7 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
58
58
|
},
|
|
59
59
|
[ViewsWelcomeExtensionPointFields.contents]: {
|
|
60
60
|
type: 'string',
|
|
61
|
-
description: (
|
|
61
|
+
description: ( localizeWithPath(
|
|
62
62
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
63
63
|
'contributes.viewsWelcome.view.contents',
|
|
64
64
|
"Welcome content to be displayed. The format of the contents is a subset of Markdown, with support for links only."
|
|
@@ -66,7 +66,7 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
66
66
|
},
|
|
67
67
|
[ViewsWelcomeExtensionPointFields.when]: {
|
|
68
68
|
type: 'string',
|
|
69
|
-
description: (
|
|
69
|
+
description: ( localizeWithPath(
|
|
70
70
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
71
71
|
'contributes.viewsWelcome.view.when',
|
|
72
72
|
"Condition when the welcome content should be displayed."
|
|
@@ -74,7 +74,7 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
74
74
|
},
|
|
75
75
|
[ViewsWelcomeExtensionPointFields.group]: {
|
|
76
76
|
type: 'string',
|
|
77
|
-
description: (
|
|
77
|
+
description: ( localizeWithPath(
|
|
78
78
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
79
79
|
'contributes.viewsWelcome.view.group',
|
|
80
80
|
"Group to which this welcome content belongs. Proposed API."
|
|
@@ -82,7 +82,7 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
82
82
|
},
|
|
83
83
|
[ViewsWelcomeExtensionPointFields.enablement]: {
|
|
84
84
|
type: 'string',
|
|
85
|
-
description: (
|
|
85
|
+
description: ( localizeWithPath(
|
|
86
86
|
'vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint',
|
|
87
87
|
'contributes.viewsWelcome.view.enablement',
|
|
88
88
|
"Condition when the welcome content buttons and command links should be enabled."
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { localizeWithPath } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
2
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
3
|
-
import { IInstantiationService } from '
|
|
3
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
4
|
import { WalkThroughInput } from '../walkThroughInput.js';
|
|
5
|
-
import { FileAccess, Schemas } from '
|
|
6
|
-
import { Action2 } from '
|
|
7
|
-
import { Categories } from '
|
|
5
|
+
import { FileAccess, Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
6
|
+
import { Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
+
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
8
8
|
|
|
9
9
|
const typeId = 'workbench.editors.walkThroughInput';
|
|
10
10
|
const inputOptions = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { isWeb } from 'vscode/vscode/vs/base/common/platform';
|
|
2
2
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
3
3
|
|
|
4
4
|
function content(accessor) {
|
|
5
|
-
const isServerless =
|
|
5
|
+
const isServerless = isWeb && !accessor.get(IWorkbenchEnvironmentService).remoteAuthority;
|
|
6
6
|
return `
|
|
7
7
|
## Interactive Editor Playground
|
|
8
8
|
The core editor in VS Code is packed with features. This page highlights a number of them and lets you interactively try them out through the use of a number of embedded editors. For full details on the editor features for VS Code and more head over to our [documentation](command:workbench.action.openDocumentationUrl).
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { localizeWithPath } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
2
|
import { WalkThroughInput } from './walkThroughInput.js';
|
|
3
3
|
import { WalkThroughPart } from './walkThroughPart.js';
|
|
4
4
|
import { WalkThroughArrowUp, WalkThroughArrowDown, WalkThroughPageUp, WalkThroughPageDown } from './walkThroughActions.js';
|
|
5
5
|
import { WalkThroughSnippetContentProvider } from '../common/walkThroughContentProvider.js';
|
|
6
6
|
import { EditorWalkThroughAction, EditorWalkThroughInputSerializer } from './editor/editorWalkThrough.js';
|
|
7
|
-
import { Registry } from '
|
|
7
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
8
8
|
import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
|
|
9
|
-
import { SyncDescriptor } from '
|
|
10
|
-
import { registerAction2, MenuRegistry, MenuId } from '
|
|
9
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
10
|
+
import { registerAction2, MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
11
11
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
12
12
|
import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
|
|
13
|
-
import { KeybindingsRegistry } from '
|
|
13
|
+
import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
14
14
|
|
|
15
15
|
( Registry.as(EditorExtensions.EditorPane))
|
|
16
16
|
.registerEditorPane(EditorPaneDescriptor.create(WalkThroughPart, WalkThroughPart.ID, ( localizeWithPath(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
2
2
|
import { WALK_THROUGH_FOCUS, WalkThroughPart } from './walkThroughPart.js';
|
|
3
|
-
import { EditorContextKeys } from '
|
|
4
|
-
import { ContextKeyExpr } from '
|
|
3
|
+
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
4
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
5
5
|
|
|
6
6
|
const WalkThroughArrowUp = {
|
|
7
7
|
id: 'workbench.action.interactivePlayground.arrowUp',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { EditorInput } from 'vscode/vscode/vs/workbench/common/editor/editorInput';
|
|
3
3
|
import { EditorModel } from 'vscode/vscode/vs/workbench/common/editor/editorModel';
|
|
4
|
-
import { ITextModelService } from '
|
|
5
|
-
import
|
|
6
|
-
import { Schemas } from '
|
|
7
|
-
import { isEqual } from '
|
|
4
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
5
|
+
import marked from 'vscode-marked';
|
|
6
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
7
|
+
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
8
8
|
import { requireToContent } from '../common/walkThroughContentProvider.js';
|
|
9
|
-
import { IInstantiationService } from '
|
|
9
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
10
10
|
|
|
11
11
|
var WalkThroughInput_1;
|
|
12
12
|
class WalkThroughModel extends EditorModel {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/walkThroughPart.css.js';
|
|
3
|
-
import { DomScrollableElement } from '
|
|
4
|
-
import { Gesture, EventType } from '
|
|
5
|
-
import
|
|
6
|
-
import { URI } from '
|
|
7
|
-
import { DisposableStore, toDisposable, dispose } from '
|
|
3
|
+
import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
4
|
+
import { Gesture, EventType } from 'vscode/vscode/vs/base/browser/touch';
|
|
5
|
+
import { escape } from 'vscode/vscode/vs/base/common/strings';
|
|
6
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
7
|
+
import { DisposableStore, toDisposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
8
8
|
import { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
9
|
-
import { ITelemetryService } from '
|
|
9
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
10
10
|
import { WalkThroughInput } from './walkThroughInput.js';
|
|
11
|
-
import { IOpenerService } from '
|
|
12
|
-
import { ITextResourceConfigurationService } from '
|
|
13
|
-
import { CodeEditorWidget } from '
|
|
14
|
-
import { IInstantiationService } from '
|
|
15
|
-
import { IKeybindingService } from '
|
|
16
|
-
import { localizeWithPath } from '
|
|
17
|
-
import { IStorageService } from '
|
|
18
|
-
import { RawContextKey, IContextKeyService } from '
|
|
19
|
-
import { IConfigurationService } from '
|
|
20
|
-
import { isObject } from '
|
|
21
|
-
import { CommandsRegistry } from '
|
|
22
|
-
import { IThemeService } from '
|
|
23
|
-
import { UILabelProvider } from '
|
|
24
|
-
import { OS } from '
|
|
25
|
-
import { deepClone } from '
|
|
26
|
-
import { INotificationService } from '
|
|
27
|
-
import { getWindow, size, safeInnerHtml, addDisposableListener } from '
|
|
11
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
12
|
+
import { ITextResourceConfigurationService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
13
|
+
import { CodeEditorWidget } from 'vscode/vscode/vs/editor/browser/widget/codeEditorWidget';
|
|
14
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
15
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
16
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
17
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
18
|
+
import { RawContextKey, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
19
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
20
|
+
import { isObject } from 'vscode/vscode/vs/base/common/types';
|
|
21
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
22
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
23
|
+
import { UILabelProvider } from 'vscode/vscode/vs/base/common/keybindingLabels';
|
|
24
|
+
import { OS } from 'vscode/vscode/vs/base/common/platform';
|
|
25
|
+
import { deepClone } from 'vscode/vscode/vs/base/common/objects';
|
|
26
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
27
|
+
import { getWindow, size, safeInnerHtml, addDisposableListener } from 'vscode/vscode/vs/base/browser/dom';
|
|
28
28
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
29
29
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
30
30
|
|
|
@@ -344,7 +344,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
344
344
|
return input.replace(/kb\(([a-z.\d\-]+)\)/gi, (match, kb) => {
|
|
345
345
|
const keybinding = this.keybindingService.lookupKeybinding(kb);
|
|
346
346
|
const shortcut = keybinding ? keybinding.getLabel() || '' : UNBOUND_COMMAND;
|
|
347
|
-
return `<span class="shortcut">${
|
|
347
|
+
return `<span class="shortcut">${escape(shortcut)}</span>`;
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
350
|
decorateContent() {
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughContentProvider.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { ITextModelService } from '
|
|
3
|
-
import { IModelService } from '
|
|
4
|
-
import { ILanguageService } from '
|
|
5
|
-
import
|
|
6
|
-
import { Schemas, FileAccess } from '
|
|
7
|
-
import { Range } from '
|
|
8
|
-
import { createTextBufferFactory } from '
|
|
9
|
-
import { assertIsDefined } from '
|
|
10
|
-
import { IInstantiationService } from '
|
|
2
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
3
|
+
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
4
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
5
|
+
import marked from 'vscode-marked';
|
|
6
|
+
import { Schemas, FileAccess } from 'vscode/vscode/vs/base/common/network';
|
|
7
|
+
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
8
|
+
import { createTextBufferFactory } from 'vscode/vscode/vs/editor/common/model/textModel';
|
|
9
|
+
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
10
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
11
|
|
|
12
12
|
async function requireToContent(instantiationService, resource) {
|
|
13
13
|
if (!resource.query) {
|
package/welcome.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SyncDescriptor } from '
|
|
1
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
2
|
import { IWalkthroughsService, WalkthroughsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService';
|
|
3
3
|
import { IFeaturedExtensionsService, FeaturedExtensionsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService';
|
|
4
4
|
import './vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js';
|
|
@@ -7,7 +7,7 @@ import './vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcome.contr
|
|
|
7
7
|
import './vscode/src/vs/workbench/contrib/welcomeViews/common/newFile.contribution.js';
|
|
8
8
|
import svgAssets from './vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/all.svg.js';
|
|
9
9
|
import pngAssets from './vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/all.png.js';
|
|
10
|
-
import { FileAccess } from '
|
|
10
|
+
import { FileAccess } from 'vscode/vscode/vs/base/common/network';
|
|
11
11
|
import { registerAssets } from 'vscode/assets';
|
|
12
12
|
|
|
13
13
|
registerAssets(svgAssets);
|