@codingame/monaco-vscode-api 10.0.0 → 10.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- 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/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- 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/dropIntoEditorContribution.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/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- 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/gpu/browser/gpuActions.js +4 -4
- 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/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- 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/multicursor/browser/multicursor.js +22 -22
- 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/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- 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/suggest/browser/suggestController.js +10 -10
- 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/wordHighlighter.js +45 -26
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- 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/dialogs/common/dialogs.js +9 -9
- 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/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- 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/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- 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/platform/userDataSync/common/userDataSync.js +5 -5
- 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/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.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 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- 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/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- 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/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- 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/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/chatImagePaste.js +1 -1
- 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/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/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +13 -4
- 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/commentsController.js +5 -5
- 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/debugExpressionRenderer.js +1 -1
- 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/abstractDebugAdapter.js +1 -1
- 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/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/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -9
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- 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/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/find/notebookFindWidget.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/diff/diffComponents.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- 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/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/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- 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/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -0
- 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/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- 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/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/api.js
CHANGED
package/missing-services.js
CHANGED
|
@@ -601,8 +601,8 @@ registerSingleton(IPathService, class PathService {
|
|
|
601
601
|
registerSingleton(IProductService, class ProductService {
|
|
602
602
|
constructor() {
|
|
603
603
|
this._serviceBrand = undefined;
|
|
604
|
-
this.version = "1.94.
|
|
605
|
-
this.commit = "
|
|
604
|
+
this.version = "1.94.2";
|
|
605
|
+
this.commit = "384ff7382de624fb94dbaf6da11977bba1ecd427";
|
|
606
606
|
this.quality = 'oss';
|
|
607
607
|
this.nameShort = 'Code - OSS Dev';
|
|
608
608
|
this.nameLong = 'Code - OSS Dev';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "VSCode public API plugged on the monaco editor",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": {
|
|
@@ -107,12 +107,12 @@
|
|
|
107
107
|
"@xterm/xterm": "^5.6.0-beta.64",
|
|
108
108
|
"jschardet": "3.1.3",
|
|
109
109
|
"marked": "~14.0.0",
|
|
110
|
-
"@codingame/monaco-vscode-extensions-service-override": "10.0.
|
|
111
|
-
"@codingame/monaco-vscode-files-service-override": "10.0.
|
|
112
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "10.0.
|
|
113
|
-
"@codingame/monaco-vscode-environment-service-override": "10.0.
|
|
114
|
-
"@codingame/monaco-vscode-layout-service-override": "10.0.
|
|
115
|
-
"@codingame/monaco-vscode-host-service-override": "10.0.
|
|
116
|
-
"@codingame/monaco-vscode-base-service-override": "10.0.
|
|
110
|
+
"@codingame/monaco-vscode-extensions-service-override": "10.0.2",
|
|
111
|
+
"@codingame/monaco-vscode-files-service-override": "10.0.2",
|
|
112
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "10.0.2",
|
|
113
|
+
"@codingame/monaco-vscode-environment-service-override": "10.0.2",
|
|
114
|
+
"@codingame/monaco-vscode-layout-service-override": "10.0.2",
|
|
115
|
+
"@codingame/monaco-vscode-host-service-override": "10.0.2",
|
|
116
|
+
"@codingame/monaco-vscode-base-service-override": "10.0.2"
|
|
117
117
|
}
|
|
118
118
|
}
|
package/services.js
CHANGED
|
@@ -185,9 +185,9 @@ async function initialize(overrides, container = document.body, configuration =
|
|
|
185
185
|
initialize$1(container, configuration, env);
|
|
186
186
|
const instantiationService = StandaloneServices.initialize({
|
|
187
187
|
[( IProductService.toString())]: mixin({
|
|
188
|
-
version: "1.94.
|
|
188
|
+
version: "1.94.2",
|
|
189
189
|
quality: 'stable',
|
|
190
|
-
commit: "
|
|
190
|
+
commit: "384ff7382de624fb94dbaf6da11977bba1ecd427",
|
|
191
191
|
nameShort: 'Code - OSS',
|
|
192
192
|
nameLong: 'Code - OSS',
|
|
193
193
|
applicationName: 'code-oss',
|
|
@@ -143,7 +143,7 @@ class ToolBar extends Disposable {
|
|
|
143
143
|
class ToggleMenuAction extends Action {
|
|
144
144
|
static { this.ID = 'toolbar.toggle.more'; }
|
|
145
145
|
constructor(toggleDropdownMenu, title) {
|
|
146
|
-
title = title || ( localize(
|
|
146
|
+
title = title || ( localize(10195, "More Actions..."));
|
|
147
147
|
super(ToggleMenuAction.ID, title, undefined, true);
|
|
148
148
|
this._menuActions = [];
|
|
149
149
|
this.toggleDropdownMenu = toggleDropdownMenu;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { localize } from '../../nls.js';
|
|
2
2
|
function getParseErrorMessage(errorCode) {
|
|
3
3
|
switch (errorCode) {
|
|
4
|
-
case 1 : return ( localize(
|
|
5
|
-
case 2 : return ( localize(
|
|
6
|
-
case 3 : return ( localize(
|
|
7
|
-
case 4 : return ( localize(
|
|
8
|
-
case 5 : return ( localize(
|
|
9
|
-
case 6 : return ( localize(
|
|
10
|
-
case 7 : return ( localize(
|
|
11
|
-
case 8 : return ( localize(
|
|
12
|
-
case 9 : return ( localize(
|
|
4
|
+
case 1 : return ( localize(1600, 'Invalid symbol'));
|
|
5
|
+
case 2 : return ( localize(1601, 'Invalid number format'));
|
|
6
|
+
case 3 : return ( localize(1602, 'Property name expected'));
|
|
7
|
+
case 4 : return ( localize(1603, 'Value expected'));
|
|
8
|
+
case 5 : return ( localize(1604, 'Colon expected'));
|
|
9
|
+
case 6 : return ( localize(1605, 'Comma expected'));
|
|
10
|
+
case 7 : return ( localize(1606, 'Closing brace expected'));
|
|
11
|
+
case 8 : return ( localize(1607, 'Closing bracket expected'));
|
|
12
|
+
case 9 : return ( localize(1608, 'End of file expected'));
|
|
13
13
|
default:
|
|
14
14
|
return '';
|
|
15
15
|
}
|
|
@@ -844,7 +844,7 @@ var CoreNavigationCommands;
|
|
|
844
844
|
type: 'object',
|
|
845
845
|
properties: {
|
|
846
846
|
'sticky': {
|
|
847
|
-
description: ( localize(
|
|
847
|
+
description: ( localize(1316, "Stick to the end even when going to longer lines")),
|
|
848
848
|
type: 'boolean',
|
|
849
849
|
default: false
|
|
850
850
|
}
|
|
@@ -872,7 +872,7 @@ var CoreNavigationCommands;
|
|
|
872
872
|
type: 'object',
|
|
873
873
|
properties: {
|
|
874
874
|
'sticky': {
|
|
875
|
-
description: ( localize(
|
|
875
|
+
description: ( localize(1316, "Stick to the end even when going to longer lines")),
|
|
876
876
|
type: 'boolean',
|
|
877
877
|
default: false
|
|
878
878
|
}
|
|
@@ -1414,7 +1414,7 @@ var CoreNavigationCommands;
|
|
|
1414
1414
|
viewModel.getPrimaryCursorState()
|
|
1415
1415
|
]);
|
|
1416
1416
|
viewModel.revealAllCursors(args.source, true);
|
|
1417
|
-
status(( localize(
|
|
1417
|
+
status(( localize(1317, "Removed secondary cursors")));
|
|
1418
1418
|
}
|
|
1419
1419
|
}));
|
|
1420
1420
|
CoreNavigationCommands.RevealLine = registerEditorCommand(new (class extends CoreEditorCommand {
|
|
@@ -1301,7 +1301,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1301
1301
|
if (e.reachedMaxCursorCount) {
|
|
1302
1302
|
const multiCursorLimit = this.getOption(82 );
|
|
1303
1303
|
const message = ( localize(
|
|
1304
|
-
|
|
1304
|
+
1318,
|
|
1305
1305
|
"The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.",
|
|
1306
1306
|
multiCursorLimit
|
|
1307
1307
|
));
|
|
@@ -1313,7 +1313,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
},
|
|
1315
1315
|
{
|
|
1316
|
-
label: ( localize(
|
|
1316
|
+
label: ( localize(1319, 'Increase Multi Cursor Limit')),
|
|
1317
1317
|
run: () => {
|
|
1318
1318
|
this._commandService.executeCommand('workbench.action.openSettings2', {
|
|
1319
1319
|
query: 'editor.multiCursorLimit'
|
|
@@ -12,7 +12,7 @@ registerAction2(ToggleUseInlineViewWhenSpaceIsLimited);
|
|
|
12
12
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
13
13
|
command: {
|
|
14
14
|
id: ( (new ToggleUseInlineViewWhenSpaceIsLimited())).desc.id,
|
|
15
|
-
title: ( localize(
|
|
15
|
+
title: ( localize(1320, "Use Inline View When Space Is Limited")),
|
|
16
16
|
toggled: ( (ContextKeyExpr.has('config.diffEditor.useInlineViewWhenSpaceIsLimited'))),
|
|
17
17
|
precondition: ( (ContextKeyExpr.has('isInDiffEditor'))),
|
|
18
18
|
},
|
|
@@ -26,7 +26,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
26
26
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
27
27
|
command: {
|
|
28
28
|
id: ( (new ToggleShowMovedCodeBlocks())).desc.id,
|
|
29
|
-
title: ( localize(
|
|
29
|
+
title: ( localize(1321, "Show Moved Code Blocks")),
|
|
30
30
|
icon: Codicon.move,
|
|
31
31
|
toggled: ContextKeyEqualsExpr.create('config.diffEditor.experimental.showMoves', true),
|
|
32
32
|
precondition: ( (ContextKeyExpr.has('isInDiffEditor'))),
|
|
@@ -43,7 +43,7 @@ for (const ctx of [
|
|
|
43
43
|
MenuRegistry.appendMenuItem(MenuId.DiffEditorHunkToolbar, {
|
|
44
44
|
command: {
|
|
45
45
|
id: ( (new RevertHunkOrSelection())).desc.id,
|
|
46
|
-
title: ( localize(
|
|
46
|
+
title: ( localize(1322, "Revert Block")),
|
|
47
47
|
icon: ctx.icon,
|
|
48
48
|
},
|
|
49
49
|
when: ( (ContextKeyExpr.and(EditorContextKeys.diffEditorModifiedWritable, ctx.key))),
|
|
@@ -53,7 +53,7 @@ for (const ctx of [
|
|
|
53
53
|
MenuRegistry.appendMenuItem(MenuId.DiffEditorSelectionToolbar, {
|
|
54
54
|
command: {
|
|
55
55
|
id: ( (new RevertHunkOrSelection())).desc.id,
|
|
56
|
-
title: ( localize(
|
|
56
|
+
title: ( localize(1323, "Revert Selection")),
|
|
57
57
|
icon: ctx.icon,
|
|
58
58
|
},
|
|
59
59
|
when: ( (ContextKeyExpr.and(EditorContextKeys.diffEditorModifiedWritable, ctx.key))),
|
|
@@ -68,7 +68,7 @@ registerAction2(ShowAllUnchangedRegions);
|
|
|
68
68
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
69
69
|
command: {
|
|
70
70
|
id: AccessibleDiffViewerNext.id,
|
|
71
|
-
title: ( localize(
|
|
71
|
+
title: ( localize(1324, "Open Accessible Diff Viewer")),
|
|
72
72
|
precondition: ( (ContextKeyExpr.has('isInDiffEditor'))),
|
|
73
73
|
},
|
|
74
74
|
order: 10,
|
|
@@ -12,174 +12,174 @@ import '../../../platform/theme/common/colors/miscColors.js';
|
|
|
12
12
|
import '../../../platform/theme/common/colors/quickpickColors.js';
|
|
13
13
|
import '../../../platform/theme/common/colors/searchColors.js';
|
|
14
14
|
import { registerThemingParticipant } from '../../../platform/theme/common/themeService.js';
|
|
15
|
-
const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, ( localize(
|
|
15
|
+
const editorLineHighlight = registerColor('editor.lineHighlightBackground', null, ( localize(4900, 'Background color for the highlight of line at the cursor position.')));
|
|
16
16
|
const editorLineHighlightBorder = registerColor('editor.lineHighlightBorder', { dark: '#282828', light: '#eeeeee', hcDark: '#f38518', hcLight: contrastBorder }, ( localize(
|
|
17
|
-
|
|
17
|
+
4901,
|
|
18
18
|
'Background color for the border around the line at the cursor position.'
|
|
19
19
|
)));
|
|
20
20
|
const editorRangeHighlight = registerColor('editor.rangeHighlightBackground', { dark: '#ffffff0b', light: '#fdff0033', hcDark: null, hcLight: null }, ( localize(
|
|
21
|
-
|
|
21
|
+
4902,
|
|
22
22
|
'Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations.'
|
|
23
23
|
)), true);
|
|
24
|
-
registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
24
|
+
registerColor('editor.rangeHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(4903, 'Background color of the border around highlighted ranges.')));
|
|
25
25
|
registerColor('editor.symbolHighlightBackground', { dark: editorFindMatchHighlight, light: editorFindMatchHighlight, hcDark: null, hcLight: null }, ( localize(
|
|
26
|
-
|
|
26
|
+
4904,
|
|
27
27
|
'Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations.'
|
|
28
28
|
)), true);
|
|
29
|
-
registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
30
|
-
const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, ( localize(
|
|
29
|
+
registerColor('editor.symbolHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(4905, 'Background color of the border around highlighted symbols.')));
|
|
30
|
+
const editorCursorForeground = registerColor('editorCursor.foreground', { dark: '#AEAFAD', light: Color.black, hcDark: Color.white, hcLight: '#0F4A85' }, ( localize(4906, 'Color of the editor cursor.')));
|
|
31
31
|
const editorCursorBackground = registerColor('editorCursor.background', null, ( localize(
|
|
32
|
-
|
|
32
|
+
4907,
|
|
33
33
|
'The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.'
|
|
34
34
|
)));
|
|
35
35
|
const editorMultiCursorPrimaryForeground = registerColor('editorMultiCursor.primary.foreground', editorCursorForeground, ( localize(
|
|
36
|
-
|
|
36
|
+
4908,
|
|
37
37
|
'Color of the primary editor cursor when multiple cursors are present.'
|
|
38
38
|
)));
|
|
39
39
|
const editorMultiCursorPrimaryBackground = registerColor('editorMultiCursor.primary.background', editorCursorBackground, ( localize(
|
|
40
|
-
|
|
40
|
+
4909,
|
|
41
41
|
'The background color of the primary editor cursor when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
42
42
|
)));
|
|
43
43
|
const editorMultiCursorSecondaryForeground = registerColor('editorMultiCursor.secondary.foreground', editorCursorForeground, ( localize(
|
|
44
|
-
|
|
44
|
+
4910,
|
|
45
45
|
'Color of secondary editor cursors when multiple cursors are present.'
|
|
46
46
|
)));
|
|
47
47
|
const editorMultiCursorSecondaryBackground = registerColor('editorMultiCursor.secondary.background', editorCursorBackground, ( localize(
|
|
48
|
-
|
|
48
|
+
4911,
|
|
49
49
|
'The background color of secondary editor cursors when multiple cursors are present. Allows customizing the color of a character overlapped by a block cursor.'
|
|
50
50
|
)));
|
|
51
|
-
const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, ( localize(
|
|
52
|
-
const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, ( localize(
|
|
53
|
-
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, ( localize(
|
|
54
|
-
|
|
51
|
+
const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hcDark: '#e3e4e229', hcLight: '#CCCCCC' }, ( localize(4912, 'Color of whitespace characters in the editor.')));
|
|
52
|
+
const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#858585', light: '#237893', hcDark: Color.white, hcLight: '#292929' }, ( localize(4913, 'Color of editor line numbers.')));
|
|
53
|
+
const deprecatedEditorIndentGuides = registerColor('editorIndentGuide.background', editorWhitespaces, ( localize(4914, 'Color of the editor indentation guides.')), false, ( localize(
|
|
54
|
+
4915,
|
|
55
55
|
'\'editorIndentGuide.background\' is deprecated. Use \'editorIndentGuide.background1\' instead.'
|
|
56
56
|
)));
|
|
57
|
-
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, ( localize(
|
|
58
|
-
|
|
57
|
+
const deprecatedEditorActiveIndentGuides = registerColor('editorIndentGuide.activeBackground', editorWhitespaces, ( localize(4916, 'Color of the active editor indentation guides.')), false, ( localize(
|
|
58
|
+
4917,
|
|
59
59
|
'\'editorIndentGuide.activeBackground\' is deprecated. Use \'editorIndentGuide.activeBackground1\' instead.'
|
|
60
60
|
)));
|
|
61
|
-
const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, ( localize(
|
|
62
|
-
const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', ( localize(
|
|
63
|
-
const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', ( localize(
|
|
64
|
-
const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', ( localize(
|
|
65
|
-
const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', ( localize(
|
|
66
|
-
const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', ( localize(
|
|
67
|
-
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, ( localize(
|
|
68
|
-
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', ( localize(
|
|
69
|
-
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', ( localize(
|
|
70
|
-
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', ( localize(
|
|
71
|
-
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', ( localize(
|
|
72
|
-
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', ( localize(
|
|
73
|
-
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
74
|
-
|
|
61
|
+
const editorIndentGuide1 = registerColor('editorIndentGuide.background1', deprecatedEditorIndentGuides, ( localize(4918, 'Color of the editor indentation guides (1).')));
|
|
62
|
+
const editorIndentGuide2 = registerColor('editorIndentGuide.background2', '#00000000', ( localize(4919, 'Color of the editor indentation guides (2).')));
|
|
63
|
+
const editorIndentGuide3 = registerColor('editorIndentGuide.background3', '#00000000', ( localize(4920, 'Color of the editor indentation guides (3).')));
|
|
64
|
+
const editorIndentGuide4 = registerColor('editorIndentGuide.background4', '#00000000', ( localize(4921, 'Color of the editor indentation guides (4).')));
|
|
65
|
+
const editorIndentGuide5 = registerColor('editorIndentGuide.background5', '#00000000', ( localize(4922, 'Color of the editor indentation guides (5).')));
|
|
66
|
+
const editorIndentGuide6 = registerColor('editorIndentGuide.background6', '#00000000', ( localize(4923, 'Color of the editor indentation guides (6).')));
|
|
67
|
+
const editorActiveIndentGuide1 = registerColor('editorIndentGuide.activeBackground1', deprecatedEditorActiveIndentGuides, ( localize(4924, 'Color of the active editor indentation guides (1).')));
|
|
68
|
+
const editorActiveIndentGuide2 = registerColor('editorIndentGuide.activeBackground2', '#00000000', ( localize(4925, 'Color of the active editor indentation guides (2).')));
|
|
69
|
+
const editorActiveIndentGuide3 = registerColor('editorIndentGuide.activeBackground3', '#00000000', ( localize(4926, 'Color of the active editor indentation guides (3).')));
|
|
70
|
+
const editorActiveIndentGuide4 = registerColor('editorIndentGuide.activeBackground4', '#00000000', ( localize(4927, 'Color of the active editor indentation guides (4).')));
|
|
71
|
+
const editorActiveIndentGuide5 = registerColor('editorIndentGuide.activeBackground5', '#00000000', ( localize(4928, 'Color of the active editor indentation guides (5).')));
|
|
72
|
+
const editorActiveIndentGuide6 = registerColor('editorIndentGuide.activeBackground6', '#00000000', ( localize(4929, 'Color of the active editor indentation guides (6).')));
|
|
73
|
+
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: '#c6c6c6', light: '#0B216F', hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(4930, 'Color of editor active line number')), false, ( localize(
|
|
74
|
+
4931,
|
|
75
75
|
'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'
|
|
76
76
|
)));
|
|
77
|
-
registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, ( localize(
|
|
77
|
+
registerColor('editorLineNumber.activeForeground', deprecatedEditorActiveLineNumber, ( localize(4930, 'Color of editor active line number')));
|
|
78
78
|
const editorDimmedLineNumber = registerColor('editorLineNumber.dimmedForeground', null, ( localize(
|
|
79
|
-
|
|
79
|
+
4932,
|
|
80
80
|
'Color of the final editor line when editor.renderFinalNewline is set to dimmed.'
|
|
81
81
|
)));
|
|
82
|
-
const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, ( localize(
|
|
83
|
-
registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, ( localize(
|
|
84
|
-
registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, ( localize(
|
|
85
|
-
registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
86
|
-
const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, ( localize(
|
|
87
|
-
const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, ( localize(
|
|
82
|
+
const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hcDark: Color.white, hcLight: '#292929' }, ( localize(4933, 'Color of the editor rulers.')));
|
|
83
|
+
registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#919191', hcDark: '#999999', hcLight: '#292929' }, ( localize(4934, 'Foreground color of editor CodeLens')));
|
|
84
|
+
registerColor('editorBracketMatch.background', { dark: '#0064001a', light: '#0064001a', hcDark: '#0064001a', hcLight: '#0000' }, ( localize(4935, 'Background color behind matching brackets')));
|
|
85
|
+
registerColor('editorBracketMatch.border', { dark: '#888', light: '#B9B9B9', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(4936, 'Color for matching brackets boxes')));
|
|
86
|
+
const editorOverviewRulerBorder = registerColor('editorOverviewRuler.border', { dark: '#7f7f7f4d', light: '#7f7f7f4d', hcDark: '#7f7f7f4d', hcLight: '#666666' }, ( localize(4937, 'Color of the overview ruler border.')));
|
|
87
|
+
const editorOverviewRulerBackground = registerColor('editorOverviewRuler.background', null, ( localize(4938, 'Background color of the editor overview ruler.')));
|
|
88
88
|
registerColor('editorGutter.background', editorBackground, ( localize(
|
|
89
|
-
|
|
89
|
+
4939,
|
|
90
90
|
'Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.'
|
|
91
91
|
)));
|
|
92
|
-
registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: contrastBorder }, ( localize(
|
|
92
|
+
registerColor('editorUnnecessaryCode.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: contrastBorder }, ( localize(4940, 'Border color of unnecessary (unused) source code in the editor.')));
|
|
93
93
|
const editorUnnecessaryCodeOpacity = registerColor('editorUnnecessaryCode.opacity', { dark: ( (Color.fromHex('#000a'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localize(
|
|
94
|
-
|
|
94
|
+
4941,
|
|
95
95
|
'Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the \'editorUnnecessaryCode.border\' theme color to underline unnecessary code instead of fading it out.'
|
|
96
96
|
)));
|
|
97
|
-
registerColor('editorGhostText.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: ( (( (Color.fromHex('#292929'))).transparent(0.8))) }, ( localize(
|
|
98
|
-
const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: ( (Color.fromHex('#ffffff56'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localize(
|
|
99
|
-
registerColor('editorGhostText.background', null, ( localize(
|
|
97
|
+
registerColor('editorGhostText.border', { dark: null, light: null, hcDark: ( (( (Color.fromHex('#fff'))).transparent(0.8))), hcLight: ( (( (Color.fromHex('#292929'))).transparent(0.8))) }, ( localize(4942, 'Border color of ghost text in the editor.')));
|
|
98
|
+
const ghostTextForeground = registerColor('editorGhostText.foreground', { dark: ( (Color.fromHex('#ffffff56'))), light: ( (Color.fromHex('#0007'))), hcDark: null, hcLight: null }, ( localize(4943, 'Foreground color of the ghost text in the editor.')));
|
|
99
|
+
registerColor('editorGhostText.background', null, ( localize(4944, 'Background color of the ghost text in the editor.')));
|
|
100
100
|
const rulerRangeDefault = ( (new Color( (new RGBA(0, 122, 204, 0.6)))));
|
|
101
101
|
const overviewRulerRangeHighlight = registerColor('editorOverviewRuler.rangeHighlightForeground', rulerRangeDefault, ( localize(
|
|
102
|
-
|
|
102
|
+
4945,
|
|
103
103
|
'Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
104
104
|
)), true);
|
|
105
|
-
const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '#B5200D' }, ( localize(
|
|
106
|
-
const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, ( localize(
|
|
107
|
-
const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, ( localize(
|
|
105
|
+
const overviewRulerError = registerColor('editorOverviewRuler.errorForeground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.7))))), hcDark: ( (new Color( (new RGBA(255, 50, 50, 1))))), hcLight: '#B5200D' }, ( localize(4946, 'Overview ruler marker color for errors.')));
|
|
106
|
+
const overviewRulerWarning = registerColor('editorOverviewRuler.warningForeground', { dark: editorWarningForeground, light: editorWarningForeground, hcDark: editorWarningBorder, hcLight: editorWarningBorder }, ( localize(4947, 'Overview ruler marker color for warnings.')));
|
|
107
|
+
const overviewRulerInfo = registerColor('editorOverviewRuler.infoForeground', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: editorInfoBorder, hcLight: editorInfoBorder }, ( localize(4948, 'Overview ruler marker color for infos.')));
|
|
108
108
|
const editorBracketHighlightingForeground1 = registerColor('editorBracketHighlight.foreground1', { dark: '#FFD700', light: '#0431FAFF', hcDark: '#FFD700', hcLight: '#0431FAFF' }, ( localize(
|
|
109
|
-
|
|
109
|
+
4949,
|
|
110
110
|
'Foreground color of brackets (1). Requires enabling bracket pair colorization.'
|
|
111
111
|
)));
|
|
112
112
|
const editorBracketHighlightingForeground2 = registerColor('editorBracketHighlight.foreground2', { dark: '#DA70D6', light: '#319331FF', hcDark: '#DA70D6', hcLight: '#319331FF' }, ( localize(
|
|
113
|
-
|
|
113
|
+
4950,
|
|
114
114
|
'Foreground color of brackets (2). Requires enabling bracket pair colorization.'
|
|
115
115
|
)));
|
|
116
116
|
const editorBracketHighlightingForeground3 = registerColor('editorBracketHighlight.foreground3', { dark: '#179FFF', light: '#7B3814FF', hcDark: '#87CEFA', hcLight: '#7B3814FF' }, ( localize(
|
|
117
|
-
|
|
117
|
+
4951,
|
|
118
118
|
'Foreground color of brackets (3). Requires enabling bracket pair colorization.'
|
|
119
119
|
)));
|
|
120
120
|
const editorBracketHighlightingForeground4 = registerColor('editorBracketHighlight.foreground4', '#00000000', ( localize(
|
|
121
|
-
|
|
121
|
+
4952,
|
|
122
122
|
'Foreground color of brackets (4). Requires enabling bracket pair colorization.'
|
|
123
123
|
)));
|
|
124
124
|
const editorBracketHighlightingForeground5 = registerColor('editorBracketHighlight.foreground5', '#00000000', ( localize(
|
|
125
|
-
|
|
125
|
+
4953,
|
|
126
126
|
'Foreground color of brackets (5). Requires enabling bracket pair colorization.'
|
|
127
127
|
)));
|
|
128
128
|
const editorBracketHighlightingForeground6 = registerColor('editorBracketHighlight.foreground6', '#00000000', ( localize(
|
|
129
|
-
|
|
129
|
+
4954,
|
|
130
130
|
'Foreground color of brackets (6). Requires enabling bracket pair colorization.'
|
|
131
131
|
)));
|
|
132
|
-
const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), hcDark: 'new Color(new RGBA(255, 50, 50, 1))', hcLight: '#B5200D' }, ( localize(
|
|
132
|
+
const editorBracketHighlightingUnexpectedBracketForeground = registerColor('editorBracketHighlight.unexpectedBracket.foreground', { dark: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), light: ( (new Color( (new RGBA(255, 18, 18, 0.8))))), hcDark: 'new Color(new RGBA(255, 50, 50, 1))', hcLight: '#B5200D' }, ( localize(4955, 'Foreground color of unexpected brackets.')));
|
|
133
133
|
const editorBracketPairGuideBackground1 = registerColor('editorBracketPairGuide.background1', '#00000000', ( localize(
|
|
134
|
-
|
|
134
|
+
4956,
|
|
135
135
|
'Background color of inactive bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
136
136
|
)));
|
|
137
137
|
const editorBracketPairGuideBackground2 = registerColor('editorBracketPairGuide.background2', '#00000000', ( localize(
|
|
138
|
-
|
|
138
|
+
4957,
|
|
139
139
|
'Background color of inactive bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
140
140
|
)));
|
|
141
141
|
const editorBracketPairGuideBackground3 = registerColor('editorBracketPairGuide.background3', '#00000000', ( localize(
|
|
142
|
-
|
|
142
|
+
4958,
|
|
143
143
|
'Background color of inactive bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
144
144
|
)));
|
|
145
145
|
const editorBracketPairGuideBackground4 = registerColor('editorBracketPairGuide.background4', '#00000000', ( localize(
|
|
146
|
-
|
|
146
|
+
4959,
|
|
147
147
|
'Background color of inactive bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
148
148
|
)));
|
|
149
149
|
const editorBracketPairGuideBackground5 = registerColor('editorBracketPairGuide.background5', '#00000000', ( localize(
|
|
150
|
-
|
|
150
|
+
4960,
|
|
151
151
|
'Background color of inactive bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
152
152
|
)));
|
|
153
153
|
const editorBracketPairGuideBackground6 = registerColor('editorBracketPairGuide.background6', '#00000000', ( localize(
|
|
154
|
-
|
|
154
|
+
4961,
|
|
155
155
|
'Background color of inactive bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
156
156
|
)));
|
|
157
157
|
const editorBracketPairGuideActiveBackground1 = registerColor('editorBracketPairGuide.activeBackground1', '#00000000', ( localize(
|
|
158
|
-
|
|
158
|
+
4962,
|
|
159
159
|
'Background color of active bracket pair guides (1). Requires enabling bracket pair guides.'
|
|
160
160
|
)));
|
|
161
161
|
const editorBracketPairGuideActiveBackground2 = registerColor('editorBracketPairGuide.activeBackground2', '#00000000', ( localize(
|
|
162
|
-
|
|
162
|
+
4963,
|
|
163
163
|
'Background color of active bracket pair guides (2). Requires enabling bracket pair guides.'
|
|
164
164
|
)));
|
|
165
165
|
const editorBracketPairGuideActiveBackground3 = registerColor('editorBracketPairGuide.activeBackground3', '#00000000', ( localize(
|
|
166
|
-
|
|
166
|
+
4964,
|
|
167
167
|
'Background color of active bracket pair guides (3). Requires enabling bracket pair guides.'
|
|
168
168
|
)));
|
|
169
169
|
const editorBracketPairGuideActiveBackground4 = registerColor('editorBracketPairGuide.activeBackground4', '#00000000', ( localize(
|
|
170
|
-
|
|
170
|
+
4965,
|
|
171
171
|
'Background color of active bracket pair guides (4). Requires enabling bracket pair guides.'
|
|
172
172
|
)));
|
|
173
173
|
const editorBracketPairGuideActiveBackground5 = registerColor('editorBracketPairGuide.activeBackground5', '#00000000', ( localize(
|
|
174
|
-
|
|
174
|
+
4966,
|
|
175
175
|
'Background color of active bracket pair guides (5). Requires enabling bracket pair guides.'
|
|
176
176
|
)));
|
|
177
177
|
const editorBracketPairGuideActiveBackground6 = registerColor('editorBracketPairGuide.activeBackground6', '#00000000', ( localize(
|
|
178
|
-
|
|
178
|
+
4967,
|
|
179
179
|
'Background color of active bracket pair guides (6). Requires enabling bracket pair guides.'
|
|
180
180
|
)));
|
|
181
|
-
registerColor('editorUnicodeHighlight.border', editorWarningForeground, ( localize(
|
|
182
|
-
registerColor('editorUnicodeHighlight.background', editorWarningBackground, ( localize(
|
|
181
|
+
registerColor('editorUnicodeHighlight.border', editorWarningForeground, ( localize(4968, 'Border color used to highlight unicode characters.')));
|
|
182
|
+
registerColor('editorUnicodeHighlight.background', editorWarningBackground, ( localize(4969, 'Background color used to highlight unicode characters.')));
|
|
183
183
|
registerThemingParticipant((theme, collector) => {
|
|
184
184
|
const background = theme.getColor(editorBackground);
|
|
185
185
|
const lineHighlight = theme.getColor(editorLineHighlight);
|
|
@@ -359,7 +359,7 @@ class EditStack {
|
|
|
359
359
|
if (isEditStackElement(lastElement) && lastElement.canAppend(this._model)) {
|
|
360
360
|
return lastElement;
|
|
361
361
|
}
|
|
362
|
-
const newElement = ( (new SingleModelEditStackElement(( localize(
|
|
362
|
+
const newElement = ( (new SingleModelEditStackElement(( localize(4899, "Typing")), 'undoredo.textBufferEdit', this._model, beforeCursorState)));
|
|
363
363
|
this._undoRedoService.pushElement(newElement, group);
|
|
364
364
|
return newElement;
|
|
365
365
|
}
|
|
@@ -32,12 +32,12 @@ let SelectionAnchorController = class SelectionAnchorController {
|
|
|
32
32
|
this.decorationId = accessor.addDecoration(Selection.fromPositions(position, position), {
|
|
33
33
|
description: 'selection-anchor',
|
|
34
34
|
stickiness: 1 ,
|
|
35
|
-
hoverMessage: ( (new MarkdownString())).appendText(( localize(
|
|
35
|
+
hoverMessage: ( (new MarkdownString())).appendText(( localize(1325, "Selection Anchor"))),
|
|
36
36
|
className: 'selection-anchor'
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
this.selectionAnchorSetContextKey.set(!!this.decorationId);
|
|
40
|
-
alert(( localize(
|
|
40
|
+
alert(( localize(1326, "Anchor set at {0}:{1}", position.lineNumber, position.column)));
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
goToSelectionAnchor() {
|
|
@@ -80,7 +80,7 @@ class SetSelectionAnchor extends EditorAction {
|
|
|
80
80
|
constructor() {
|
|
81
81
|
super({
|
|
82
82
|
id: 'editor.action.setSelectionAnchor',
|
|
83
|
-
label: ( localize(
|
|
83
|
+
label: ( localize(1327, "Set Selection Anchor")),
|
|
84
84
|
alias: 'Set Selection Anchor',
|
|
85
85
|
precondition: undefined,
|
|
86
86
|
kbOpts: {
|
|
@@ -98,7 +98,7 @@ class GoToSelectionAnchor extends EditorAction {
|
|
|
98
98
|
constructor() {
|
|
99
99
|
super({
|
|
100
100
|
id: 'editor.action.goToSelectionAnchor',
|
|
101
|
-
label: ( localize(
|
|
101
|
+
label: ( localize(1328, "Go to Selection Anchor")),
|
|
102
102
|
alias: 'Go to Selection Anchor',
|
|
103
103
|
precondition: SelectionAnchorSet,
|
|
104
104
|
});
|
|
@@ -111,7 +111,7 @@ class SelectFromAnchorToCursor extends EditorAction {
|
|
|
111
111
|
constructor() {
|
|
112
112
|
super({
|
|
113
113
|
id: 'editor.action.selectFromAnchorToCursor',
|
|
114
|
-
label: ( localize(
|
|
114
|
+
label: ( localize(1329, "Select from Anchor to Cursor")),
|
|
115
115
|
alias: 'Select from Anchor to Cursor',
|
|
116
116
|
precondition: SelectionAnchorSet,
|
|
117
117
|
kbOpts: {
|
|
@@ -129,7 +129,7 @@ class CancelSelectionAnchor extends EditorAction {
|
|
|
129
129
|
constructor() {
|
|
130
130
|
super({
|
|
131
131
|
id: 'editor.action.cancelSelectionAnchor',
|
|
132
|
-
label: ( localize(
|
|
132
|
+
label: ( localize(1330, "Cancel Selection Anchor")),
|
|
133
133
|
alias: 'Cancel Selection Anchor',
|
|
134
134
|
precondition: SelectionAnchorSet,
|
|
135
135
|
kbOpts: {
|
|
@@ -22,12 +22,12 @@ import '../../../../platform/theme/common/colors/miscColors.js';
|
|
|
22
22
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
23
23
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
24
24
|
import { themeColorFromId } from '../../../../platform/theme/common/themeService.js';
|
|
25
|
-
const overviewRulerBracketMatchForeground = registerColor('editorOverviewRuler.bracketMatchForeground', '#A0A0A0', ( localize(
|
|
25
|
+
const overviewRulerBracketMatchForeground = registerColor('editorOverviewRuler.bracketMatchForeground', '#A0A0A0', ( localize(1331, 'Overview ruler marker color for matching brackets.')));
|
|
26
26
|
class JumpToBracketAction extends EditorAction {
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: 'editor.action.jumpToBracket',
|
|
30
|
-
label: ( localize(
|
|
30
|
+
label: ( localize(1332, "Go to Bracket")),
|
|
31
31
|
alias: 'Go to Bracket',
|
|
32
32
|
precondition: undefined,
|
|
33
33
|
kbOpts: {
|
|
@@ -45,11 +45,11 @@ class SelectToBracketAction extends EditorAction {
|
|
|
45
45
|
constructor() {
|
|
46
46
|
super({
|
|
47
47
|
id: 'editor.action.selectToBracket',
|
|
48
|
-
label: ( localize(
|
|
48
|
+
label: ( localize(1333, "Select to Bracket")),
|
|
49
49
|
alias: 'Select to Bracket',
|
|
50
50
|
precondition: undefined,
|
|
51
51
|
metadata: {
|
|
52
|
-
description: ( localize2(
|
|
52
|
+
description: ( localize2(1334, "Select the text inside and including the brackets or curly braces")),
|
|
53
53
|
args: [{
|
|
54
54
|
name: 'args',
|
|
55
55
|
schema: {
|
|
@@ -77,7 +77,7 @@ class RemoveBracketsAction extends EditorAction {
|
|
|
77
77
|
constructor() {
|
|
78
78
|
super({
|
|
79
79
|
id: 'editor.action.removeBrackets',
|
|
80
|
-
label: ( localize(
|
|
80
|
+
label: ( localize(1335, "Remove Brackets")),
|
|
81
81
|
alias: 'Remove Brackets',
|
|
82
82
|
precondition: undefined,
|
|
83
83
|
kbOpts: {
|
|
@@ -350,7 +350,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
350
350
|
group: '5_infile_nav',
|
|
351
351
|
command: {
|
|
352
352
|
id: 'editor.action.jumpToBracket',
|
|
353
|
-
title: ( localize(
|
|
353
|
+
title: ( localize(1336, "Go to &&Bracket"))
|
|
354
354
|
},
|
|
355
355
|
order: 2
|
|
356
356
|
});
|
|
@@ -25,7 +25,7 @@ class MoveCaretLeftAction extends MoveCaretAction {
|
|
|
25
25
|
constructor() {
|
|
26
26
|
super(true, {
|
|
27
27
|
id: 'editor.action.moveCarretLeftAction',
|
|
28
|
-
label: ( localize(
|
|
28
|
+
label: ( localize(1337, "Move Selected Text Left")),
|
|
29
29
|
alias: 'Move Selected Text Left',
|
|
30
30
|
precondition: EditorContextKeys.writable
|
|
31
31
|
});
|
|
@@ -35,7 +35,7 @@ class MoveCaretRightAction extends MoveCaretAction {
|
|
|
35
35
|
constructor() {
|
|
36
36
|
super(false, {
|
|
37
37
|
id: 'editor.action.moveCarretRightAction',
|
|
38
|
-
label: ( localize(
|
|
38
|
+
label: ( localize(1338, "Move Selected Text Right")),
|
|
39
39
|
alias: 'Move Selected Text Right',
|
|
40
40
|
precondition: EditorContextKeys.writable
|
|
41
41
|
});
|
|
@@ -8,7 +8,7 @@ class TransposeLettersAction extends EditorAction {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super({
|
|
10
10
|
id: 'editor.action.transposeLetters',
|
|
11
|
-
label: ( localize(
|
|
11
|
+
label: ( localize(1339, "Transpose Letters")),
|
|
12
12
|
alias: 'Transpose Letters',
|
|
13
13
|
precondition: EditorContextKeys.writable,
|
|
14
14
|
kbOpts: {
|