@codingame/monaco-vscode-api 1.85.0 → 1.85.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/README.md +31 -13
- package/contributions.js +1 -0
- package/missing-services.js +396 -68
- package/monaco-editor-treemending.patch +957 -950
- package/package.json +8 -7
- package/service-override/tools/editor.js +1 -1
- package/services.js +10 -6
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +14 -0
- package/vscode/src/vs/base/common/jsonFormatter.js +8 -1
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +128 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +140 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -1
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1062 -93
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +220 -0
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +58 -0
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +102 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +56 -1
- package/vscode/src/vs/platform/userDataSync/common/content.js +9 -0
- package/vscode/src/vs/platform/userDataSync/common/settingsMerge.js +514 -0
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +154 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncAccount.js +43 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +177 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +186 -4
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +105 -0
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +4 -0
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +1614 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +191 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +238 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +205 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +168 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +340 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +1195 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +115 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.js +81 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +62 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +583 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +290 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +167 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +562 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +31 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatProvider.js +24 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +193 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +22 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +52 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +258 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +25 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +388 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +61 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +49 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +647 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +300 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +60 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +249 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +107 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +333 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +99 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +55 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentsConfiguration.js +2 -0
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +20 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +855 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +410 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +1591 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +178 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +1485 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +125 -0
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +29 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +41 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +102 -0
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +73 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +988 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +431 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +417 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +806 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +915 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +19 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +129 -10
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +205 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +150 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +480 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +5 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +90 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +54 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +108 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +258 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +614 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +307 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +44 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +165 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +78 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +169 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +64 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/cellOutputClipboard.js +49 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +70 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +120 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +416 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +663 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +593 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +72 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +326 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +539 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +265 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +348 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellEditorHint.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellInsertToolbar.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellOutput.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellStatusBar.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellTitleToolbar.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookDnd.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFocusIndicator.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookKernelActionViewItem.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +95 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +437 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorExtensions.js +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +2730 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +139 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookLogger.js +17 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +564 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookViewEvents.js +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellPart.js +119 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +27 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +135 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +178 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDecorations.js +35 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +377 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +97 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +194 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellExecution.js +71 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocus.js +20 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellFocusIndicator.js +85 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +652 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellProgressBar.js +59 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +303 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +24 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +228 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatActions.js +302 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatController.js +438 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/chat/cellChatPart.js +45 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +435 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +95 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +107 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellInput.js +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +59 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +67 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +430 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +54 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +1131 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +21 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +1591 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +341 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2155 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewThemeMapping.js +65 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +95 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +507 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +85 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +47 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellSelectionCollection.js +40 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +435 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/eventDispatcher.js +31 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +257 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +239 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +103 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +211 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +808 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/viewContext.js +8 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +381 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +527 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorWidgetContextKeys.js +163 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +651 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +173 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookOverviewRuler.js +98 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +62 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel.js +101 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +346 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +152 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +39 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +296 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +261 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKernelService.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookKeymapService.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookLoggingService.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookPerformance.js +16 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +66 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerService.js +4 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +130 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +847 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +89 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1942 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +107 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +49 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +387 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +66 -0
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/constants.js +11 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +24 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +95 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +12 -2
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +712 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +4 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +130 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/featuredExtensionService.js +159 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +375 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +563 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +932 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +20 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +205 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +11 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +9 -9
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +1 -1
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +2 -2
- package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.js +24 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +15 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +41 -0
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +588 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +43 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +190 -2
- package/vscode/src/vs/workbench/services/search/common/search.js +3 -3
- package/vscode/src/vs/workbench/services/terminal/common/embedderTerminalService.js +75 -1
- package/vscode/src/vs/workbench/services/timer/browser/timerService.js +240 -1
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.js +31 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +25 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +75 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +74 -4
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +77 -0
- package/assets/break.mp3 +0 -0
- package/assets/chatRequestSent.mp3 +0 -0
- package/assets/chatResponsePending.mp3 +0 -0
- package/assets/chatResponseReceived1.mp3 +0 -0
- package/assets/chatResponseReceived2.mp3 +0 -0
- package/assets/chatResponseReceived3.mp3 +0 -0
- package/assets/chatResponseReceived4.mp3 +0 -0
- package/assets/clear.mp3 +0 -0
- package/assets/defaultIcon.png +0 -0
- package/assets/diffLineDeleted.mp3 +0 -0
- package/assets/diffLineInserted.mp3 +0 -0
- package/assets/diffLineModified.mp3 +0 -0
- package/assets/error.mp3 +0 -0
- package/assets/fake.html +0 -10
- package/assets/foldedAreas.mp3 +0 -0
- package/assets/format.mp3 +0 -0
- package/assets/index-no-csp.html +0 -1226
- package/assets/index.html +0 -1227
- package/assets/quickFixes.mp3 +0 -0
- package/assets/save.mp3 +0 -0
- package/assets/service-worker.js +0 -457
- package/assets/taskCompleted.mp3 +0 -0
- package/assets/taskFailed.mp3 +0 -0
- package/assets/terminalBell.mp3 +0 -0
- package/assets/warning.mp3 +0 -0
- package/assets/webWorkerExtensionHostIframe.html +0 -123
- package/override/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +0 -2
- package/override/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +0 -2
- package/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -5
- package/vscode/src/vs/base/parts/request/browser/request.js +0 -60
- package/vscode/src/vs/platform/request/browser/requestService.js +0 -28
- package/vscode/src/vs/platform/request/common/requestIpc.js +0 -17
- package/vscode/src/vs/platform/url/common/urlService.js +0 -17
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +0 -120
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +0 -319
- package/vscode/src/vs/workbench/services/files/browser/elevatedFileService.js +0 -9
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +0 -408
- package/vscode/src/vs/workbench/services/request/browser/requestService.js +0 -48
- package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +0 -56
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +0 -639
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +0 -402
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +0 -62
- package/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +0 -38
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +0 -295
- package/vscode/src/vs/workbench/services/url/browser/urlService.js +0 -47
- package/vscode/src/vs/workbench/services/views/common/treeViewsService.js +0 -20
- package/vscode/src/vs/workbench/services/workspaces/common/canonicalUriService.js +0 -19
|
@@ -0,0 +1,932 @@
|
|
|
1
|
+
import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
|
|
2
|
+
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
3
|
+
import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
|
|
4
|
+
import { NotebookSetting } from '../../notebook/common/notebookCommon.js';
|
|
5
|
+
const setupIcon = registerIcon('getting-started-setup', Codicon.zap, ( localizeWithPath(
|
|
6
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
7
|
+
'getting-started-setup-icon',
|
|
8
|
+
"Icon used for the setup category of welcome page"
|
|
9
|
+
)));
|
|
10
|
+
const beginnerIcon = registerIcon('getting-started-beginner', Codicon.lightbulb, ( localizeWithPath(
|
|
11
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
12
|
+
'getting-started-beginner-icon',
|
|
13
|
+
"Icon used for the beginner category of welcome page"
|
|
14
|
+
)));
|
|
15
|
+
const startEntries = [
|
|
16
|
+
{
|
|
17
|
+
id: 'welcome.showNewFileEntries',
|
|
18
|
+
title: ( localizeWithPath(
|
|
19
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
20
|
+
'gettingStarted.newFile.title',
|
|
21
|
+
"New File..."
|
|
22
|
+
)),
|
|
23
|
+
description: ( localizeWithPath(
|
|
24
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
25
|
+
'gettingStarted.newFile.description',
|
|
26
|
+
"Open a new untitled text file, notebook, or custom editor."
|
|
27
|
+
)),
|
|
28
|
+
icon: Codicon.newFile,
|
|
29
|
+
content: {
|
|
30
|
+
type: 'startEntry',
|
|
31
|
+
command: 'command:welcome.showNewFileEntries',
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: 'topLevelOpenMac',
|
|
36
|
+
title: ( localizeWithPath(
|
|
37
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
38
|
+
'gettingStarted.openMac.title',
|
|
39
|
+
"Open..."
|
|
40
|
+
)),
|
|
41
|
+
description: ( localizeWithPath(
|
|
42
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
43
|
+
'gettingStarted.openMac.description',
|
|
44
|
+
"Open a file or folder to start working"
|
|
45
|
+
)),
|
|
46
|
+
icon: Codicon.folderOpened,
|
|
47
|
+
when: '!isWeb && isMac',
|
|
48
|
+
content: {
|
|
49
|
+
type: 'startEntry',
|
|
50
|
+
command: 'command:workbench.action.files.openFileFolder',
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 'topLevelOpenFile',
|
|
55
|
+
title: ( localizeWithPath(
|
|
56
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
57
|
+
'gettingStarted.openFile.title',
|
|
58
|
+
"Open File..."
|
|
59
|
+
)),
|
|
60
|
+
description: ( localizeWithPath(
|
|
61
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
62
|
+
'gettingStarted.openFile.description',
|
|
63
|
+
"Open a file to start working"
|
|
64
|
+
)),
|
|
65
|
+
icon: Codicon.goToFile,
|
|
66
|
+
when: 'isWeb || !isMac',
|
|
67
|
+
content: {
|
|
68
|
+
type: 'startEntry',
|
|
69
|
+
command: 'command:workbench.action.files.openFile',
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 'topLevelOpenFolder',
|
|
74
|
+
title: ( localizeWithPath(
|
|
75
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
76
|
+
'gettingStarted.openFolder.title',
|
|
77
|
+
"Open Folder..."
|
|
78
|
+
)),
|
|
79
|
+
description: ( localizeWithPath(
|
|
80
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
81
|
+
'gettingStarted.openFolder.description',
|
|
82
|
+
"Open a folder to start working"
|
|
83
|
+
)),
|
|
84
|
+
icon: Codicon.folderOpened,
|
|
85
|
+
when: '!isWeb && !isMac',
|
|
86
|
+
content: {
|
|
87
|
+
type: 'startEntry',
|
|
88
|
+
command: 'command:workbench.action.files.openFolder',
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: 'topLevelOpenFolderWeb',
|
|
93
|
+
title: ( localizeWithPath(
|
|
94
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
95
|
+
'gettingStarted.openFolder.title',
|
|
96
|
+
"Open Folder..."
|
|
97
|
+
)),
|
|
98
|
+
description: ( localizeWithPath(
|
|
99
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
100
|
+
'gettingStarted.openFolder.description',
|
|
101
|
+
"Open a folder to start working"
|
|
102
|
+
)),
|
|
103
|
+
icon: Codicon.folderOpened,
|
|
104
|
+
when: '!openFolderWorkspaceSupport && workbenchState == \'workspace\'',
|
|
105
|
+
content: {
|
|
106
|
+
type: 'startEntry',
|
|
107
|
+
command: 'command:workbench.action.files.openFolderViaWorkspace',
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: 'topLevelGitClone',
|
|
112
|
+
title: ( localizeWithPath(
|
|
113
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
114
|
+
'gettingStarted.topLevelGitClone.title',
|
|
115
|
+
"Clone Git Repository..."
|
|
116
|
+
)),
|
|
117
|
+
description: ( localizeWithPath(
|
|
118
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
119
|
+
'gettingStarted.topLevelGitClone.description',
|
|
120
|
+
"Clone a remote repository to a local folder"
|
|
121
|
+
)),
|
|
122
|
+
when: 'config.git.enabled && !git.missing',
|
|
123
|
+
icon: Codicon.sourceControl,
|
|
124
|
+
content: {
|
|
125
|
+
type: 'startEntry',
|
|
126
|
+
command: 'command:git.clone',
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
id: 'topLevelGitOpen',
|
|
131
|
+
title: ( localizeWithPath(
|
|
132
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
133
|
+
'gettingStarted.topLevelGitOpen.title',
|
|
134
|
+
"Open Repository..."
|
|
135
|
+
)),
|
|
136
|
+
description: ( localizeWithPath(
|
|
137
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
138
|
+
'gettingStarted.topLevelGitOpen.description',
|
|
139
|
+
"Connect to a remote repository or pull request to browse, search, edit, and commit"
|
|
140
|
+
)),
|
|
141
|
+
when: 'workspacePlatform == \'webworker\'',
|
|
142
|
+
icon: Codicon.sourceControl,
|
|
143
|
+
content: {
|
|
144
|
+
type: 'startEntry',
|
|
145
|
+
command: 'command:remoteHub.openRepository',
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: 'topLevelShowWalkthroughs',
|
|
150
|
+
title: ( localizeWithPath(
|
|
151
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
152
|
+
'gettingStarted.topLevelShowWalkthroughs.title',
|
|
153
|
+
"Open a Walkthrough..."
|
|
154
|
+
)),
|
|
155
|
+
description: ( localizeWithPath(
|
|
156
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
157
|
+
'gettingStarted.topLevelShowWalkthroughs.description',
|
|
158
|
+
"View a walkthrough on the editor or an extension"
|
|
159
|
+
)),
|
|
160
|
+
icon: Codicon.checklist,
|
|
161
|
+
when: 'allWalkthroughsHidden',
|
|
162
|
+
content: {
|
|
163
|
+
type: 'startEntry',
|
|
164
|
+
command: 'command:welcome.showAllWalkthroughs',
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
id: 'topLevelRemoteOpen',
|
|
169
|
+
title: ( localizeWithPath(
|
|
170
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
171
|
+
'gettingStarted.topLevelRemoteOpen.title',
|
|
172
|
+
"Connect to..."
|
|
173
|
+
)),
|
|
174
|
+
description: ( localizeWithPath(
|
|
175
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
176
|
+
'gettingStarted.topLevelRemoteOpen.description',
|
|
177
|
+
"Connect to remote development workspaces."
|
|
178
|
+
)),
|
|
179
|
+
when: '!isWeb',
|
|
180
|
+
icon: Codicon.remote,
|
|
181
|
+
content: {
|
|
182
|
+
type: 'startEntry',
|
|
183
|
+
command: 'command:workbench.action.remote.showMenu',
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: 'topLevelOpenTunnel',
|
|
188
|
+
title: ( localizeWithPath(
|
|
189
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
190
|
+
'gettingStarted.topLevelOpenTunnel.title',
|
|
191
|
+
"Open Tunnel..."
|
|
192
|
+
)),
|
|
193
|
+
description: ( localizeWithPath(
|
|
194
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
195
|
+
'gettingStarted.topLevelOpenTunnel.description',
|
|
196
|
+
"Connect to a remote machine through a Tunnel"
|
|
197
|
+
)),
|
|
198
|
+
when: 'isWeb && showRemoteStartEntryInWeb',
|
|
199
|
+
icon: Codicon.remote,
|
|
200
|
+
content: {
|
|
201
|
+
type: 'startEntry',
|
|
202
|
+
command: 'command:workbench.action.remote.showWebStartEntryActions',
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
];
|
|
206
|
+
const Button = (title, href) => `[${title}](${href})`;
|
|
207
|
+
const walkthroughs = [
|
|
208
|
+
{
|
|
209
|
+
id: 'Setup',
|
|
210
|
+
title: ( localizeWithPath(
|
|
211
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
212
|
+
'gettingStarted.setup.title',
|
|
213
|
+
"Get Started with VS Code"
|
|
214
|
+
)),
|
|
215
|
+
description: ( localizeWithPath(
|
|
216
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
217
|
+
'gettingStarted.setup.description',
|
|
218
|
+
"Customize your editor, learn the basics, and start coding"
|
|
219
|
+
)),
|
|
220
|
+
isFeatured: true,
|
|
221
|
+
icon: setupIcon,
|
|
222
|
+
when: '!isWeb',
|
|
223
|
+
next: 'Beginner',
|
|
224
|
+
content: {
|
|
225
|
+
type: 'steps',
|
|
226
|
+
steps: [
|
|
227
|
+
{
|
|
228
|
+
id: 'pickColorTheme',
|
|
229
|
+
title: ( localizeWithPath(
|
|
230
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
231
|
+
'gettingStarted.pickColor.title',
|
|
232
|
+
"Choose your theme"
|
|
233
|
+
)),
|
|
234
|
+
description: ( localizeWithPath(
|
|
235
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
236
|
+
'gettingStarted.pickColor.description.interpolated',
|
|
237
|
+
"The right theme helps you focus on your code, is easy on your eyes, and is simply more fun to use.\n{0}",
|
|
238
|
+
Button(( localizeWithPath(
|
|
239
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
240
|
+
'titleID',
|
|
241
|
+
"Browse Color Themes"
|
|
242
|
+
)), 'command:workbench.action.selectTheme')
|
|
243
|
+
)),
|
|
244
|
+
completionEvents: [
|
|
245
|
+
'onSettingChanged:workbench.colorTheme',
|
|
246
|
+
'onCommand:workbench.action.selectTheme'
|
|
247
|
+
],
|
|
248
|
+
media: { type: 'markdown', path: 'theme_picker', }
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
id: 'extensionsWeb',
|
|
252
|
+
title: ( localizeWithPath(
|
|
253
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
254
|
+
'gettingStarted.extensions.title',
|
|
255
|
+
"Code with extensions"
|
|
256
|
+
)),
|
|
257
|
+
description: ( localizeWithPath(
|
|
258
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
259
|
+
'gettingStarted.extensionsWeb.description.interpolated',
|
|
260
|
+
"Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}",
|
|
261
|
+
Button(( localizeWithPath(
|
|
262
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
263
|
+
'browsePopular',
|
|
264
|
+
"Browse Popular Web Extensions"
|
|
265
|
+
)), 'command:workbench.extensions.action.showPopularExtensions')
|
|
266
|
+
)),
|
|
267
|
+
when: 'workspacePlatform == \'webworker\'',
|
|
268
|
+
media: {
|
|
269
|
+
type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
id: 'findLanguageExtensions',
|
|
274
|
+
title: ( localizeWithPath(
|
|
275
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
276
|
+
'gettingStarted.findLanguageExts.title',
|
|
277
|
+
"Rich support for all your languages"
|
|
278
|
+
)),
|
|
279
|
+
description: ( localizeWithPath(
|
|
280
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
281
|
+
'gettingStarted.findLanguageExts.description.interpolated',
|
|
282
|
+
"Code smarter with syntax highlighting, code completion, linting and debugging. While many languages are built-in, many more can be added as extensions.\n{0}",
|
|
283
|
+
Button(( localizeWithPath(
|
|
284
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
285
|
+
'browseLangExts',
|
|
286
|
+
"Browse Language Extensions"
|
|
287
|
+
)), 'command:workbench.extensions.action.showLanguageExtensions')
|
|
288
|
+
)),
|
|
289
|
+
when: 'workspacePlatform != \'webworker\'',
|
|
290
|
+
media: {
|
|
291
|
+
type: 'svg', altText: 'Language extensions', path: 'languages.svg'
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
id: 'settings',
|
|
296
|
+
title: ( localizeWithPath(
|
|
297
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
298
|
+
'gettingStarted.settings.title',
|
|
299
|
+
"Tune your settings"
|
|
300
|
+
)),
|
|
301
|
+
description: ( localizeWithPath(
|
|
302
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
303
|
+
'gettingStarted.settings.description.interpolated',
|
|
304
|
+
"Customize every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}",
|
|
305
|
+
Button(( localizeWithPath(
|
|
306
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
307
|
+
'tweakSettings',
|
|
308
|
+
"Open Settings"
|
|
309
|
+
)), 'command:toSide:workbench.action.openSettings')
|
|
310
|
+
)),
|
|
311
|
+
media: {
|
|
312
|
+
type: 'svg', altText: 'VS Code Settings', path: 'settings.svg'
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
id: 'settingsSync',
|
|
317
|
+
title: ( localizeWithPath(
|
|
318
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
319
|
+
'gettingStarted.settingsSync.title',
|
|
320
|
+
"Sync settings across devices"
|
|
321
|
+
)),
|
|
322
|
+
description: ( localizeWithPath(
|
|
323
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
324
|
+
'gettingStarted.settingsSync.description.interpolated',
|
|
325
|
+
"Keep your essential customizations backed up and updated across all your devices.\n{0}",
|
|
326
|
+
Button(( localizeWithPath(
|
|
327
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
328
|
+
'enableSync',
|
|
329
|
+
"Backup and Sync Settings"
|
|
330
|
+
)), 'command:workbench.userDataSync.actions.turnOn')
|
|
331
|
+
)),
|
|
332
|
+
when: 'syncStatus != uninitialized',
|
|
333
|
+
completionEvents: ['onEvent:sync-enabled'],
|
|
334
|
+
media: {
|
|
335
|
+
type: 'svg', altText: 'The "Turn on Sync" entry in the settings gear menu.', path: 'settingsSync.svg'
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
id: 'commandPaletteTask',
|
|
340
|
+
title: ( localizeWithPath(
|
|
341
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
342
|
+
'gettingStarted.commandPalette.title',
|
|
343
|
+
"Unlock productivity with the Command Palette "
|
|
344
|
+
)),
|
|
345
|
+
description: ( localizeWithPath(
|
|
346
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
347
|
+
'gettingStarted.commandPalette.description.interpolated',
|
|
348
|
+
"Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}",
|
|
349
|
+
Button(( localizeWithPath(
|
|
350
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
351
|
+
'commandPalette',
|
|
352
|
+
"Open Command Palette"
|
|
353
|
+
)), 'command:workbench.action.showCommands')
|
|
354
|
+
)),
|
|
355
|
+
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
id: 'pickAFolderTask-Mac',
|
|
359
|
+
title: ( localizeWithPath(
|
|
360
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
361
|
+
'gettingStarted.setup.OpenFolder.title',
|
|
362
|
+
"Open up your code"
|
|
363
|
+
)),
|
|
364
|
+
description: ( localizeWithPath(
|
|
365
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
366
|
+
'gettingStarted.setup.OpenFolder.description.interpolated',
|
|
367
|
+
"You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}",
|
|
368
|
+
Button(( localizeWithPath(
|
|
369
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
370
|
+
'pickFolder',
|
|
371
|
+
"Pick a Folder"
|
|
372
|
+
)), 'command:workbench.action.files.openFileFolder')
|
|
373
|
+
)),
|
|
374
|
+
when: 'isMac && workspaceFolderCount == 0',
|
|
375
|
+
media: {
|
|
376
|
+
type: 'svg', altText: 'Explorer view showing buttons for opening folder and cloning repository.', path: 'openFolder.svg'
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
id: 'pickAFolderTask-Other',
|
|
381
|
+
title: ( localizeWithPath(
|
|
382
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
383
|
+
'gettingStarted.setup.OpenFolder.title',
|
|
384
|
+
"Open up your code"
|
|
385
|
+
)),
|
|
386
|
+
description: ( localizeWithPath(
|
|
387
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
388
|
+
'gettingStarted.setup.OpenFolder.description.interpolated',
|
|
389
|
+
"You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}",
|
|
390
|
+
Button(( localizeWithPath(
|
|
391
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
392
|
+
'pickFolder',
|
|
393
|
+
"Pick a Folder"
|
|
394
|
+
)), 'command:workbench.action.files.openFolder')
|
|
395
|
+
)),
|
|
396
|
+
when: '!isMac && workspaceFolderCount == 0',
|
|
397
|
+
media: {
|
|
398
|
+
type: 'svg', altText: 'Explorer view showing buttons for opening folder and cloning repository.', path: 'openFolder.svg'
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
id: 'quickOpen',
|
|
403
|
+
title: ( localizeWithPath(
|
|
404
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
405
|
+
'gettingStarted.quickOpen.title',
|
|
406
|
+
"Quickly navigate between your files"
|
|
407
|
+
)),
|
|
408
|
+
description: ( localizeWithPath(
|
|
409
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
410
|
+
'gettingStarted.quickOpen.description.interpolated',
|
|
411
|
+
"Navigate between files in an instant with one keystroke. Tip: Open multiple files by pressing the right arrow key.\n{0}",
|
|
412
|
+
Button(( localizeWithPath(
|
|
413
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
414
|
+
'quickOpen',
|
|
415
|
+
"Quick Open a File"
|
|
416
|
+
)), 'command:toSide:workbench.action.quickOpen')
|
|
417
|
+
)),
|
|
418
|
+
when: 'workspaceFolderCount != 0',
|
|
419
|
+
media: {
|
|
420
|
+
type: 'svg', altText: 'Go to file in quick search.', path: 'search.svg'
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
id: 'videoTutorial',
|
|
425
|
+
title: ( localizeWithPath(
|
|
426
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
427
|
+
'gettingStarted.videoTutorial.title',
|
|
428
|
+
"Watch video tutorials"
|
|
429
|
+
)),
|
|
430
|
+
description: ( localizeWithPath(
|
|
431
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
432
|
+
'gettingStarted.videoTutorial.description.interpolated',
|
|
433
|
+
"Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}",
|
|
434
|
+
Button(( localizeWithPath(
|
|
435
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
436
|
+
'watch',
|
|
437
|
+
"Watch Tutorial"
|
|
438
|
+
)), 'https://aka.ms/vscode-getting-started-video')
|
|
439
|
+
)),
|
|
440
|
+
media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' },
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
id: 'SetupWeb',
|
|
447
|
+
title: ( localizeWithPath(
|
|
448
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
449
|
+
'gettingStarted.setupWeb.title',
|
|
450
|
+
"Get Started with VS Code for the Web"
|
|
451
|
+
)),
|
|
452
|
+
description: ( localizeWithPath(
|
|
453
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
454
|
+
'gettingStarted.setupWeb.description',
|
|
455
|
+
"Customize your editor, learn the basics, and start coding"
|
|
456
|
+
)),
|
|
457
|
+
isFeatured: true,
|
|
458
|
+
icon: setupIcon,
|
|
459
|
+
when: 'isWeb',
|
|
460
|
+
next: 'Beginner',
|
|
461
|
+
content: {
|
|
462
|
+
type: 'steps',
|
|
463
|
+
steps: [
|
|
464
|
+
{
|
|
465
|
+
id: 'pickColorThemeWeb',
|
|
466
|
+
title: ( localizeWithPath(
|
|
467
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
468
|
+
'gettingStarted.pickColor.title',
|
|
469
|
+
"Choose your theme"
|
|
470
|
+
)),
|
|
471
|
+
description: ( localizeWithPath(
|
|
472
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
473
|
+
'gettingStarted.pickColor.description.interpolated',
|
|
474
|
+
"The right theme helps you focus on your code, is easy on your eyes, and is simply more fun to use.\n{0}",
|
|
475
|
+
Button(( localizeWithPath(
|
|
476
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
477
|
+
'titleID',
|
|
478
|
+
"Browse Color Themes"
|
|
479
|
+
)), 'command:workbench.action.selectTheme')
|
|
480
|
+
)),
|
|
481
|
+
completionEvents: [
|
|
482
|
+
'onSettingChanged:workbench.colorTheme',
|
|
483
|
+
'onCommand:workbench.action.selectTheme'
|
|
484
|
+
],
|
|
485
|
+
media: { type: 'markdown', path: 'theme_picker', }
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
id: 'menuBarWeb',
|
|
489
|
+
title: ( localizeWithPath(
|
|
490
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
491
|
+
'gettingStarted.menuBar.title',
|
|
492
|
+
"Just the right amount of UI"
|
|
493
|
+
)),
|
|
494
|
+
description: ( localizeWithPath(
|
|
495
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
496
|
+
'gettingStarted.menuBar.description.interpolated',
|
|
497
|
+
"The full menu bar is available in the dropdown menu to make room for your code. Toggle its appearance for faster access. \n{0}",
|
|
498
|
+
Button(( localizeWithPath(
|
|
499
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
500
|
+
'toggleMenuBar',
|
|
501
|
+
"Toggle Menu Bar"
|
|
502
|
+
)), 'command:workbench.action.toggleMenuBar')
|
|
503
|
+
)),
|
|
504
|
+
when: 'isWeb',
|
|
505
|
+
media: {
|
|
506
|
+
type: 'svg', altText: 'Comparing menu dropdown with the visible menu bar.', path: 'menuBar.svg'
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
id: 'extensionsWebWeb',
|
|
511
|
+
title: ( localizeWithPath(
|
|
512
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
513
|
+
'gettingStarted.extensions.title',
|
|
514
|
+
"Code with extensions"
|
|
515
|
+
)),
|
|
516
|
+
description: ( localizeWithPath(
|
|
517
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
518
|
+
'gettingStarted.extensionsWeb.description.interpolated',
|
|
519
|
+
"Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}",
|
|
520
|
+
Button(( localizeWithPath(
|
|
521
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
522
|
+
'browsePopular',
|
|
523
|
+
"Browse Popular Web Extensions"
|
|
524
|
+
)), 'command:workbench.extensions.action.showPopularExtensions')
|
|
525
|
+
)),
|
|
526
|
+
when: 'workspacePlatform == \'webworker\'',
|
|
527
|
+
media: {
|
|
528
|
+
type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions-web.svg'
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
id: 'findLanguageExtensionsWeb',
|
|
533
|
+
title: ( localizeWithPath(
|
|
534
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
535
|
+
'gettingStarted.findLanguageExts.title',
|
|
536
|
+
"Rich support for all your languages"
|
|
537
|
+
)),
|
|
538
|
+
description: ( localizeWithPath(
|
|
539
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
540
|
+
'gettingStarted.findLanguageExts.description.interpolated',
|
|
541
|
+
"Code smarter with syntax highlighting, code completion, linting and debugging. While many languages are built-in, many more can be added as extensions.\n{0}",
|
|
542
|
+
Button(( localizeWithPath(
|
|
543
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
544
|
+
'browseLangExts',
|
|
545
|
+
"Browse Language Extensions"
|
|
546
|
+
)), 'command:workbench.extensions.action.showLanguageExtensions')
|
|
547
|
+
)),
|
|
548
|
+
when: 'workspacePlatform != \'webworker\'',
|
|
549
|
+
media: {
|
|
550
|
+
type: 'svg', altText: 'Language extensions', path: 'languages.svg'
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
id: 'settingsSyncWeb',
|
|
555
|
+
title: ( localizeWithPath(
|
|
556
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
557
|
+
'gettingStarted.settingsSync.title',
|
|
558
|
+
"Sync settings across devices"
|
|
559
|
+
)),
|
|
560
|
+
description: ( localizeWithPath(
|
|
561
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
562
|
+
'gettingStarted.settingsSync.description.interpolated',
|
|
563
|
+
"Keep your essential customizations backed up and updated across all your devices.\n{0}",
|
|
564
|
+
Button(( localizeWithPath(
|
|
565
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
566
|
+
'enableSync',
|
|
567
|
+
"Backup and Sync Settings"
|
|
568
|
+
)), 'command:workbench.userDataSync.actions.turnOn')
|
|
569
|
+
)),
|
|
570
|
+
when: 'syncStatus != uninitialized',
|
|
571
|
+
completionEvents: ['onEvent:sync-enabled'],
|
|
572
|
+
media: {
|
|
573
|
+
type: 'svg', altText: 'The "Turn on Sync" entry in the settings gear menu.', path: 'settingsSync.svg'
|
|
574
|
+
},
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
id: 'commandPaletteTaskWeb',
|
|
578
|
+
title: ( localizeWithPath(
|
|
579
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
580
|
+
'gettingStarted.commandPalette.title',
|
|
581
|
+
"Unlock productivity with the Command Palette "
|
|
582
|
+
)),
|
|
583
|
+
description: ( localizeWithPath(
|
|
584
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
585
|
+
'gettingStarted.commandPalette.description.interpolated',
|
|
586
|
+
"Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}",
|
|
587
|
+
Button(( localizeWithPath(
|
|
588
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
589
|
+
'commandPalette',
|
|
590
|
+
"Open Command Palette"
|
|
591
|
+
)), 'command:workbench.action.showCommands')
|
|
592
|
+
)),
|
|
593
|
+
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
id: 'pickAFolderTask-WebWeb',
|
|
597
|
+
title: ( localizeWithPath(
|
|
598
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
599
|
+
'gettingStarted.setup.OpenFolder.title',
|
|
600
|
+
"Open up your code"
|
|
601
|
+
)),
|
|
602
|
+
description: ( localizeWithPath(
|
|
603
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
604
|
+
'gettingStarted.setup.OpenFolderWeb.description.interpolated',
|
|
605
|
+
"You're all set to start coding. You can open a local project or a remote repository to get your files into VS Code.\n{0}\n{1}",
|
|
606
|
+
Button(( localizeWithPath(
|
|
607
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
608
|
+
'openFolder',
|
|
609
|
+
"Open Folder"
|
|
610
|
+
)), 'command:workbench.action.addRootFolder'),
|
|
611
|
+
Button(( localizeWithPath(
|
|
612
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
613
|
+
'openRepository',
|
|
614
|
+
"Open Repository"
|
|
615
|
+
)), 'command:remoteHub.openRepository')
|
|
616
|
+
)),
|
|
617
|
+
when: 'workspaceFolderCount == 0',
|
|
618
|
+
media: {
|
|
619
|
+
type: 'svg', altText: 'Explorer view showing buttons for opening folder and cloning repository.', path: 'openFolder.svg'
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
id: 'quickOpenWeb',
|
|
624
|
+
title: ( localizeWithPath(
|
|
625
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
626
|
+
'gettingStarted.quickOpen.title',
|
|
627
|
+
"Quickly navigate between your files"
|
|
628
|
+
)),
|
|
629
|
+
description: ( localizeWithPath(
|
|
630
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
631
|
+
'gettingStarted.quickOpen.description.interpolated',
|
|
632
|
+
"Navigate between files in an instant with one keystroke. Tip: Open multiple files by pressing the right arrow key.\n{0}",
|
|
633
|
+
Button(( localizeWithPath(
|
|
634
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
635
|
+
'quickOpen',
|
|
636
|
+
"Quick Open a File"
|
|
637
|
+
)), 'command:toSide:workbench.action.quickOpen')
|
|
638
|
+
)),
|
|
639
|
+
when: 'workspaceFolderCount != 0',
|
|
640
|
+
media: {
|
|
641
|
+
type: 'svg', altText: 'Go to file in quick search.', path: 'search.svg'
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
id: 'Beginner',
|
|
649
|
+
isFeatured: false,
|
|
650
|
+
title: ( localizeWithPath(
|
|
651
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
652
|
+
'gettingStarted.beginner.title',
|
|
653
|
+
"Learn the Fundamentals"
|
|
654
|
+
)),
|
|
655
|
+
icon: beginnerIcon,
|
|
656
|
+
description: ( localizeWithPath(
|
|
657
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
658
|
+
'gettingStarted.beginner.description',
|
|
659
|
+
"Get an overview of the most essential features"
|
|
660
|
+
)),
|
|
661
|
+
content: {
|
|
662
|
+
type: 'steps',
|
|
663
|
+
steps: [
|
|
664
|
+
{
|
|
665
|
+
id: 'extensions',
|
|
666
|
+
title: ( localizeWithPath(
|
|
667
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
668
|
+
'gettingStarted.extensions.title',
|
|
669
|
+
"Code with extensions"
|
|
670
|
+
)),
|
|
671
|
+
description: ( localizeWithPath(
|
|
672
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
673
|
+
'gettingStarted.extensions.description.interpolated',
|
|
674
|
+
"Extensions are VS Code's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}",
|
|
675
|
+
Button(( localizeWithPath(
|
|
676
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
677
|
+
'browseRecommended',
|
|
678
|
+
"Browse Recommended Extensions"
|
|
679
|
+
)), 'command:workbench.extensions.action.showRecommendedExtensions')
|
|
680
|
+
)),
|
|
681
|
+
when: 'workspacePlatform != \'webworker\'',
|
|
682
|
+
media: {
|
|
683
|
+
type: 'svg', altText: 'VS Code extension marketplace with featured language extensions', path: 'extensions.svg'
|
|
684
|
+
},
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
id: 'terminal',
|
|
688
|
+
title: ( localizeWithPath(
|
|
689
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
690
|
+
'gettingStarted.terminal.title',
|
|
691
|
+
"Built-in terminal"
|
|
692
|
+
)),
|
|
693
|
+
description: ( localizeWithPath(
|
|
694
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
695
|
+
'gettingStarted.terminal.description.interpolated',
|
|
696
|
+
"Quickly run shell commands and monitor build output, right next to your code.\n{0}",
|
|
697
|
+
Button(( localizeWithPath(
|
|
698
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
699
|
+
'showTerminal',
|
|
700
|
+
"Open Terminal"
|
|
701
|
+
)), 'command:workbench.action.terminal.toggleTerminal')
|
|
702
|
+
)),
|
|
703
|
+
when: 'workspacePlatform != \'webworker\' && remoteName != codespaces && !terminalIsOpen',
|
|
704
|
+
media: {
|
|
705
|
+
type: 'svg', altText: 'Integrated terminal running a few npm commands', path: 'terminal.svg'
|
|
706
|
+
},
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
id: 'debugging',
|
|
710
|
+
title: ( localizeWithPath(
|
|
711
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
712
|
+
'gettingStarted.debug.title',
|
|
713
|
+
"Watch your code in action"
|
|
714
|
+
)),
|
|
715
|
+
description: ( localizeWithPath(
|
|
716
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
717
|
+
'gettingStarted.debug.description.interpolated',
|
|
718
|
+
"Accelerate your edit, build, test, and debug loop by setting up a launch configuration.\n{0}",
|
|
719
|
+
Button(( localizeWithPath(
|
|
720
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
721
|
+
'runProject',
|
|
722
|
+
"Run your Project"
|
|
723
|
+
)), 'command:workbench.action.debug.selectandstart')
|
|
724
|
+
)),
|
|
725
|
+
when: 'workspacePlatform != \'webworker\' && workspaceFolderCount != 0',
|
|
726
|
+
media: {
|
|
727
|
+
type: 'svg', altText: 'Run and debug view.', path: 'debug.svg',
|
|
728
|
+
},
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
id: 'scmClone',
|
|
732
|
+
title: ( localizeWithPath(
|
|
733
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
734
|
+
'gettingStarted.scm.title',
|
|
735
|
+
"Track your code with Git"
|
|
736
|
+
)),
|
|
737
|
+
description: ( localizeWithPath(
|
|
738
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
739
|
+
'gettingStarted.scmClone.description.interpolated',
|
|
740
|
+
"Set up the built-in version control for your project to track your changes and collaborate with others.\n{0}",
|
|
741
|
+
Button(( localizeWithPath(
|
|
742
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
743
|
+
'cloneRepo',
|
|
744
|
+
"Clone Repository"
|
|
745
|
+
)), 'command:git.clone')
|
|
746
|
+
)),
|
|
747
|
+
when: 'config.git.enabled && !git.missing && workspaceFolderCount == 0',
|
|
748
|
+
media: {
|
|
749
|
+
type: 'svg', altText: 'Source Control view.', path: 'git.svg',
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
id: 'scmSetup',
|
|
754
|
+
title: ( localizeWithPath(
|
|
755
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
756
|
+
'gettingStarted.scm.title',
|
|
757
|
+
"Track your code with Git"
|
|
758
|
+
)),
|
|
759
|
+
description: ( localizeWithPath(
|
|
760
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
761
|
+
'gettingStarted.scmSetup.description.interpolated',
|
|
762
|
+
"Set up the built-in version control for your project to track your changes and collaborate with others.\n{0}",
|
|
763
|
+
Button(( localizeWithPath(
|
|
764
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
765
|
+
'initRepo',
|
|
766
|
+
"Initialize Git Repository"
|
|
767
|
+
)), 'command:git.init')
|
|
768
|
+
)),
|
|
769
|
+
when: 'config.git.enabled && !git.missing && workspaceFolderCount != 0 && gitOpenRepositoryCount == 0',
|
|
770
|
+
media: {
|
|
771
|
+
type: 'svg', altText: 'Source Control view.', path: 'git.svg',
|
|
772
|
+
},
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
id: 'scm',
|
|
776
|
+
title: ( localizeWithPath(
|
|
777
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
778
|
+
'gettingStarted.scm.title',
|
|
779
|
+
"Track your code with Git"
|
|
780
|
+
)),
|
|
781
|
+
description: ( localizeWithPath(
|
|
782
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
783
|
+
'gettingStarted.scm.description.interpolated',
|
|
784
|
+
"No more looking up Git commands! Git and GitHub workflows are seamlessly integrated.\n{0}",
|
|
785
|
+
Button(( localizeWithPath(
|
|
786
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
787
|
+
'openSCM',
|
|
788
|
+
"Open Source Control"
|
|
789
|
+
)), 'command:workbench.view.scm')
|
|
790
|
+
)),
|
|
791
|
+
when: 'config.git.enabled && !git.missing && workspaceFolderCount != 0 && gitOpenRepositoryCount != 0 && activeViewlet != \'workbench.view.scm\'',
|
|
792
|
+
media: {
|
|
793
|
+
type: 'svg', altText: 'Source Control view.', path: 'git.svg',
|
|
794
|
+
},
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
id: 'installGit',
|
|
798
|
+
title: ( localizeWithPath(
|
|
799
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
800
|
+
'gettingStarted.installGit.title',
|
|
801
|
+
"Install Git"
|
|
802
|
+
)),
|
|
803
|
+
description: ( localizeWithPath(
|
|
804
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
805
|
+
{ key: 'gettingStarted.installGit.description.interpolated', comment: ['The placeholders are command link items should not be translated'] },
|
|
806
|
+
"Install Git to track changes in your projects.\n{0}\n{1}Reload window{2} after installation to complete Git setup.",
|
|
807
|
+
Button(( localizeWithPath(
|
|
808
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
809
|
+
'installGit',
|
|
810
|
+
"Install Git"
|
|
811
|
+
)), 'https://aka.ms/vscode-install-git'),
|
|
812
|
+
'[',
|
|
813
|
+
'](command:workbench.action.reloadWindow)'
|
|
814
|
+
)),
|
|
815
|
+
when: 'git.missing',
|
|
816
|
+
media: {
|
|
817
|
+
type: 'svg', altText: 'Install Git.', path: 'git.svg',
|
|
818
|
+
},
|
|
819
|
+
completionEvents: [
|
|
820
|
+
'onContext:git.state == initialized'
|
|
821
|
+
]
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
id: 'tasks',
|
|
825
|
+
title: ( localizeWithPath(
|
|
826
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
827
|
+
'gettingStarted.tasks.title',
|
|
828
|
+
"Automate your project tasks"
|
|
829
|
+
)),
|
|
830
|
+
when: 'workspaceFolderCount != 0 && workspacePlatform != \'webworker\'',
|
|
831
|
+
description: ( localizeWithPath(
|
|
832
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
833
|
+
'gettingStarted.tasks.description.interpolated',
|
|
834
|
+
"Create tasks for your common workflows and enjoy the integrated experience of running scripts and automatically checking results.\n{0}",
|
|
835
|
+
Button(( localizeWithPath(
|
|
836
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
837
|
+
'runTasks',
|
|
838
|
+
"Run Auto-detected Tasks"
|
|
839
|
+
)), 'command:workbench.action.tasks.runTask')
|
|
840
|
+
)),
|
|
841
|
+
media: {
|
|
842
|
+
type: 'svg', altText: 'Task runner.', path: 'runTask.svg',
|
|
843
|
+
},
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
id: 'shortcuts',
|
|
847
|
+
title: ( localizeWithPath(
|
|
848
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
849
|
+
'gettingStarted.shortcuts.title',
|
|
850
|
+
"Customize your shortcuts"
|
|
851
|
+
)),
|
|
852
|
+
description: ( localizeWithPath(
|
|
853
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
854
|
+
'gettingStarted.shortcuts.description.interpolated',
|
|
855
|
+
"Once you have discovered your favorite commands, create custom keyboard shortcuts for instant access.\n{0}",
|
|
856
|
+
Button(( localizeWithPath(
|
|
857
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
858
|
+
'keyboardShortcuts',
|
|
859
|
+
"Keyboard Shortcuts"
|
|
860
|
+
)), 'command:toSide:workbench.action.openGlobalKeybindings')
|
|
861
|
+
)),
|
|
862
|
+
media: {
|
|
863
|
+
type: 'svg', altText: 'Interactive shortcuts.', path: 'shortcuts.svg',
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
id: 'workspaceTrust',
|
|
868
|
+
title: ( localizeWithPath(
|
|
869
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
870
|
+
'gettingStarted.workspaceTrust.title',
|
|
871
|
+
"Safely browse and edit code"
|
|
872
|
+
)),
|
|
873
|
+
description: ( localizeWithPath(
|
|
874
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
875
|
+
'gettingStarted.workspaceTrust.description.interpolated',
|
|
876
|
+
"{0} lets you decide whether your project folders should **allow or restrict** automatic code execution __(required for extensions, debugging, etc)__.\nOpening a file/folder will prompt to grant trust. You can always {1} later.",
|
|
877
|
+
Button(( localizeWithPath(
|
|
878
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
879
|
+
'workspaceTrust',
|
|
880
|
+
"Workspace Trust"
|
|
881
|
+
)), 'https://github.com/microsoft/vscode-docs/blob/workspaceTrust/docs/editor/workspace-trust.md'),
|
|
882
|
+
Button(( localizeWithPath(
|
|
883
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
884
|
+
'enableTrust',
|
|
885
|
+
"enable trust"
|
|
886
|
+
)), 'command:toSide:workbench.action.manageTrustedDomain')
|
|
887
|
+
)),
|
|
888
|
+
when: 'workspacePlatform != \'webworker\' && !isWorkspaceTrusted && workspaceFolderCount == 0',
|
|
889
|
+
media: {
|
|
890
|
+
type: 'svg', altText: 'Workspace Trust editor in Restricted mode and a primary button for switching to Trusted mode.', path: 'workspaceTrust.svg'
|
|
891
|
+
},
|
|
892
|
+
},
|
|
893
|
+
]
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
id: 'notebooks',
|
|
898
|
+
title: ( localizeWithPath(
|
|
899
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
900
|
+
'gettingStarted.notebook.title',
|
|
901
|
+
"Customize Notebooks"
|
|
902
|
+
)),
|
|
903
|
+
description: '',
|
|
904
|
+
icon: setupIcon,
|
|
905
|
+
isFeatured: false,
|
|
906
|
+
when: `config.${NotebookSetting.openGettingStarted} && userHasOpenedNotebook`,
|
|
907
|
+
content: {
|
|
908
|
+
type: 'steps',
|
|
909
|
+
steps: [
|
|
910
|
+
{
|
|
911
|
+
completionEvents: ['onCommand:notebook.setProfile'],
|
|
912
|
+
id: 'notebookProfile',
|
|
913
|
+
title: ( localizeWithPath(
|
|
914
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
915
|
+
'gettingStarted.notebookProfile.title',
|
|
916
|
+
"Select the layout for your notebooks"
|
|
917
|
+
)),
|
|
918
|
+
description: ( localizeWithPath(
|
|
919
|
+
'vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent',
|
|
920
|
+
'gettingStarted.notebookProfile.description',
|
|
921
|
+
"Get notebooks to feel just the way you prefer"
|
|
922
|
+
)),
|
|
923
|
+
when: 'userHasOpenedNotebook',
|
|
924
|
+
media: {
|
|
925
|
+
type: 'markdown', path: 'notebookProfile'
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
]
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
];
|
|
932
|
+
export { startEntries, walkthroughs };
|