@codingame/monaco-vscode-api 7.1.1 → 8.0.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/README.md +0 -1
- package/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +6 -6
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +59 -59
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +8 -8
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/config/editorOptions.js +365 -365
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -47
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +27 -27
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +19 -19
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +27 -19
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +93 -93
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +32 -32
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -34
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +216 -219
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +57 -57
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +39 -39
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +5 -5
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +2 -21
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -14,20 +14,20 @@ const hotExitConfiguration = isNative ?
|
|
|
14
14
|
'default': HotExitConfiguration.ON_EXIT,
|
|
15
15
|
'markdownEnumDescriptions': [
|
|
16
16
|
( localize(
|
|
17
|
-
|
|
17
|
+
1075,
|
|
18
18
|
'Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'
|
|
19
19
|
)),
|
|
20
20
|
( localize(
|
|
21
|
-
|
|
21
|
+
1076,
|
|
22
22
|
'Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu). All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`'
|
|
23
23
|
)),
|
|
24
24
|
( localize(
|
|
25
|
-
|
|
25
|
+
1077,
|
|
26
26
|
'Hot exit will be triggered when the last window is closed on Windows/Linux or when the `workbench.action.quit` command is triggered (command palette, keybinding, menu), and also for any window with a folder opened regardless of whether it\'s the last window. All windows without folders opened will be restored upon next launch. A list of previously opened windows with unsaved files can be accessed via `File > Open Recent > More...`'
|
|
27
27
|
))
|
|
28
28
|
],
|
|
29
29
|
'markdownDescription': ( localize(
|
|
30
|
-
|
|
30
|
+
1078,
|
|
31
31
|
"[Hot Exit](https://aka.ms/vscode-hot-exit) controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.",
|
|
32
32
|
HotExitConfiguration.ON_EXIT,
|
|
33
33
|
HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE
|
|
@@ -39,16 +39,16 @@ const hotExitConfiguration = isNative ?
|
|
|
39
39
|
'default': HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE,
|
|
40
40
|
'markdownEnumDescriptions': [
|
|
41
41
|
( localize(
|
|
42
|
-
|
|
42
|
+
1075,
|
|
43
43
|
'Disable hot exit. A prompt will show when attempting to close a window with editors that have unsaved changes.'
|
|
44
44
|
)),
|
|
45
45
|
( localize(
|
|
46
|
-
|
|
46
|
+
1079,
|
|
47
47
|
'Hot exit will be triggered when the browser quits or the window or tab is closed.'
|
|
48
48
|
))
|
|
49
49
|
],
|
|
50
50
|
'markdownDescription': ( localize(
|
|
51
|
-
|
|
51
|
+
1078,
|
|
52
52
|
"[Hot Exit](https://aka.ms/vscode-hot-exit) controls whether unsaved files are remembered between sessions, allowing the save prompt when exiting the editor to be skipped.",
|
|
53
53
|
HotExitConfiguration.ON_EXIT,
|
|
54
54
|
HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE
|
|
@@ -57,13 +57,13 @@ const hotExitConfiguration = isNative ?
|
|
|
57
57
|
configurationRegistry.registerConfiguration({
|
|
58
58
|
'id': 'files',
|
|
59
59
|
'order': 9,
|
|
60
|
-
'title': ( localize(
|
|
60
|
+
'title': ( localize(1080, "Files")),
|
|
61
61
|
'type': 'object',
|
|
62
62
|
'properties': {
|
|
63
63
|
[FILES_EXCLUDE_CONFIG]: {
|
|
64
64
|
'type': 'object',
|
|
65
65
|
'markdownDescription': ( localize(
|
|
66
|
-
|
|
66
|
+
1081,
|
|
67
67
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) for excluding files and folders. For example, the File Explorer decides which files and folders to show or hide based on this setting. Refer to the `#search.exclude#` setting to define search-specific excludes. Refer to the `#explorer.excludeGitIgnore#` setting for ignoring files based on your `.gitignore`."
|
|
68
68
|
)),
|
|
69
69
|
'default': {
|
|
@@ -76,9 +76,9 @@ configurationRegistry.registerConfiguration({
|
|
|
76
76
|
{
|
|
77
77
|
'type': 'boolean',
|
|
78
78
|
'enum': [true, false],
|
|
79
|
-
'enumDescriptions': [( localize(
|
|
79
|
+
'enumDescriptions': [( localize(1082, "Enable the pattern.")), ( localize(1083, "Disable the pattern."))],
|
|
80
80
|
'description': ( localize(
|
|
81
|
-
|
|
81
|
+
1084,
|
|
82
82
|
"The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
|
|
83
83
|
)),
|
|
84
84
|
},
|
|
@@ -90,7 +90,7 @@ configurationRegistry.registerConfiguration({
|
|
|
90
90
|
'pattern': '\\w*\\$\\(basename\\)\\w*',
|
|
91
91
|
'default': '$(basename).ext',
|
|
92
92
|
'markdownDescription': ( localize(
|
|
93
|
-
|
|
93
|
+
1085,
|
|
94
94
|
"Additional check on the siblings of a matching file. Use \\$(basename) as variable for the matching file name."
|
|
95
95
|
))
|
|
96
96
|
}
|
|
@@ -102,7 +102,7 @@ configurationRegistry.registerConfiguration({
|
|
|
102
102
|
[FILES_ASSOCIATIONS_CONFIG]: {
|
|
103
103
|
'type': 'object',
|
|
104
104
|
'markdownDescription': ( localize(
|
|
105
|
-
|
|
105
|
+
1086,
|
|
106
106
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) of file associations to languages (for example `\"*.extension\": \"html\"`). Patterns will match on the absolute path of a file if they contain a path separator and will match on the name of the file otherwise. These have precedence over the default associations of the languages installed."
|
|
107
107
|
)),
|
|
108
108
|
'additionalProperties': {
|
|
@@ -114,7 +114,7 @@ configurationRegistry.registerConfiguration({
|
|
|
114
114
|
'enum': ( (Object.keys(SUPPORTED_ENCODINGS))),
|
|
115
115
|
'default': 'utf8',
|
|
116
116
|
'description': ( localize(
|
|
117
|
-
|
|
117
|
+
1087,
|
|
118
118
|
"The default character set encoding to use when reading and writing files. This setting can also be configured per language."
|
|
119
119
|
)),
|
|
120
120
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
@@ -125,7 +125,7 @@ configurationRegistry.registerConfiguration({
|
|
|
125
125
|
'type': 'boolean',
|
|
126
126
|
'default': false,
|
|
127
127
|
'markdownDescription': ( localize(
|
|
128
|
-
|
|
128
|
+
1088,
|
|
129
129
|
"When enabled, the editor will attempt to guess the character set encoding when opening files. This setting can also be configured per language. Note, this setting is not respected by text search. Only {0} is respected.",
|
|
130
130
|
'`#files.encoding#`'
|
|
131
131
|
)),
|
|
@@ -140,7 +140,7 @@ configurationRegistry.registerConfiguration({
|
|
|
140
140
|
},
|
|
141
141
|
'default': [],
|
|
142
142
|
'markdownDescription': ( localize(
|
|
143
|
-
|
|
143
|
+
1089,
|
|
144
144
|
"List of character set encodings that the editor should attempt to guess in the order they are listed. In case it cannot be determined, {0} is respected",
|
|
145
145
|
'`#files.encoding#`'
|
|
146
146
|
)),
|
|
@@ -154,33 +154,33 @@ configurationRegistry.registerConfiguration({
|
|
|
154
154
|
'auto'
|
|
155
155
|
],
|
|
156
156
|
'enumDescriptions': [
|
|
157
|
-
( localize(
|
|
158
|
-
( localize(
|
|
159
|
-
( localize(
|
|
157
|
+
( localize(1090, "LF")),
|
|
158
|
+
( localize(1091, "CRLF")),
|
|
159
|
+
( localize(1092, "Uses operating system specific end of line character."))
|
|
160
160
|
],
|
|
161
161
|
'default': 'auto',
|
|
162
|
-
'description': ( localize(
|
|
162
|
+
'description': ( localize(1093, "The default end of line character.")),
|
|
163
163
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
164
164
|
},
|
|
165
165
|
'files.enableTrash': {
|
|
166
166
|
'type': 'boolean',
|
|
167
167
|
'default': true,
|
|
168
168
|
'description': ( localize(
|
|
169
|
-
|
|
169
|
+
1094,
|
|
170
170
|
"Moves files/folders to the OS trash (recycle bin on Windows) when deleting. Disabling this will delete files/folders permanently."
|
|
171
171
|
))
|
|
172
172
|
},
|
|
173
173
|
'files.trimTrailingWhitespace': {
|
|
174
174
|
'type': 'boolean',
|
|
175
175
|
'default': false,
|
|
176
|
-
'description': ( localize(
|
|
176
|
+
'description': ( localize(1095, "When enabled, will trim trailing whitespace when saving a file.")),
|
|
177
177
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
178
178
|
},
|
|
179
179
|
'files.trimTrailingWhitespaceInRegexAndStrings': {
|
|
180
180
|
'type': 'boolean',
|
|
181
181
|
'default': true,
|
|
182
182
|
'description': ( localize(
|
|
183
|
-
|
|
183
|
+
1096,
|
|
184
184
|
"When enabled, trailing whitespace will be removed from multiline strings and regexes will be removed on save or when executing 'editor.action.trimTrailingWhitespace'. This can cause whitespace to not be trimmed from lines when there isn't up-to-date token information."
|
|
185
185
|
)),
|
|
186
186
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
@@ -189,7 +189,7 @@ configurationRegistry.registerConfiguration({
|
|
|
189
189
|
'type': 'boolean',
|
|
190
190
|
'default': false,
|
|
191
191
|
'description': ( localize(
|
|
192
|
-
|
|
192
|
+
1097,
|
|
193
193
|
"When enabled, insert a final new line at the end of the file when saving it."
|
|
194
194
|
)),
|
|
195
195
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
@@ -198,7 +198,7 @@ configurationRegistry.registerConfiguration({
|
|
|
198
198
|
'type': 'boolean',
|
|
199
199
|
'default': false,
|
|
200
200
|
'description': ( localize(
|
|
201
|
-
|
|
201
|
+
1098,
|
|
202
202
|
"When enabled, will trim all new lines after the final new line at the end of the file when saving it."
|
|
203
203
|
)),
|
|
204
204
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
@@ -207,23 +207,23 @@ configurationRegistry.registerConfiguration({
|
|
|
207
207
|
'type': 'string',
|
|
208
208
|
'enum': [AutoSaveConfiguration.OFF, AutoSaveConfiguration.AFTER_DELAY, AutoSaveConfiguration.ON_FOCUS_CHANGE, AutoSaveConfiguration.ON_WINDOW_CHANGE],
|
|
209
209
|
'markdownEnumDescriptions': [
|
|
210
|
-
( localize(
|
|
210
|
+
( localize(1099, "An editor with changes is never automatically saved.")),
|
|
211
211
|
( localize(
|
|
212
|
-
|
|
212
|
+
1100,
|
|
213
213
|
"An editor with changes is automatically saved after the configured `#files.autoSaveDelay#`."
|
|
214
214
|
)),
|
|
215
215
|
( localize(
|
|
216
|
-
|
|
216
|
+
1101,
|
|
217
217
|
"An editor with changes is automatically saved when the editor loses focus."
|
|
218
218
|
)),
|
|
219
219
|
( localize(
|
|
220
|
-
|
|
220
|
+
1102,
|
|
221
221
|
"An editor with changes is automatically saved when the window loses focus."
|
|
222
222
|
))
|
|
223
223
|
],
|
|
224
224
|
'default': isWeb ? AutoSaveConfiguration.AFTER_DELAY : AutoSaveConfiguration.OFF,
|
|
225
225
|
'markdownDescription': ( localize(
|
|
226
|
-
|
|
226
|
+
1103,
|
|
227
227
|
"Controls [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors that have unsaved changes.",
|
|
228
228
|
AutoSaveConfiguration.OFF,
|
|
229
229
|
AutoSaveConfiguration.AFTER_DELAY,
|
|
@@ -238,7 +238,7 @@ configurationRegistry.registerConfiguration({
|
|
|
238
238
|
'default': 1000,
|
|
239
239
|
'minimum': 0,
|
|
240
240
|
'markdownDescription': ( localize(
|
|
241
|
-
|
|
241
|
+
1104,
|
|
242
242
|
"Controls the delay in milliseconds after which an editor with unsaved changes is saved automatically. Only applies when `#files.autoSave#` is set to `{0}`.",
|
|
243
243
|
AutoSaveConfiguration.AFTER_DELAY
|
|
244
244
|
)),
|
|
@@ -248,7 +248,7 @@ configurationRegistry.registerConfiguration({
|
|
|
248
248
|
'type': 'boolean',
|
|
249
249
|
'default': false,
|
|
250
250
|
'markdownDescription': ( localize(
|
|
251
|
-
|
|
251
|
+
1105,
|
|
252
252
|
"When enabled, will limit [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors to files that are inside the opened workspace. Only applies when {0} is enabled.",
|
|
253
253
|
'`#files.autoSave#`'
|
|
254
254
|
)),
|
|
@@ -258,7 +258,7 @@ configurationRegistry.registerConfiguration({
|
|
|
258
258
|
'type': 'boolean',
|
|
259
259
|
'default': false,
|
|
260
260
|
'markdownDescription': ( localize(
|
|
261
|
-
|
|
261
|
+
1106,
|
|
262
262
|
"When enabled, will limit [auto save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) of editors to files that have no errors reported in them at the time the auto save is triggered. Only applies when {0} is enabled.",
|
|
263
263
|
'`#files.autoSave#`'
|
|
264
264
|
)),
|
|
@@ -271,7 +271,7 @@ configurationRegistry.registerConfiguration({
|
|
|
271
271
|
},
|
|
272
272
|
'default': { '**/.git/objects/**': true, '**/.git/subtree-cache/**': true, '**/node_modules/*/**': true, '**/.hg/store/**': true },
|
|
273
273
|
'markdownDescription': ( localize(
|
|
274
|
-
|
|
274
|
+
1107,
|
|
275
275
|
"Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to exclude from file watching. Paths can either be relative to the watched folder or absolute. Glob patterns are matched relative from the watched folder. When you experience the file watcher process consuming a lot of CPU, make sure to exclude large folders that are of less interest (such as build output folders)."
|
|
276
276
|
)),
|
|
277
277
|
'scope': ConfigurationScope.RESOURCE
|
|
@@ -283,7 +283,7 @@ configurationRegistry.registerConfiguration({
|
|
|
283
283
|
},
|
|
284
284
|
'default': [],
|
|
285
285
|
'description': ( localize(
|
|
286
|
-
|
|
286
|
+
1108,
|
|
287
287
|
"Configure extra paths to watch for changes inside the workspace. By default, all workspace folders will be watched recursively, except for folders that are symbolic links. You can explicitly add absolute or relative paths to support watching folders that are symbolic links. Relative paths will be resolved to an absolute path using the currently opened workspace."
|
|
288
288
|
)),
|
|
289
289
|
'scope': ConfigurationScope.RESOURCE
|
|
@@ -292,7 +292,7 @@ configurationRegistry.registerConfiguration({
|
|
|
292
292
|
'files.defaultLanguage': {
|
|
293
293
|
'type': 'string',
|
|
294
294
|
'markdownDescription': ( localize(
|
|
295
|
-
|
|
295
|
+
1109,
|
|
296
296
|
"The default language identifier that is assigned to new files. If configured to `${activeEditorLanguage}`, will use the language identifier of the currently active text editor if any."
|
|
297
297
|
))
|
|
298
298
|
},
|
|
@@ -303,7 +303,7 @@ configurationRegistry.registerConfiguration({
|
|
|
303
303
|
},
|
|
304
304
|
'default': {},
|
|
305
305
|
'markdownDescription': ( localize(
|
|
306
|
-
|
|
306
|
+
1110,
|
|
307
307
|
"Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to mark as read-only. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. You can exclude matching paths via the `#files.readonlyExclude#` setting. Files from readonly file system providers will always be read-only independent of this setting."
|
|
308
308
|
)),
|
|
309
309
|
'scope': ConfigurationScope.RESOURCE
|
|
@@ -315,7 +315,7 @@ configurationRegistry.registerConfiguration({
|
|
|
315
315
|
},
|
|
316
316
|
'default': {},
|
|
317
317
|
'markdownDescription': ( localize(
|
|
318
|
-
|
|
318
|
+
1111,
|
|
319
319
|
"Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to exclude from being marked as read-only if they match as a result of the `#files.readonlyInclude#` setting. Glob patterns are always evaluated relative to the path of the workspace folder unless they are absolute paths. Files from readonly file system providers will always be read-only independent of this setting."
|
|
320
320
|
)),
|
|
321
321
|
'scope': ConfigurationScope.RESOURCE
|
|
@@ -323,14 +323,14 @@ configurationRegistry.registerConfiguration({
|
|
|
323
323
|
[FILES_READONLY_FROM_PERMISSIONS_CONFIG]: {
|
|
324
324
|
'type': 'boolean',
|
|
325
325
|
'markdownDescription': ( localize(
|
|
326
|
-
|
|
326
|
+
1112,
|
|
327
327
|
"Marks files as read-only when their file permissions indicate as such. This can be overridden via `#files.readonlyInclude#` and `#files.readonlyExclude#` settings."
|
|
328
328
|
)),
|
|
329
329
|
'default': false
|
|
330
330
|
},
|
|
331
331
|
'files.restoreUndoStack': {
|
|
332
332
|
'type': 'boolean',
|
|
333
|
-
'description': ( localize(
|
|
333
|
+
'description': ( localize(1113, "Restore the undo stack when a file is reopened.")),
|
|
334
334
|
'default': true
|
|
335
335
|
},
|
|
336
336
|
'files.saveConflictResolution': {
|
|
@@ -341,16 +341,16 @@ configurationRegistry.registerConfiguration({
|
|
|
341
341
|
],
|
|
342
342
|
'enumDescriptions': [
|
|
343
343
|
( localize(
|
|
344
|
-
|
|
344
|
+
1114,
|
|
345
345
|
"Will refuse to save and ask for resolving the save conflict manually."
|
|
346
346
|
)),
|
|
347
347
|
( localize(
|
|
348
|
-
|
|
348
|
+
1115,
|
|
349
349
|
"Will resolve the save conflict by overwriting the file on disk with the changes in the editor."
|
|
350
350
|
))
|
|
351
351
|
],
|
|
352
352
|
'description': ( localize(
|
|
353
|
-
|
|
353
|
+
1116,
|
|
354
354
|
"A save conflict can occur when a file is saved to disk that was changed by another program in the meantime. To prevent data loss, the user is asked to compare the changes in the editor with the version on disk. This setting should only be changed if you frequently encounter save conflict errors and may result in data loss if used without caution."
|
|
355
355
|
)),
|
|
356
356
|
'default': 'askUser',
|
|
@@ -360,11 +360,11 @@ configurationRegistry.registerConfiguration({
|
|
|
360
360
|
'type': 'string',
|
|
361
361
|
'pattern': '^((\\/|\\\\\\\\|[a-zA-Z]:\\\\).*)?$',
|
|
362
362
|
'patternErrorMessage': ( localize(
|
|
363
|
-
|
|
363
|
+
1117,
|
|
364
364
|
"Default path for file dialogs must be an absolute path (e.g. C:\\\\myFolder or /myFolder)."
|
|
365
365
|
)),
|
|
366
366
|
'description': ( localize(
|
|
367
|
-
|
|
367
|
+
1118,
|
|
368
368
|
"Default path for file dialogs, overriding user's home path. Only used in the absence of a context-specific path, such as most recently opened file or folder."
|
|
369
369
|
)),
|
|
370
370
|
'scope': ConfigurationScope.MACHINE
|
|
@@ -372,7 +372,7 @@ configurationRegistry.registerConfiguration({
|
|
|
372
372
|
'files.simpleDialog.enable': {
|
|
373
373
|
'type': 'boolean',
|
|
374
374
|
'description': ( localize(
|
|
375
|
-
|
|
375
|
+
1119,
|
|
376
376
|
"Enables the simple file dialog for opening and saving files and folders. The simple file dialog replaces the system file dialog when enabled."
|
|
377
377
|
)),
|
|
378
378
|
'default': false
|
|
@@ -381,7 +381,7 @@ configurationRegistry.registerConfiguration({
|
|
|
381
381
|
type: 'number',
|
|
382
382
|
default: 60000,
|
|
383
383
|
markdownDescription: ( localize(
|
|
384
|
-
|
|
384
|
+
1120,
|
|
385
385
|
"Timeout in milliseconds after which file participants for create, rename, and delete are cancelled. Use `0` to disable participants."
|
|
386
386
|
)),
|
|
387
387
|
}
|
|
@@ -393,7 +393,7 @@ configurationRegistry.registerConfiguration({
|
|
|
393
393
|
'editor.formatOnSave': {
|
|
394
394
|
'type': 'boolean',
|
|
395
395
|
'description': ( localize(
|
|
396
|
-
|
|
396
|
+
1121,
|
|
397
397
|
"Format a file on save. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down."
|
|
398
398
|
)),
|
|
399
399
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
@@ -407,15 +407,15 @@ configurationRegistry.registerConfiguration({
|
|
|
407
407
|
'modificationsIfAvailable'
|
|
408
408
|
],
|
|
409
409
|
'enumDescriptions': [
|
|
410
|
-
( localize(
|
|
411
|
-
( localize(
|
|
410
|
+
( localize(1122, "Format the whole file.")),
|
|
411
|
+
( localize(1123, "Format modifications (requires source control).")),
|
|
412
412
|
( localize(
|
|
413
|
-
|
|
413
|
+
1124,
|
|
414
414
|
"Will attempt to format modifications only (requires source control). If source control can't be used, then the whole file will be formatted."
|
|
415
415
|
)),
|
|
416
416
|
],
|
|
417
417
|
'markdownDescription': ( localize(
|
|
418
|
-
|
|
418
|
+
1125,
|
|
419
419
|
"Controls if format on save formats the whole file or only modifications. Only applies when `#editor.formatOnSave#` is enabled."
|
|
420
420
|
)),
|
|
421
421
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
@@ -428,7 +428,7 @@ configurationRegistry.registerConfiguration({
|
|
|
428
428
|
'editor.formatOnSave': {
|
|
429
429
|
'type': 'boolean',
|
|
430
430
|
'description': ( localize(
|
|
431
|
-
|
|
431
|
+
1121,
|
|
432
432
|
"Format a file on save. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down."
|
|
433
433
|
)),
|
|
434
434
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
@@ -442,15 +442,15 @@ configurationRegistry.registerConfiguration({
|
|
|
442
442
|
'modificationsIfAvailable'
|
|
443
443
|
],
|
|
444
444
|
'enumDescriptions': [
|
|
445
|
-
( localize(
|
|
446
|
-
( localize(
|
|
445
|
+
( localize(1122, "Format the whole file.")),
|
|
446
|
+
( localize(1123, "Format modifications (requires source control).")),
|
|
447
447
|
( localize(
|
|
448
|
-
|
|
448
|
+
1124,
|
|
449
449
|
"Will attempt to format modifications only (requires source control). If source control can't be used, then the whole file will be formatted."
|
|
450
450
|
)),
|
|
451
451
|
],
|
|
452
452
|
'markdownDescription': ( localize(
|
|
453
|
-
|
|
453
|
+
1125,
|
|
454
454
|
"Controls if format on save formats the whole file or only modifications. Only applies when `#editor.formatOnSave#` is enabled."
|
|
455
455
|
)),
|
|
456
456
|
'scope': ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
@@ -39,10 +39,10 @@ let FileUriLabelContribution = class FileUriLabelContribution {
|
|
|
39
39
|
FileUriLabelContribution = ( (__decorate([
|
|
40
40
|
( (__param(0, ILabelService)))
|
|
41
41
|
], FileUriLabelContribution)));
|
|
42
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextFileEditor, TextFileEditor.ID, ( localize(
|
|
42
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextFileEditor, TextFileEditor.ID, ( localize(4477, "Text File Editor"))), [
|
|
43
43
|
( (new SyncDescriptor(FileEditorInput)))
|
|
44
44
|
]);
|
|
45
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryFileEditor, BinaryFileEditor.ID, ( localize(
|
|
45
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryFileEditor, BinaryFileEditor.ID, ( localize(4478, "Binary File Editor"))), [
|
|
46
46
|
( (new SyncDescriptor(FileEditorInput)))
|
|
47
47
|
]);
|
|
48
48
|
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(FILE_EDITOR_INPUT_ID, FileEditorInputSerializer);
|
|
@@ -699,7 +699,7 @@ OpenEditorsDragAndDrop.__decorator = ( (__decorate([
|
|
|
699
699
|
], OpenEditorsDragAndDrop.prototype, "dropHandler", null)));
|
|
700
700
|
class OpenEditorsAccessibilityProvider {
|
|
701
701
|
getWidgetAriaLabel() {
|
|
702
|
-
return ( localize(
|
|
702
|
+
return ( localize(5403, "Open Editors"));
|
|
703
703
|
}
|
|
704
704
|
getAriaLabel(element) {
|
|
705
705
|
if (element instanceof OpenEditor) {
|
|
@@ -30,8 +30,8 @@ let DefaultFoldingRangeProvider = class DefaultFoldingRangeProvider extends Disp
|
|
|
30
30
|
DefaultFoldingRangeProvider_1.extensionItemLabels.length = 0;
|
|
31
31
|
DefaultFoldingRangeProvider_1.extensionDescriptions.length = 0;
|
|
32
32
|
DefaultFoldingRangeProvider_1.extensionIds.push(null);
|
|
33
|
-
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(
|
|
34
|
-
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(
|
|
33
|
+
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(650, 'All')));
|
|
34
|
+
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(651, "All active folding range providers")));
|
|
35
35
|
const languageExtensions = [];
|
|
36
36
|
const otherExtensions = [];
|
|
37
37
|
for (const extension of this._extensionService.extensions) {
|
|
@@ -73,7 +73,7 @@ DefaultFoldingRangeProvider = DefaultFoldingRangeProvider_1 = ( (__decorate([
|
|
|
73
73
|
properties: {
|
|
74
74
|
[DefaultFoldingRangeProvider.configName]: {
|
|
75
75
|
description: ( localize(
|
|
76
|
-
|
|
76
|
+
652,
|
|
77
77
|
"Defines a default folding range provider that takes precedence over all other folding range providers. Must be the identifier of an extension contributing a folding range provider."
|
|
78
78
|
)),
|
|
79
79
|
type: ['string', 'null'],
|
|
@@ -79,8 +79,8 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
79
79
|
DefaultFormatter_1.extensionItemLabels.length = 0;
|
|
80
80
|
DefaultFormatter_1.extensionDescriptions.length = 0;
|
|
81
81
|
DefaultFormatter_1.extensionIds.push(null);
|
|
82
|
-
DefaultFormatter_1.extensionItemLabels.push(( localize(
|
|
83
|
-
DefaultFormatter_1.extensionDescriptions.push(( localize(
|
|
82
|
+
DefaultFormatter_1.extensionItemLabels.push(( localize(4511, 'None')));
|
|
83
|
+
DefaultFormatter_1.extensionDescriptions.push(( localize(4512, "None")));
|
|
84
84
|
for (const extension of extensions) {
|
|
85
85
|
if (extension.main || extension.browser) {
|
|
86
86
|
DefaultFormatter_1.extensionIds.push(extension.identifier.value);
|
|
@@ -107,13 +107,13 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
107
107
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
108
108
|
const detail = kind === FormattingKind.File
|
|
109
109
|
? ( localize(
|
|
110
|
-
|
|
110
|
+
4513,
|
|
111
111
|
"Extension '{0}' is configured as formatter but it cannot format '{1}'-files",
|
|
112
112
|
extension.displayName || extension.name,
|
|
113
113
|
langName
|
|
114
114
|
))
|
|
115
115
|
: ( localize(
|
|
116
|
-
|
|
116
|
+
4514,
|
|
117
117
|
"Extension '{0}' is configured as formatter but it can only format '{1}'-files as a whole, not selections or parts of it.",
|
|
118
118
|
extension.displayName || extension.name,
|
|
119
119
|
langName
|
|
@@ -127,12 +127,12 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
127
127
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
128
128
|
const message = !defaultFormatterId
|
|
129
129
|
? ( localize(
|
|
130
|
-
|
|
130
|
+
4515,
|
|
131
131
|
"There are multiple formatters for '{0}' files. One of them should be configured as default formatter.",
|
|
132
132
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
133
133
|
))
|
|
134
134
|
: ( localize(
|
|
135
|
-
|
|
135
|
+
4516,
|
|
136
136
|
"Extension '{0}' is configured as formatter but not available. Select a different default formatter to continue.",
|
|
137
137
|
defaultFormatterId
|
|
138
138
|
));
|
|
@@ -145,16 +145,16 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
145
145
|
}
|
|
146
146
|
if (mode !== FormattingMode.Silent) {
|
|
147
147
|
const { confirmed } = await this._dialogService.confirm({
|
|
148
|
-
message: ( localize(
|
|
148
|
+
message: ( localize(4517, "Configure Default Formatter")),
|
|
149
149
|
detail: formatterOrMessage,
|
|
150
|
-
primaryButton: ( localize(
|
|
150
|
+
primaryButton: ( localize(4518, "&&Configure..."))
|
|
151
151
|
});
|
|
152
152
|
if (confirmed) {
|
|
153
153
|
return this._pickAndPersistDefaultFormatter(formatter, document);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
|
-
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(
|
|
157
|
+
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(4519, "Configure...")), run: () => this._pickAndPersistDefaultFormatter(formatter, document) }], { priority: NotificationPriority.SILENT });
|
|
158
158
|
}
|
|
159
159
|
return undefined;
|
|
160
160
|
}
|
|
@@ -168,7 +168,7 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
168
168
|
})));
|
|
169
169
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
170
170
|
const pick = await this._quickInputService.pick(picks, { placeHolder: ( localize(
|
|
171
|
-
|
|
171
|
+
4520,
|
|
172
172
|
"Select a default formatter for '{0}' files",
|
|
173
173
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
174
174
|
)) });
|
|
@@ -201,14 +201,14 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
201
201
|
if (typeof result !== 'string') {
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
|
-
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(
|
|
204
|
+
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(4521, "Configure...")) };
|
|
205
205
|
this._languageStatusStore.add(CommandsRegistry.registerCommand(command.id, () => this._pickAndPersistDefaultFormatter(formatter, document)));
|
|
206
206
|
this._languageStatusStore.add(this._languageStatusService.addStatus({
|
|
207
207
|
id: 'formatter.conflict',
|
|
208
|
-
name: ( localize(
|
|
208
|
+
name: ( localize(4522, "Formatter Conflicts")),
|
|
209
209
|
selector: { language: document.getLanguageId(), pattern: document.uri.fsPath },
|
|
210
210
|
severity: Severity$1.Error,
|
|
211
|
-
label: ( localize(
|
|
211
|
+
label: ( localize(4523, "Formatting")),
|
|
212
212
|
detail: result,
|
|
213
213
|
busy: false,
|
|
214
214
|
source: '',
|
|
@@ -236,7 +236,7 @@ DefaultFormatter = DefaultFormatter_1 = ( (__decorate([
|
|
|
236
236
|
properties: {
|
|
237
237
|
[DefaultFormatter.configName]: {
|
|
238
238
|
description: ( localize(
|
|
239
|
-
|
|
239
|
+
4524,
|
|
240
240
|
"Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
241
241
|
)),
|
|
242
242
|
type: ['string', 'null'],
|
|
@@ -269,7 +269,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
269
269
|
const pick = {
|
|
270
270
|
index,
|
|
271
271
|
label: provider.displayName || '',
|
|
272
|
-
description: isDefault ? ( localize(
|
|
272
|
+
description: isDefault ? ( localize(4525, "(default)")) : undefined,
|
|
273
273
|
};
|
|
274
274
|
if (isDefault) {
|
|
275
275
|
defaultFormatterPick = pick;
|
|
@@ -277,10 +277,10 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
277
277
|
return pick;
|
|
278
278
|
})));
|
|
279
279
|
const configurePick = {
|
|
280
|
-
label: ( localize(
|
|
280
|
+
label: ( localize(4526, "Configure Default Formatter..."))
|
|
281
281
|
};
|
|
282
282
|
const pick = await quickPickService.pick([...picks, { type: 'separator' }, configurePick], {
|
|
283
|
-
placeHolder: ( localize(
|
|
283
|
+
placeHolder: ( localize(4527, "Select a formatter")),
|
|
284
284
|
activeItem: defaultFormatterPick
|
|
285
285
|
});
|
|
286
286
|
if (!pick) {
|
|
@@ -289,7 +289,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
289
289
|
else if (pick === configurePick) {
|
|
290
290
|
const langName = languageService.getLanguageName(model.getLanguageId()) || model.getLanguageId();
|
|
291
291
|
const pick = await quickPickService.pick(picks, { placeHolder: ( localize(
|
|
292
|
-
|
|
292
|
+
4520,
|
|
293
293
|
"Select a default formatter for '{0}' files",
|
|
294
294
|
DefaultFormatter._maybeQuotes(langName)
|
|
295
295
|
)) });
|
|
@@ -306,7 +306,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
306
306
|
constructor() {
|
|
307
307
|
super({
|
|
308
308
|
id: 'editor.action.formatDocument.multiple',
|
|
309
|
-
label: ( localize(
|
|
309
|
+
label: ( localize(4528, "Format Document With...")),
|
|
310
310
|
alias: 'Format Document...',
|
|
311
311
|
precondition: ( (ContextKeyExpr.and(
|
|
312
312
|
EditorContextKeys.writable,
|
|
@@ -338,7 +338,7 @@ registerEditorAction(class FormatSelectionMultipleAction extends EditorAction {
|
|
|
338
338
|
constructor() {
|
|
339
339
|
super({
|
|
340
340
|
id: 'editor.action.formatSelection.multiple',
|
|
341
|
-
label: ( localize(
|
|
341
|
+
label: ( localize(4529, "Format Selection With...")),
|
|
342
342
|
alias: 'Format Code...',
|
|
343
343
|
precondition: ( (ContextKeyExpr.and(
|
|
344
344
|
(ContextKeyExpr.and(EditorContextKeys.writable)),
|
|
@@ -21,7 +21,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: 'editor.action.formatDocument.none',
|
|
24
|
-
label: ( localize(
|
|
24
|
+
label: ( localize(4530, "Format Document")),
|
|
25
25
|
alias: 'Format Document',
|
|
26
26
|
precondition: ( (ContextKeyExpr.and(
|
|
27
27
|
EditorContextKeys.writable,
|
|
@@ -53,14 +53,14 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
53
53
|
return commandService.executeCommand('editor.action.formatDocument');
|
|
54
54
|
}
|
|
55
55
|
else if (model.isTooLargeForSyncing()) {
|
|
56
|
-
notificationService.warn(( localize(
|
|
56
|
+
notificationService.warn(( localize(4531, "This file cannot be formatted because it is too large")));
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
59
|
const langName = model.getLanguageId();
|
|
60
|
-
const message = ( localize(
|
|
60
|
+
const message = ( localize(4532, "There is no formatter for '{0}' files installed.", langName));
|
|
61
61
|
const { confirmed } = await dialogService.confirm({
|
|
62
62
|
message,
|
|
63
|
-
primaryButton: ( localize(
|
|
63
|
+
primaryButton: ( localize(4533, "&&Install Formatter..."))
|
|
64
64
|
});
|
|
65
65
|
if (confirmed) {
|
|
66
66
|
showExtensionQuery(paneCompositeService, `category:formatters ${langName}`);
|
|
@@ -17,7 +17,7 @@ registerEditorAction(class FormatModifiedAction extends EditorAction {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super({
|
|
19
19
|
id: 'editor.action.formatChanges',
|
|
20
|
-
label: ( localize(
|
|
20
|
+
label: ( localize(4504, "Format Modified Lines")),
|
|
21
21
|
alias: 'Format Modified Lines',
|
|
22
22
|
precondition: ( (ContextKeyExpr.and(
|
|
23
23
|
EditorContextKeys.writable,
|