@codingame/monaco-vscode-api 10.0.0 → 10.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/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/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.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/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- 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/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- 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/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- 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/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- 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/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- 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/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- 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/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- 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/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- 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/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- 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/compositeBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- 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/editorGroupView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- 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/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- 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/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- 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/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- 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/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- 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/customEditor/browser/customEditorInput.js +3 -3
- 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/browser/debugSessionPicker.js +3 -3
- 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 +173 -173
- 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/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- 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 +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- 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 +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.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 +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.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 +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- 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/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- 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/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- 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 +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- 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/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- 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/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/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- 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/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
const idDescription = ( localize(
|
|
3
|
-
|
|
3
|
+
10639,
|
|
4
4
|
"The input's id is used to associate an input with a variable of the form ${input:id}."
|
|
5
5
|
));
|
|
6
|
-
const typeDescription = ( localize(
|
|
7
|
-
const descriptionDescription = ( localize(
|
|
8
|
-
const defaultDescription = ( localize(
|
|
6
|
+
const typeDescription = ( localize(10640, "The type of user input prompt to use."));
|
|
7
|
+
const descriptionDescription = ( localize(10641, "The description is shown when the user is prompted for input."));
|
|
8
|
+
const defaultDescription = ( localize(10642, "The default value for the input."));
|
|
9
9
|
const inputsSchema = {
|
|
10
10
|
definitions: {
|
|
11
11
|
inputs: {
|
|
12
12
|
type: 'array',
|
|
13
13
|
description: ( localize(
|
|
14
|
-
|
|
14
|
+
10643,
|
|
15
15
|
'User inputs. Used for defining user input prompts, such as free string input or a choice from several options.'
|
|
16
16
|
)),
|
|
17
17
|
items: {
|
|
@@ -31,7 +31,7 @@ const inputsSchema = {
|
|
|
31
31
|
enum: ['promptString'],
|
|
32
32
|
enumDescriptions: [
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
10644,
|
|
35
35
|
"The 'promptString' type opens an input box to ask the user for input."
|
|
36
36
|
)),
|
|
37
37
|
]
|
|
@@ -47,7 +47,7 @@ const inputsSchema = {
|
|
|
47
47
|
password: {
|
|
48
48
|
type: 'boolean',
|
|
49
49
|
description: ( localize(
|
|
50
|
-
|
|
50
|
+
10645,
|
|
51
51
|
"Controls if a password input is shown. Password input hides the typed text."
|
|
52
52
|
)),
|
|
53
53
|
},
|
|
@@ -67,7 +67,7 @@ const inputsSchema = {
|
|
|
67
67
|
description: typeDescription,
|
|
68
68
|
enum: ['pickString'],
|
|
69
69
|
enumDescriptions: [
|
|
70
|
-
( localize(
|
|
70
|
+
( localize(10646, "The 'pickString' type shows a selection list.")),
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
description: {
|
|
@@ -80,7 +80,7 @@ const inputsSchema = {
|
|
|
80
80
|
},
|
|
81
81
|
options: {
|
|
82
82
|
type: 'array',
|
|
83
|
-
description: ( localize(
|
|
83
|
+
description: ( localize(10647, "An array of strings that defines the options for a quick pick.")),
|
|
84
84
|
items: {
|
|
85
85
|
oneOf: [
|
|
86
86
|
{
|
|
@@ -93,11 +93,11 @@ const inputsSchema = {
|
|
|
93
93
|
properties: {
|
|
94
94
|
label: {
|
|
95
95
|
type: 'string',
|
|
96
|
-
description: ( localize(
|
|
96
|
+
description: ( localize(10648, "Label for the option."))
|
|
97
97
|
},
|
|
98
98
|
value: {
|
|
99
99
|
type: 'string',
|
|
100
|
-
description: ( localize(
|
|
100
|
+
description: ( localize(10649, "Value for the option."))
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -120,26 +120,26 @@ const inputsSchema = {
|
|
|
120
120
|
description: typeDescription,
|
|
121
121
|
enum: ['command'],
|
|
122
122
|
enumDescriptions: [
|
|
123
|
-
( localize(
|
|
123
|
+
( localize(10650, "The 'command' type executes a command.")),
|
|
124
124
|
]
|
|
125
125
|
},
|
|
126
126
|
command: {
|
|
127
127
|
type: 'string',
|
|
128
|
-
description: ( localize(
|
|
128
|
+
description: ( localize(10651, "The command to execute for this input variable."))
|
|
129
129
|
},
|
|
130
130
|
args: {
|
|
131
131
|
oneOf: [
|
|
132
132
|
{
|
|
133
133
|
type: 'object',
|
|
134
|
-
description: ( localize(
|
|
134
|
+
description: ( localize(10652, "Optional arguments passed to the command."))
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
type: 'array',
|
|
138
|
-
description: ( localize(
|
|
138
|
+
description: ( localize(10652, "Optional arguments passed to the command."))
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
type: 'string',
|
|
142
|
-
description: ( localize(
|
|
142
|
+
description: ( localize(10652, "Optional arguments passed to the command."))
|
|
143
143
|
}
|
|
144
144
|
]
|
|
145
145
|
}
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js
CHANGED
|
@@ -3,7 +3,7 @@ function applyDeprecatedVariableMessage(schema) {
|
|
|
3
3
|
schema.pattern = schema.pattern || '^(?!.*\\$\\{(env|config|command)\\.)';
|
|
4
4
|
schema.patternErrorMessage = schema.patternErrorMessage ||
|
|
5
5
|
( localize(
|
|
6
|
-
|
|
6
|
+
10638,
|
|
7
7
|
"'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead."
|
|
8
8
|
));
|
|
9
9
|
}
|
|
@@ -14,7 +14,7 @@ const editorAssociationsConfigurationNode = {
|
|
|
14
14
|
'workbench.editorAssociations': {
|
|
15
15
|
type: 'object',
|
|
16
16
|
markdownDescription: ( localize(
|
|
17
|
-
|
|
17
|
+
5647,
|
|
18
18
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors (for example `\"*.hex\": \"hexEditor.hexedit\"`). These have precedence over the default behavior."
|
|
19
19
|
)),
|
|
20
20
|
additionalProperties: {
|
|
@@ -4,7 +4,7 @@ const getDefaultIconPath = () => ( (( (FileAccess.asBrowserUri('vs/workbench/ser
|
|
|
4
4
|
const extensionsConfigurationNodeBase = {
|
|
5
5
|
id: 'extensions',
|
|
6
6
|
order: 30,
|
|
7
|
-
title: ( localize(
|
|
7
|
+
title: ( localize(7564, "Extensions")),
|
|
8
8
|
type: 'object'
|
|
9
9
|
};
|
|
10
10
|
export { extensionsConfigurationNodeBase, getDefaultIconPath };
|
package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js
CHANGED
|
@@ -29,26 +29,26 @@ let FilesConfigurationService = class FilesConfigurationService extends Disposab
|
|
|
29
29
|
static { this.DEFAULT_AUTO_SAVE_DELAY = 1000; }
|
|
30
30
|
static { this.READONLY_MESSAGES = {
|
|
31
31
|
providerReadonly: { value: ( localize(
|
|
32
|
-
|
|
32
|
+
746,
|
|
33
33
|
"Editor is read-only because the file system of the file is read-only."
|
|
34
34
|
)), isTrusted: true },
|
|
35
35
|
sessionReadonly: { value: ( localize(
|
|
36
|
-
|
|
36
|
+
747,
|
|
37
37
|
"Editor is read-only because the file was set read-only in this session. [Click here](command:{0}) to set writeable.",
|
|
38
38
|
'workbench.action.files.setActiveEditorWriteableInSession'
|
|
39
39
|
)), isTrusted: true },
|
|
40
40
|
configuredReadonly: { value: ( localize(
|
|
41
|
-
|
|
41
|
+
748,
|
|
42
42
|
"Editor is read-only because the file was set read-only via settings. [Click here](command:{0}) to configure or [toggle for this session](command:{1}).",
|
|
43
43
|
`workbench.action.openSettings?${encodeURIComponent('["files.readonly"]')}`,
|
|
44
44
|
'workbench.action.files.toggleActiveEditorReadonlyInSession'
|
|
45
45
|
)), isTrusted: true },
|
|
46
46
|
fileLocked: { value: ( localize(
|
|
47
|
-
|
|
47
|
+
749,
|
|
48
48
|
"Editor is read-only because of file permissions. [Click here](command:{0}) to set writeable anyway.",
|
|
49
49
|
'workbench.action.files.setActiveEditorWriteableInSession'
|
|
50
50
|
)), isTrusted: true },
|
|
51
|
-
fileReadonly: { value: ( localize(
|
|
51
|
+
fileReadonly: { value: ( localize(750, "Editor is read-only because the file is read-only.")), isTrusted: true }
|
|
52
52
|
}; }
|
|
53
53
|
constructor(contextKeyService, configurationService, contextService, environmentService, uriIdentityService, fileService, markerService, textResourceConfigurationService) {
|
|
54
54
|
super();
|
|
@@ -20,25 +20,25 @@ import { isString } from '../../../../base/common/types.js';
|
|
|
20
20
|
const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
21
21
|
extensionPoint: 'languages',
|
|
22
22
|
jsonSchema: {
|
|
23
|
-
description: ( localize(
|
|
23
|
+
description: ( localize(2483, 'Contributes language declarations.')),
|
|
24
24
|
type: 'array',
|
|
25
25
|
items: {
|
|
26
26
|
type: 'object',
|
|
27
27
|
defaultSnippets: [{ body: { id: '${1:languageId}', aliases: ['${2:label}'], extensions: ['${3:extension}'], configuration: './language-configuration.json' } }],
|
|
28
28
|
properties: {
|
|
29
29
|
id: {
|
|
30
|
-
description: ( localize(
|
|
30
|
+
description: ( localize(2484, 'ID of the language.')),
|
|
31
31
|
type: 'string'
|
|
32
32
|
},
|
|
33
33
|
aliases: {
|
|
34
|
-
description: ( localize(
|
|
34
|
+
description: ( localize(2485, 'Name aliases for the language.')),
|
|
35
35
|
type: 'array',
|
|
36
36
|
items: {
|
|
37
37
|
type: 'string'
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
extensions: {
|
|
41
|
-
description: ( localize(
|
|
41
|
+
description: ( localize(2486, 'File extensions associated to the language.')),
|
|
42
42
|
default: ['.foo'],
|
|
43
43
|
type: 'array',
|
|
44
44
|
items: {
|
|
@@ -46,21 +46,21 @@ const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
filenames: {
|
|
49
|
-
description: ( localize(
|
|
49
|
+
description: ( localize(2487, 'File names associated to the language.')),
|
|
50
50
|
type: 'array',
|
|
51
51
|
items: {
|
|
52
52
|
type: 'string'
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
filenamePatterns: {
|
|
56
|
-
description: ( localize(
|
|
56
|
+
description: ( localize(2488, 'File name glob patterns associated to the language.')),
|
|
57
57
|
type: 'array',
|
|
58
58
|
items: {
|
|
59
59
|
type: 'string'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
mimetypes: {
|
|
63
|
-
description: ( localize(
|
|
63
|
+
description: ( localize(2489, 'Mime types associated to the language.')),
|
|
64
64
|
type: 'array',
|
|
65
65
|
items: {
|
|
66
66
|
type: 'string'
|
|
@@ -68,14 +68,14 @@ const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
68
68
|
},
|
|
69
69
|
firstLine: {
|
|
70
70
|
description: ( localize(
|
|
71
|
-
|
|
71
|
+
2490,
|
|
72
72
|
'A regular expression matching the first line of a file of the language.'
|
|
73
73
|
)),
|
|
74
74
|
type: 'string'
|
|
75
75
|
},
|
|
76
76
|
configuration: {
|
|
77
77
|
description: ( localize(
|
|
78
|
-
|
|
78
|
+
2491,
|
|
79
79
|
'A relative path to a file containing configuration options for the language.'
|
|
80
80
|
)),
|
|
81
81
|
type: 'string',
|
|
@@ -84,16 +84,16 @@ const languagesExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
84
84
|
icon: {
|
|
85
85
|
type: 'object',
|
|
86
86
|
description: ( localize(
|
|
87
|
-
|
|
87
|
+
2492,
|
|
88
88
|
'A icon to use as file icon, if no icon theme provides one for the language.'
|
|
89
89
|
)),
|
|
90
90
|
properties: {
|
|
91
91
|
light: {
|
|
92
|
-
description: ( localize(
|
|
92
|
+
description: ( localize(2493, 'Icon path when a light theme is used')),
|
|
93
93
|
type: 'string'
|
|
94
94
|
},
|
|
95
95
|
dark: {
|
|
96
|
-
description: ( localize(
|
|
96
|
+
description: ( localize(2494, 'Icon path when a dark theme is used')),
|
|
97
97
|
type: 'string'
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -167,11 +167,11 @@ class LanguageTableRenderer extends Disposable {
|
|
|
167
167
|
return { data: { headers: [], rows: [] }, dispose: () => { } };
|
|
168
168
|
}
|
|
169
169
|
const headers = [
|
|
170
|
-
( localize(
|
|
171
|
-
( localize(
|
|
172
|
-
( localize(
|
|
173
|
-
( localize(
|
|
174
|
-
( localize(
|
|
170
|
+
( localize(2495, "ID")),
|
|
171
|
+
( localize(2496, "Name")),
|
|
172
|
+
( localize(2497, "File Extensions")),
|
|
173
|
+
( localize(2498, "Grammar")),
|
|
174
|
+
( localize(2499, "Snippets"))
|
|
175
175
|
];
|
|
176
176
|
const rows = ( (languages.sort((a, b) => a.id.localeCompare(b.id))
|
|
177
177
|
.map(l => {
|
|
@@ -193,7 +193,7 @@ class LanguageTableRenderer extends Disposable {
|
|
|
193
193
|
}
|
|
194
194
|
( (Registry.as(Extensions.ExtensionFeaturesRegistry))).registerExtensionFeature({
|
|
195
195
|
id: 'languages',
|
|
196
|
-
label: ( localize(
|
|
196
|
+
label: ( localize(2500, "Programming Languages")),
|
|
197
197
|
access: {
|
|
198
198
|
canToggle: false
|
|
199
199
|
},
|
|
@@ -211,7 +211,7 @@ let WorkbenchLanguageService = class WorkbenchLanguageService extends LanguageSe
|
|
|
211
211
|
const extension = extensions[i];
|
|
212
212
|
if (!Array.isArray(extension.value)) {
|
|
213
213
|
extension.collector.error(( localize(
|
|
214
|
-
|
|
214
|
+
2501,
|
|
215
215
|
"Invalid `contributes.{0}`. Expected an array.",
|
|
216
216
|
languagesExtPoint.name
|
|
217
217
|
)));
|
|
@@ -291,16 +291,16 @@ function isUndefinedOrStringArray(value) {
|
|
|
291
291
|
}
|
|
292
292
|
function isValidLanguageExtensionPoint(value, collector) {
|
|
293
293
|
if (!value) {
|
|
294
|
-
collector?.error(( localize(
|
|
294
|
+
collector?.error(( localize(2502, "Empty value for `contributes.{0}`", languagesExtPoint.name)));
|
|
295
295
|
return false;
|
|
296
296
|
}
|
|
297
297
|
if (typeof value.id !== 'string') {
|
|
298
|
-
collector?.error(( localize(
|
|
298
|
+
collector?.error(( localize(2503, "property `{0}` is mandatory and must be of type `string`", 'id')));
|
|
299
299
|
return false;
|
|
300
300
|
}
|
|
301
301
|
if (!isUndefinedOrStringArray(value.extensions)) {
|
|
302
302
|
collector?.error(( localize(
|
|
303
|
-
|
|
303
|
+
2504,
|
|
304
304
|
"property `{0}` can be omitted and must be of type `string[]`",
|
|
305
305
|
'extensions'
|
|
306
306
|
)));
|
|
@@ -308,7 +308,7 @@ function isValidLanguageExtensionPoint(value, collector) {
|
|
|
308
308
|
}
|
|
309
309
|
if (!isUndefinedOrStringArray(value.filenames)) {
|
|
310
310
|
collector?.error(( localize(
|
|
311
|
-
|
|
311
|
+
2505,
|
|
312
312
|
"property `{0}` can be omitted and must be of type `string[]`",
|
|
313
313
|
'filenames'
|
|
314
314
|
)));
|
|
@@ -316,7 +316,7 @@ function isValidLanguageExtensionPoint(value, collector) {
|
|
|
316
316
|
}
|
|
317
317
|
if (typeof value.firstLine !== 'undefined' && typeof value.firstLine !== 'string') {
|
|
318
318
|
collector?.error(( localize(
|
|
319
|
-
|
|
319
|
+
2506,
|
|
320
320
|
"property `{0}` can be omitted and must be of type `string`",
|
|
321
321
|
'firstLine'
|
|
322
322
|
)));
|
|
@@ -324,7 +324,7 @@ function isValidLanguageExtensionPoint(value, collector) {
|
|
|
324
324
|
}
|
|
325
325
|
if (typeof value.configuration !== 'undefined' && typeof value.configuration !== 'string') {
|
|
326
326
|
collector?.error(( localize(
|
|
327
|
-
|
|
327
|
+
2507,
|
|
328
328
|
"property `{0}` can be omitted and must be of type `string`",
|
|
329
329
|
'configuration'
|
|
330
330
|
)));
|
|
@@ -332,7 +332,7 @@ function isValidLanguageExtensionPoint(value, collector) {
|
|
|
332
332
|
}
|
|
333
333
|
if (!isUndefinedOrStringArray(value.aliases)) {
|
|
334
334
|
collector?.error(( localize(
|
|
335
|
-
|
|
335
|
+
2508,
|
|
336
336
|
"property `{0}` can be omitted and must be of type `string[]`",
|
|
337
337
|
'aliases'
|
|
338
338
|
)));
|
|
@@ -340,7 +340,7 @@ function isValidLanguageExtensionPoint(value, collector) {
|
|
|
340
340
|
}
|
|
341
341
|
if (!isUndefinedOrStringArray(value.mimetypes)) {
|
|
342
342
|
collector?.error(( localize(
|
|
343
|
-
|
|
343
|
+
2509,
|
|
344
344
|
"property `{0}` can be omitted and must be of type `string[]`",
|
|
345
345
|
'mimetypes'
|
|
346
346
|
)));
|
|
@@ -349,7 +349,7 @@ function isValidLanguageExtensionPoint(value, collector) {
|
|
|
349
349
|
if (typeof value.icon !== 'undefined') {
|
|
350
350
|
if (typeof value.icon !== 'object' || typeof value.icon.light !== 'string' || typeof value.icon.dark !== 'string') {
|
|
351
351
|
collector?.error(( localize(
|
|
352
|
-
|
|
352
|
+
2510,
|
|
353
353
|
"property `{0}` can be omitted and must be of type `object` with properties `{1}` and `{2}` of type `string`",
|
|
354
354
|
'icon',
|
|
355
355
|
'light',
|
|
@@ -7,7 +7,7 @@ import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js'
|
|
|
7
7
|
import { EditorInput } from '../../../common/editor/editorInput.js';
|
|
8
8
|
import { KeybindingsEditorModel } from './keybindingsEditorModel.js';
|
|
9
9
|
var KeybindingsEditorInput_1;
|
|
10
|
-
const KeybindingsEditorIcon = registerIcon('keybindings-editor-label-icon', Codicon.keyboard, ( localize(
|
|
10
|
+
const KeybindingsEditorIcon = registerIcon('keybindings-editor-label-icon', Codicon.keyboard, ( localize(6210, 'Icon of the keybindings editor label.')));
|
|
11
11
|
let KeybindingsEditorInput = class KeybindingsEditorInput extends EditorInput {
|
|
12
12
|
static { KeybindingsEditorInput_1 = this; }
|
|
13
13
|
static { this.ID = 'workbench.input.keybindings'; }
|
|
@@ -21,7 +21,7 @@ let KeybindingsEditorInput = class KeybindingsEditorInput extends EditorInput {
|
|
|
21
21
|
return KeybindingsEditorInput_1.ID;
|
|
22
22
|
}
|
|
23
23
|
getName() {
|
|
24
|
-
return ( localize(
|
|
24
|
+
return ( localize(6211, "Keyboard Shortcuts"));
|
|
25
25
|
}
|
|
26
26
|
getIcon() {
|
|
27
27
|
return KeybindingsEditorIcon;
|
|
@@ -7,7 +7,7 @@ import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js'
|
|
|
7
7
|
import { EditorInput } from '../../../common/editor/editorInput.js';
|
|
8
8
|
import { IPreferencesService } from './preferences.service.js';
|
|
9
9
|
var SettingsEditor2Input_1;
|
|
10
|
-
const SettingsEditorIcon = registerIcon('settings-editor-label-icon', Codicon.settings, ( localize(
|
|
10
|
+
const SettingsEditorIcon = registerIcon('settings-editor-label-icon', Codicon.settings, ( localize(6212, 'Icon of the settings editor label.')));
|
|
11
11
|
let SettingsEditor2Input = class SettingsEditor2Input extends EditorInput {
|
|
12
12
|
static { SettingsEditor2Input_1 = this; }
|
|
13
13
|
static { this.ID = 'workbench.input.settings2'; }
|
|
@@ -26,7 +26,7 @@ let SettingsEditor2Input = class SettingsEditor2Input extends EditorInput {
|
|
|
26
26
|
return SettingsEditor2Input_1.ID;
|
|
27
27
|
}
|
|
28
28
|
getName() {
|
|
29
|
-
return ( localize(
|
|
29
|
+
return ( localize(6213, "Settings"));
|
|
30
30
|
}
|
|
31
31
|
getIcon() {
|
|
32
32
|
return SettingsEditorIcon;
|
|
@@ -5,7 +5,7 @@ const grammarsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
5
5
|
extensionPoint: 'grammars',
|
|
6
6
|
deps: [languagesExtPoint],
|
|
7
7
|
jsonSchema: {
|
|
8
|
-
description: ( localize(
|
|
8
|
+
description: ( localize(7112, 'Contributes textmate tokenizers.')),
|
|
9
9
|
type: 'array',
|
|
10
10
|
defaultSnippets: [{ body: [{ language: '${1:id}', scopeName: 'source.${2:id}', path: './syntaxes/${3:id}.tmLanguage.' }] }],
|
|
11
11
|
items: {
|
|
@@ -13,43 +13,43 @@ const grammarsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
13
13
|
defaultSnippets: [{ body: { language: '${1:id}', scopeName: 'source.${2:id}', path: './syntaxes/${3:id}.tmLanguage.' } }],
|
|
14
14
|
properties: {
|
|
15
15
|
language: {
|
|
16
|
-
description: ( localize(
|
|
16
|
+
description: ( localize(7113, 'Language identifier for which this syntax is contributed to.')),
|
|
17
17
|
type: 'string'
|
|
18
18
|
},
|
|
19
19
|
scopeName: {
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(7114, 'Textmate scope name used by the tmLanguage file.')),
|
|
21
21
|
type: 'string'
|
|
22
22
|
},
|
|
23
23
|
path: {
|
|
24
24
|
description: ( localize(
|
|
25
|
-
|
|
25
|
+
7115,
|
|
26
26
|
'Path of the tmLanguage file. The path is relative to the extension folder and typically starts with \'./syntaxes/\'.'
|
|
27
27
|
)),
|
|
28
28
|
type: 'string'
|
|
29
29
|
},
|
|
30
30
|
embeddedLanguages: {
|
|
31
31
|
description: ( localize(
|
|
32
|
-
|
|
32
|
+
7116,
|
|
33
33
|
'A map of scope name to language id if this grammar contains embedded languages.'
|
|
34
34
|
)),
|
|
35
35
|
type: 'object'
|
|
36
36
|
},
|
|
37
37
|
tokenTypes: {
|
|
38
|
-
description: ( localize(
|
|
38
|
+
description: ( localize(7117, 'A map of scope name to token types.')),
|
|
39
39
|
type: 'object',
|
|
40
40
|
additionalProperties: {
|
|
41
41
|
enum: ['string', 'comment', 'other']
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
injectTo: {
|
|
45
|
-
description: ( localize(
|
|
45
|
+
description: ( localize(7118, 'List of language scope names to which this grammar is injected to.')),
|
|
46
46
|
type: 'array',
|
|
47
47
|
items: {
|
|
48
48
|
type: 'string'
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
balancedBracketScopes: {
|
|
52
|
-
description: ( localize(
|
|
52
|
+
description: ( localize(7119, 'Defines which scope names contain balanced brackets.')),
|
|
53
53
|
type: 'array',
|
|
54
54
|
items: {
|
|
55
55
|
type: 'string'
|
|
@@ -57,7 +57,7 @@ const grammarsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
57
57
|
default: ['*'],
|
|
58
58
|
},
|
|
59
59
|
unbalancedBracketScopes: {
|
|
60
|
-
description: ( localize(
|
|
60
|
+
description: ( localize(7120, 'Defines which scope names do not contain balanced brackets.')),
|
|
61
61
|
type: 'array',
|
|
62
62
|
items: {
|
|
63
63
|
type: 'string'
|
|
@@ -31,7 +31,7 @@ import { IProgressService } from '../../../../platform/progress/common/progress.
|
|
|
31
31
|
var TextFileEditorModel_1;
|
|
32
32
|
let TextFileEditorModel = class TextFileEditorModel extends BaseTextEditorModel {
|
|
33
33
|
static { TextFileEditorModel_1 = this; }
|
|
34
|
-
static { this.TEXTFILE_SAVE_ENCODING_SOURCE = SaveSourceRegistry.registerSource('textFileEncoding.source', ( localize(
|
|
34
|
+
static { this.TEXTFILE_SAVE_ENCODING_SOURCE = SaveSourceRegistry.registerSource('textFileEncoding.source', ( localize(5736, "File Encoding Changed"))); }
|
|
35
35
|
static { this.UNDO_REDO_SAVE_PARTICIPANTS_AUTO_SAVE_THROTTLE_THRESHOLD = 500; }
|
|
36
36
|
constructor(resource, preferredEncoding,
|
|
37
37
|
preferredLanguageId, languageService, modelService, fileService, textFileService, workingCopyBackupService, logService, workingCopyService, filesConfigurationService, labelService, languageDetectionService, accessibilityService, pathService, extensionService, progressService) {
|
|
@@ -500,7 +500,7 @@ let TextFileEditorModel = class TextFileEditorModel extends BaseTextEditorModel
|
|
|
500
500
|
}
|
|
501
501
|
const saveCancellation = ( (new CancellationTokenSource()));
|
|
502
502
|
return this.progressService.withProgress({
|
|
503
|
-
title: ( localize(
|
|
503
|
+
title: ( localize(5737, "Saving '{0}'", this.name)),
|
|
504
504
|
location: 10 ,
|
|
505
505
|
cancellable: true,
|
|
506
506
|
delay: this.isDirty() ? 3000 : 5000
|
|
@@ -550,7 +550,7 @@ let TextFileEditorModel = class TextFileEditorModel extends BaseTextEditorModel
|
|
|
550
550
|
}
|
|
551
551
|
versionId = this.versionId;
|
|
552
552
|
this.inErrorMode = false;
|
|
553
|
-
progress.report({ message: ( localize(
|
|
553
|
+
progress.report({ message: ( localize(5738, "Writing into file...")) });
|
|
554
554
|
this.trace(`doSave(${versionId}) - before write()`);
|
|
555
555
|
const lastResolvedFileStat = assertIsDefined(this.lastResolvedFileStat);
|
|
556
556
|
const resolvedTextFileEditorModel = this;
|