@codingame/monaco-vscode-api 10.0.1 → 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/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/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- 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/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- 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/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- 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/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/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/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- 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/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/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/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/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/actionWidget/browser/actionWidget.js +7 -7
- 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/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/history/browser/contextScopedHistoryWidget.js +1 -1
- 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/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.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/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- 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/sideBySideEditor.js +1 -1
- 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/panel/panelActions.js +34 -34
- 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/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/views.js +4 -4
- 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/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/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/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.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/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- 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/debugExpressionRenderer.js +1 -1
- 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/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/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/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- 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/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/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/diffComponents.js +4 -4
- 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/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/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/scm/browser/scmHistory.js +13 -13
- 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/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/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -0
- 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/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
|
@@ -12,11 +12,11 @@ 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
|
registerColor('symbolIcon.arrayForeground', foreground, ( localize(
|
|
15
|
-
|
|
15
|
+
10042,
|
|
16
16
|
'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
17
17
|
)));
|
|
18
18
|
registerColor('symbolIcon.booleanForeground', foreground, ( localize(
|
|
19
|
-
|
|
19
|
+
10043,
|
|
20
20
|
'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
21
21
|
)));
|
|
22
22
|
registerColor('symbolIcon.classForeground', {
|
|
@@ -25,15 +25,15 @@ registerColor('symbolIcon.classForeground', {
|
|
|
25
25
|
hcDark: '#EE9D28',
|
|
26
26
|
hcLight: '#D67E00'
|
|
27
27
|
}, ( localize(
|
|
28
|
-
|
|
28
|
+
10044,
|
|
29
29
|
'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
30
30
|
)));
|
|
31
31
|
registerColor('symbolIcon.colorForeground', foreground, ( localize(
|
|
32
|
-
|
|
32
|
+
10045,
|
|
33
33
|
'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
34
34
|
)));
|
|
35
35
|
registerColor('symbolIcon.constantForeground', foreground, ( localize(
|
|
36
|
-
|
|
36
|
+
10046,
|
|
37
37
|
'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
38
38
|
)));
|
|
39
39
|
registerColor('symbolIcon.constructorForeground', {
|
|
@@ -42,7 +42,7 @@ registerColor('symbolIcon.constructorForeground', {
|
|
|
42
42
|
hcDark: '#B180D7',
|
|
43
43
|
hcLight: '#652D90'
|
|
44
44
|
}, ( localize(
|
|
45
|
-
|
|
45
|
+
10047,
|
|
46
46
|
'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
47
47
|
)));
|
|
48
48
|
registerColor('symbolIcon.enumeratorForeground', {
|
|
@@ -51,7 +51,7 @@ registerColor('symbolIcon.enumeratorForeground', {
|
|
|
51
51
|
hcDark: '#EE9D28',
|
|
52
52
|
hcLight: '#D67E00'
|
|
53
53
|
}, ( localize(
|
|
54
|
-
|
|
54
|
+
10048,
|
|
55
55
|
'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
56
56
|
)));
|
|
57
57
|
registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
@@ -60,7 +60,7 @@ registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
|
60
60
|
hcDark: '#75BEFF',
|
|
61
61
|
hcLight: '#007ACC'
|
|
62
62
|
}, ( localize(
|
|
63
|
-
|
|
63
|
+
10049,
|
|
64
64
|
'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
65
65
|
)));
|
|
66
66
|
registerColor('symbolIcon.eventForeground', {
|
|
@@ -69,7 +69,7 @@ registerColor('symbolIcon.eventForeground', {
|
|
|
69
69
|
hcDark: '#EE9D28',
|
|
70
70
|
hcLight: '#D67E00'
|
|
71
71
|
}, ( localize(
|
|
72
|
-
|
|
72
|
+
10050,
|
|
73
73
|
'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
74
74
|
)));
|
|
75
75
|
registerColor('symbolIcon.fieldForeground', {
|
|
@@ -78,15 +78,15 @@ registerColor('symbolIcon.fieldForeground', {
|
|
|
78
78
|
hcDark: '#75BEFF',
|
|
79
79
|
hcLight: '#007ACC'
|
|
80
80
|
}, ( localize(
|
|
81
|
-
|
|
81
|
+
10051,
|
|
82
82
|
'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
83
83
|
)));
|
|
84
84
|
registerColor('symbolIcon.fileForeground', foreground, ( localize(
|
|
85
|
-
|
|
85
|
+
10052,
|
|
86
86
|
'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
87
87
|
)));
|
|
88
88
|
registerColor('symbolIcon.folderForeground', foreground, ( localize(
|
|
89
|
-
|
|
89
|
+
10053,
|
|
90
90
|
'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
91
91
|
)));
|
|
92
92
|
registerColor('symbolIcon.functionForeground', {
|
|
@@ -95,7 +95,7 @@ registerColor('symbolIcon.functionForeground', {
|
|
|
95
95
|
hcDark: '#B180D7',
|
|
96
96
|
hcLight: '#652D90'
|
|
97
97
|
}, ( localize(
|
|
98
|
-
|
|
98
|
+
10054,
|
|
99
99
|
'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
100
100
|
)));
|
|
101
101
|
registerColor('symbolIcon.interfaceForeground', {
|
|
@@ -104,15 +104,15 @@ registerColor('symbolIcon.interfaceForeground', {
|
|
|
104
104
|
hcDark: '#75BEFF',
|
|
105
105
|
hcLight: '#007ACC'
|
|
106
106
|
}, ( localize(
|
|
107
|
-
|
|
107
|
+
10055,
|
|
108
108
|
'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
109
109
|
)));
|
|
110
110
|
registerColor('symbolIcon.keyForeground', foreground, ( localize(
|
|
111
|
-
|
|
111
|
+
10056,
|
|
112
112
|
'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
113
113
|
)));
|
|
114
114
|
registerColor('symbolIcon.keywordForeground', foreground, ( localize(
|
|
115
|
-
|
|
115
|
+
10057,
|
|
116
116
|
'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
117
117
|
)));
|
|
118
118
|
registerColor('symbolIcon.methodForeground', {
|
|
@@ -121,67 +121,67 @@ registerColor('symbolIcon.methodForeground', {
|
|
|
121
121
|
hcDark: '#B180D7',
|
|
122
122
|
hcLight: '#652D90'
|
|
123
123
|
}, ( localize(
|
|
124
|
-
|
|
124
|
+
10058,
|
|
125
125
|
'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
126
126
|
)));
|
|
127
127
|
registerColor('symbolIcon.moduleForeground', foreground, ( localize(
|
|
128
|
-
|
|
128
|
+
10059,
|
|
129
129
|
'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
130
130
|
)));
|
|
131
131
|
registerColor('symbolIcon.namespaceForeground', foreground, ( localize(
|
|
132
|
-
|
|
132
|
+
10060,
|
|
133
133
|
'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
134
134
|
)));
|
|
135
135
|
registerColor('symbolIcon.nullForeground', foreground, ( localize(
|
|
136
|
-
|
|
136
|
+
10061,
|
|
137
137
|
'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
138
138
|
)));
|
|
139
139
|
registerColor('symbolIcon.numberForeground', foreground, ( localize(
|
|
140
|
-
|
|
140
|
+
10062,
|
|
141
141
|
'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
142
142
|
)));
|
|
143
143
|
registerColor('symbolIcon.objectForeground', foreground, ( localize(
|
|
144
|
-
|
|
144
|
+
10063,
|
|
145
145
|
'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
146
146
|
)));
|
|
147
147
|
registerColor('symbolIcon.operatorForeground', foreground, ( localize(
|
|
148
|
-
|
|
148
|
+
10064,
|
|
149
149
|
'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
150
150
|
)));
|
|
151
151
|
registerColor('symbolIcon.packageForeground', foreground, ( localize(
|
|
152
|
-
|
|
152
|
+
10065,
|
|
153
153
|
'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
154
154
|
)));
|
|
155
155
|
registerColor('symbolIcon.propertyForeground', foreground, ( localize(
|
|
156
|
-
|
|
156
|
+
10066,
|
|
157
157
|
'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
158
158
|
)));
|
|
159
159
|
registerColor('symbolIcon.referenceForeground', foreground, ( localize(
|
|
160
|
-
|
|
160
|
+
10067,
|
|
161
161
|
'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
162
162
|
)));
|
|
163
163
|
registerColor('symbolIcon.snippetForeground', foreground, ( localize(
|
|
164
|
-
|
|
164
|
+
10068,
|
|
165
165
|
'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
166
166
|
)));
|
|
167
167
|
registerColor('symbolIcon.stringForeground', foreground, ( localize(
|
|
168
|
-
|
|
168
|
+
10069,
|
|
169
169
|
'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
170
170
|
)));
|
|
171
171
|
registerColor('symbolIcon.structForeground', foreground, ( localize(
|
|
172
|
-
|
|
172
|
+
10070,
|
|
173
173
|
'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
174
174
|
)));
|
|
175
175
|
registerColor('symbolIcon.textForeground', foreground, ( localize(
|
|
176
|
-
|
|
176
|
+
10071,
|
|
177
177
|
'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
178
178
|
)));
|
|
179
179
|
registerColor('symbolIcon.typeParameterForeground', foreground, ( localize(
|
|
180
|
-
|
|
180
|
+
10072,
|
|
181
181
|
'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
182
182
|
)));
|
|
183
183
|
registerColor('symbolIcon.unitForeground', foreground, ( localize(
|
|
184
|
-
|
|
184
|
+
10073,
|
|
185
185
|
'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
186
186
|
)));
|
|
187
187
|
registerColor('symbolIcon.variableForeground', {
|
|
@@ -190,6 +190,6 @@ registerColor('symbolIcon.variableForeground', {
|
|
|
190
190
|
hcDark: '#75BEFF',
|
|
191
191
|
hcLight: '#007ACC',
|
|
192
192
|
}, ( localize(
|
|
193
|
-
|
|
193
|
+
10074,
|
|
194
194
|
'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'
|
|
195
195
|
)));
|
|
@@ -7,7 +7,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super({
|
|
9
9
|
id: ToggleTabFocusModeAction.ID,
|
|
10
|
-
title: ( localize2(
|
|
10
|
+
title: ( localize2(1585, 'Toggle Tab Key Moves Focus')),
|
|
11
11
|
precondition: undefined,
|
|
12
12
|
keybinding: {
|
|
13
13
|
primary: 2048 | 43 ,
|
|
@@ -16,7 +16,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
16
16
|
},
|
|
17
17
|
metadata: {
|
|
18
18
|
description: ( localize2(
|
|
19
|
-
|
|
19
|
+
1586,
|
|
20
20
|
"Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."
|
|
21
21
|
)),
|
|
22
22
|
},
|
|
@@ -28,10 +28,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
28
28
|
const newValue = !oldValue;
|
|
29
29
|
TabFocus.setTabFocusMode(newValue);
|
|
30
30
|
if (newValue) {
|
|
31
|
-
alert(( localize(
|
|
31
|
+
alert(( localize(1587, "Pressing Tab will now move focus to the next focusable element")));
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
alert(( localize(
|
|
34
|
+
alert(( localize(1588, "Pressing Tab will now insert the tab character")));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -5,7 +5,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super({
|
|
7
7
|
id: 'editor.action.forceRetokenize',
|
|
8
|
-
label: ( localize(
|
|
8
|
+
label: ( localize(1560, "Developer: Force Retokenize")),
|
|
9
9
|
alias: 'Developer: Force Retokenize',
|
|
10
10
|
precondition: undefined
|
|
11
11
|
});
|
|
@@ -23,7 +23,7 @@ import { IOpenerService } from '../../../../platform/opener/common/opener.servic
|
|
|
23
23
|
import { IQuickInputService } from '../../../../platform/quickinput/common/quickInput.service.js';
|
|
24
24
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
25
25
|
import { IWorkspaceTrustManagementService } from '../../../../platform/workspace/common/workspaceTrust.service.js';
|
|
26
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
26
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(1561, 'Icon shown with a warning message in the extensions editor.')));
|
|
27
27
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
28
28
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
29
29
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -42,19 +42,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
42
42
|
let data;
|
|
43
43
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
44
44
|
data = {
|
|
45
|
-
message: ( localize(
|
|
45
|
+
message: ( localize(1562, 'This document contains many non-basic ASCII unicode characters')),
|
|
46
46
|
command: ( (new DisableHighlightingOfNonBasicAsciiCharactersAction())),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
else if (state.ambiguousCharacterCount >= max) {
|
|
50
50
|
data = {
|
|
51
|
-
message: ( localize(
|
|
51
|
+
message: ( localize(1563, 'This document contains many ambiguous unicode characters')),
|
|
52
52
|
command: ( (new DisableHighlightingOfAmbiguousCharactersAction())),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
else if (state.invisibleCharacterCount >= max) {
|
|
56
56
|
data = {
|
|
57
|
-
message: ( localize(
|
|
57
|
+
message: ( localize(1564, 'This document contains many invisible unicode characters')),
|
|
58
58
|
command: ( (new DisableHighlightingOfInvisibleCharactersAction())),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -321,7 +321,7 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
const configureUnicodeHighlightOptionsStr = ( localize(
|
|
324
|
+
const configureUnicodeHighlightOptionsStr = ( localize(1565, 'Configure Unicode Highlight Options'));
|
|
325
325
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
326
326
|
constructor(_editor, _languageService, _openerService) {
|
|
327
327
|
this._editor = _editor;
|
|
@@ -354,7 +354,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
354
354
|
case 0 : {
|
|
355
355
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
356
356
|
reason = ( localize(
|
|
357
|
-
|
|
357
|
+
1566,
|
|
358
358
|
'The character {0} could be confused with the ASCII character {1}, which is more common in source code.',
|
|
359
359
|
codePointStr,
|
|
360
360
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -362,7 +362,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
364
364
|
reason = ( localize(
|
|
365
|
-
|
|
365
|
+
1567,
|
|
366
366
|
'The character {0} could be confused with the character {1}, which is more common in source code.',
|
|
367
367
|
codePointStr,
|
|
368
368
|
formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0))
|
|
@@ -371,10 +371,10 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
371
371
|
break;
|
|
372
372
|
}
|
|
373
373
|
case 1 :
|
|
374
|
-
reason = ( localize(
|
|
374
|
+
reason = ( localize(1568, 'The character {0} is invisible.', codePointStr));
|
|
375
375
|
break;
|
|
376
376
|
case 2 :
|
|
377
|
-
reason = ( localize(
|
|
377
|
+
reason = ( localize(1569, 'The character {0} is not a basic ASCII character.', codePointStr));
|
|
378
378
|
break;
|
|
379
379
|
}
|
|
380
380
|
if (( (existedReason.has(reason)))) {
|
|
@@ -387,7 +387,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
387
387
|
inComment: highlightInfo.inComment,
|
|
388
388
|
inString: highlightInfo.inString,
|
|
389
389
|
};
|
|
390
|
-
const adjustSettings = ( localize(
|
|
390
|
+
const adjustSettings = ( localize(1570, 'Adjust settings'));
|
|
391
391
|
const uri = `command:${ShowExcludeOptions.ID}?${encodeURIComponent(JSON.stringify(adjustSettingsArgs))}`;
|
|
392
392
|
const markdown = ( (new MarkdownString('', true)))
|
|
393
393
|
.appendMarkdown(reason)
|
|
@@ -459,11 +459,11 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
459
459
|
constructor() {
|
|
460
460
|
super({
|
|
461
461
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
462
|
-
label: ( localize(
|
|
462
|
+
label: ( localize(1571, 'Disable highlighting of characters in comments')),
|
|
463
463
|
alias: 'Disable highlighting of characters in comments',
|
|
464
464
|
precondition: undefined
|
|
465
465
|
});
|
|
466
|
-
this.shortLabel = ( localize(
|
|
466
|
+
this.shortLabel = ( localize(1572, 'Disable Highlight In Comments'));
|
|
467
467
|
}
|
|
468
468
|
async run(accessor, editor, args) {
|
|
469
469
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -480,11 +480,11 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
480
480
|
constructor() {
|
|
481
481
|
super({
|
|
482
482
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
483
|
-
label: ( localize(
|
|
483
|
+
label: ( localize(1573, 'Disable highlighting of characters in strings')),
|
|
484
484
|
alias: 'Disable highlighting of characters in strings',
|
|
485
485
|
precondition: undefined
|
|
486
486
|
});
|
|
487
|
-
this.shortLabel = ( localize(
|
|
487
|
+
this.shortLabel = ( localize(1574, 'Disable Highlight In Strings'));
|
|
488
488
|
}
|
|
489
489
|
async run(accessor, editor, args) {
|
|
490
490
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -501,11 +501,11 @@ class DisableHighlightingOfAmbiguousCharactersAction extends EditorAction {
|
|
|
501
501
|
constructor() {
|
|
502
502
|
super({
|
|
503
503
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
504
|
-
label: ( localize(
|
|
504
|
+
label: ( localize(1575, 'Disable highlighting of ambiguous characters')),
|
|
505
505
|
alias: 'Disable highlighting of ambiguous characters',
|
|
506
506
|
precondition: undefined
|
|
507
507
|
});
|
|
508
|
-
this.shortLabel = ( localize(
|
|
508
|
+
this.shortLabel = ( localize(1576, 'Disable Ambiguous Highlight'));
|
|
509
509
|
}
|
|
510
510
|
async run(accessor, editor, args) {
|
|
511
511
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -522,11 +522,11 @@ class DisableHighlightingOfInvisibleCharactersAction extends EditorAction {
|
|
|
522
522
|
constructor() {
|
|
523
523
|
super({
|
|
524
524
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
525
|
-
label: ( localize(
|
|
525
|
+
label: ( localize(1577, 'Disable highlighting of invisible characters')),
|
|
526
526
|
alias: 'Disable highlighting of invisible characters',
|
|
527
527
|
precondition: undefined
|
|
528
528
|
});
|
|
529
|
-
this.shortLabel = ( localize(
|
|
529
|
+
this.shortLabel = ( localize(1578, 'Disable Invisible Highlight'));
|
|
530
530
|
}
|
|
531
531
|
async run(accessor, editor, args) {
|
|
532
532
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -543,11 +543,11 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends EditorAction {
|
|
|
543
543
|
constructor() {
|
|
544
544
|
super({
|
|
545
545
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
546
|
-
label: ( localize(
|
|
546
|
+
label: ( localize(1579, 'Disable highlighting of non basic ASCII characters')),
|
|
547
547
|
alias: 'Disable highlighting of non basic ASCII characters',
|
|
548
548
|
precondition: undefined
|
|
549
549
|
});
|
|
550
|
-
this.shortLabel = ( localize(
|
|
550
|
+
this.shortLabel = ( localize(1580, 'Disable Non ASCII Highlight'));
|
|
551
551
|
}
|
|
552
552
|
async run(accessor, editor, args) {
|
|
553
553
|
const configurationService = accessor?.get(IConfigurationService);
|
|
@@ -564,7 +564,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
564
564
|
constructor() {
|
|
565
565
|
super({
|
|
566
566
|
id: ShowExcludeOptions.ID,
|
|
567
|
-
label: ( localize(
|
|
567
|
+
label: ( localize(1581, "Show Exclude Options")),
|
|
568
568
|
alias: 'Show Exclude Options',
|
|
569
569
|
precondition: undefined
|
|
570
570
|
});
|
|
@@ -577,13 +577,13 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
577
577
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
578
578
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
579
579
|
return ( localize(
|
|
580
|
-
|
|
580
|
+
1582,
|
|
581
581
|
'Exclude {0} (invisible character) from being highlighted',
|
|
582
582
|
codePointToHex(codePoint)
|
|
583
583
|
));
|
|
584
584
|
}
|
|
585
585
|
return ( localize(
|
|
586
|
-
|
|
586
|
+
1583,
|
|
587
587
|
'Exclude {0} from being highlighted',
|
|
588
588
|
`${codePointToHex(codePoint)} "${char}"`
|
|
589
589
|
));
|
|
@@ -593,7 +593,7 @@ class ShowExcludeOptions extends EditorAction {
|
|
|
593
593
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
594
594
|
options.push({
|
|
595
595
|
label: ( localize(
|
|
596
|
-
|
|
596
|
+
1584,
|
|
597
597
|
"Allow unicode characters that are more common in the language \"{0}\".",
|
|
598
598
|
locale
|
|
599
599
|
)),
|
package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js
CHANGED
|
@@ -67,15 +67,15 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
67
67
|
try {
|
|
68
68
|
this._isPresentingDialog = true;
|
|
69
69
|
result = await this._dialogService.confirm({
|
|
70
|
-
title: ( localize(
|
|
71
|
-
message: ( localize(
|
|
70
|
+
title: ( localize(1589, "Unusual Line Terminators")),
|
|
71
|
+
message: ( localize(1590, "Detected unusual line terminators")),
|
|
72
72
|
detail: ( localize(
|
|
73
|
-
|
|
73
|
+
1591,
|
|
74
74
|
"The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",
|
|
75
75
|
basename(model.uri)
|
|
76
76
|
)),
|
|
77
|
-
primaryButton: ( localize(
|
|
78
|
-
cancelButton: ( localize(
|
|
77
|
+
primaryButton: ( localize(1592, "&&Remove Unusual Line Terminators")),
|
|
78
|
+
cancelButton: ( localize(1593, "Ignore"))
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
finally {
|
|
@@ -10,6 +10,7 @@ import { Schemas, matchesScheme } from '../../../../base/common/network.js';
|
|
|
10
10
|
import { isEqual } from '../../../../base/common/resources.js';
|
|
11
11
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
12
12
|
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
|
|
13
|
+
import { ILogService } from '../../../../platform/log/common/log.service.js';
|
|
13
14
|
import { isDiffEditor } from '../../../browser/editorBrowser.js';
|
|
14
15
|
import { registerModelAndPositionCommand, registerEditorContribution, registerEditorAction, EditorAction } from '../../../browser/editorExtensions.js';
|
|
15
16
|
import { ICodeEditorService } from '../../../browser/services/codeEditorService.js';
|
|
@@ -152,7 +153,7 @@ let WordHighlighter = class WordHighlighter {
|
|
|
152
153
|
static { WordHighlighter_1 = this; }
|
|
153
154
|
static { this.storedDecorationIDs = ( (new ResourceMap())); }
|
|
154
155
|
static { this.query = null; }
|
|
155
|
-
constructor(editor, providers, multiProviders, contextKeyService, textModelService, codeEditorService) {
|
|
156
|
+
constructor(editor, providers, multiProviders, contextKeyService, textModelService, codeEditorService, logService) {
|
|
156
157
|
this.toUnhook = ( (new DisposableStore()));
|
|
157
158
|
this.workerRequestTokenId = 0;
|
|
158
159
|
this.workerRequestCompleted = false;
|
|
@@ -165,6 +166,7 @@ let WordHighlighter = class WordHighlighter {
|
|
|
165
166
|
this.multiDocumentProviders = multiProviders;
|
|
166
167
|
this.codeEditorService = codeEditorService;
|
|
167
168
|
this.textModelService = textModelService;
|
|
169
|
+
this.logService = logService;
|
|
168
170
|
this._hasWordHighlights = ctxHasWordHighlights.bindTo(contextKeyService);
|
|
169
171
|
this._ignorePositionChangeEvent = false;
|
|
170
172
|
this.occurrencesHighlight = this.editor.getOption(83 );
|
|
@@ -501,15 +503,22 @@ let WordHighlighter = class WordHighlighter {
|
|
|
501
503
|
return;
|
|
502
504
|
}
|
|
503
505
|
const queryModelRef = await this.textModelService.createModelReference(WordHighlighter_1.query.modelInfo.modelURI);
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
506
|
+
try {
|
|
507
|
+
this.workerRequest = this.computeWithModel(queryModelRef.object.textEditorModel, WordHighlighter_1.query.modelInfo.selection, otherModelsToHighlight);
|
|
508
|
+
this.workerRequest?.result.then(data => {
|
|
509
|
+
if (myRequestId === this.workerRequestTokenId) {
|
|
510
|
+
this.workerRequestCompleted = true;
|
|
511
|
+
this.workerRequestValue = data || [];
|
|
512
|
+
this._beginRenderDecorations();
|
|
513
|
+
}
|
|
514
|
+
}, onUnexpectedError);
|
|
515
|
+
}
|
|
516
|
+
catch (e) {
|
|
517
|
+
this.logService.error('Unexpected error during occurrence request. Log: ', e);
|
|
518
|
+
}
|
|
519
|
+
finally {
|
|
520
|
+
queryModelRef.dispose();
|
|
521
|
+
}
|
|
513
522
|
}
|
|
514
523
|
else if (this.model.uri.scheme === Schemas.vscodeNotebookCell) {
|
|
515
524
|
const myRequestId = ++this.workerRequestTokenId;
|
|
@@ -518,15 +527,22 @@ let WordHighlighter = class WordHighlighter {
|
|
|
518
527
|
return;
|
|
519
528
|
}
|
|
520
529
|
const queryModelRef = await this.textModelService.createModelReference(WordHighlighter_1.query.modelInfo.modelURI);
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
+
try {
|
|
531
|
+
this.workerRequest = this.computeWithModel(queryModelRef.object.textEditorModel, WordHighlighter_1.query.modelInfo.selection, [this.model]);
|
|
532
|
+
this.workerRequest?.result.then(data => {
|
|
533
|
+
if (myRequestId === this.workerRequestTokenId) {
|
|
534
|
+
this.workerRequestCompleted = true;
|
|
535
|
+
this.workerRequestValue = data || [];
|
|
536
|
+
this._beginRenderDecorations(noDelay);
|
|
537
|
+
}
|
|
538
|
+
}, onUnexpectedError);
|
|
539
|
+
}
|
|
540
|
+
catch (e) {
|
|
541
|
+
this.logService.error('Unexpected error during occurrence request. Log: ', e);
|
|
542
|
+
}
|
|
543
|
+
finally {
|
|
544
|
+
queryModelRef.dispose();
|
|
545
|
+
}
|
|
530
546
|
}
|
|
531
547
|
}
|
|
532
548
|
computeWithModel(model, selection, otherModels) {
|
|
@@ -594,7 +610,8 @@ let WordHighlighter = class WordHighlighter {
|
|
|
594
610
|
};
|
|
595
611
|
WordHighlighter = WordHighlighter_1 = ( (__decorate([
|
|
596
612
|
( (__param(4, ITextModelService))),
|
|
597
|
-
( (__param(5, ICodeEditorService)))
|
|
613
|
+
( (__param(5, ICodeEditorService))),
|
|
614
|
+
( (__param(6, ILogService)))
|
|
598
615
|
], WordHighlighter)));
|
|
599
616
|
let WordHighlighterContribution = class WordHighlighterContribution extends Disposable {
|
|
600
617
|
static { WordHighlighterContribution_1 = this; }
|
|
@@ -602,7 +619,7 @@ let WordHighlighterContribution = class WordHighlighterContribution extends Disp
|
|
|
602
619
|
static get(editor) {
|
|
603
620
|
return editor.getContribution(WordHighlighterContribution_1.ID);
|
|
604
621
|
}
|
|
605
|
-
constructor(editor, contextKeyService, languageFeaturesService, codeEditorService, textModelService) {
|
|
622
|
+
constructor(editor, contextKeyService, languageFeaturesService, codeEditorService, textModelService, logService) {
|
|
606
623
|
super();
|
|
607
624
|
this._wordHighlighter = null;
|
|
608
625
|
const createWordHighlighterIfPossible = () => {
|
|
@@ -613,7 +630,8 @@ let WordHighlighterContribution = class WordHighlighterContribution extends Disp
|
|
|
613
630
|
languageFeaturesService.multiDocumentHighlightProvider,
|
|
614
631
|
contextKeyService,
|
|
615
632
|
textModelService,
|
|
616
|
-
codeEditorService
|
|
633
|
+
codeEditorService,
|
|
634
|
+
logService
|
|
617
635
|
)));
|
|
618
636
|
}
|
|
619
637
|
};
|
|
@@ -664,7 +682,8 @@ WordHighlighterContribution = WordHighlighterContribution_1 = ( (__decorate([
|
|
|
664
682
|
( (__param(1, IContextKeyService))),
|
|
665
683
|
( (__param(2, ILanguageFeaturesService))),
|
|
666
684
|
( (__param(3, ICodeEditorService))),
|
|
667
|
-
( (__param(4, ITextModelService)))
|
|
685
|
+
( (__param(4, ITextModelService))),
|
|
686
|
+
( (__param(5, ILogService)))
|
|
668
687
|
], WordHighlighterContribution)));
|
|
669
688
|
class WordHighlightNavigationAction extends EditorAction {
|
|
670
689
|
constructor(next, opts) {
|
|
@@ -688,7 +707,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
688
707
|
constructor() {
|
|
689
708
|
super(true, {
|
|
690
709
|
id: 'editor.action.wordHighlight.next',
|
|
691
|
-
label: ( localize(
|
|
710
|
+
label: ( localize(1594, "Go to Next Symbol Highlight")),
|
|
692
711
|
alias: 'Go to Next Symbol Highlight',
|
|
693
712
|
precondition: ctxHasWordHighlights,
|
|
694
713
|
kbOpts: {
|
|
@@ -703,7 +722,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
703
722
|
constructor() {
|
|
704
723
|
super(false, {
|
|
705
724
|
id: 'editor.action.wordHighlight.prev',
|
|
706
|
-
label: ( localize(
|
|
725
|
+
label: ( localize(1595, "Go to Previous Symbol Highlight")),
|
|
707
726
|
alias: 'Go to Previous Symbol Highlight',
|
|
708
727
|
precondition: ctxHasWordHighlights,
|
|
709
728
|
kbOpts: {
|
|
@@ -718,7 +737,7 @@ class TriggerWordHighlightAction extends EditorAction {
|
|
|
718
737
|
constructor() {
|
|
719
738
|
super({
|
|
720
739
|
id: 'editor.action.wordHighlight.trigger',
|
|
721
|
-
label: ( localize(
|
|
740
|
+
label: ( localize(1596, "Trigger Symbol Highlight")),
|
|
722
741
|
alias: 'Trigger Symbol Highlight',
|
|
723
742
|
precondition: undefined,
|
|
724
743
|
kbOpts: {
|
|
@@ -415,7 +415,7 @@ class DeleteInsideWord extends EditorAction {
|
|
|
415
415
|
super({
|
|
416
416
|
id: 'deleteInsideWord',
|
|
417
417
|
precondition: EditorContextKeys.writable,
|
|
418
|
-
label: ( localize(
|
|
418
|
+
label: ( localize(1599, "Delete Word")),
|
|
419
419
|
alias: 'Delete Word'
|
|
420
420
|
});
|
|
421
421
|
}
|