@codingame/monaco-vscode-api 10.1.1 → 10.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +137 -332
- package/package.json +9 -9
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +6 -15
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/worker/simpleWorkerBootstrap.js +23 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- package/vscode/src/vs/editor/common/services/editorWorkerBootstrap.js +3 -8
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- 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/codeAction/browser/codeAction.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/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- 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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +11 -7
- 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/files/common/files.js +6 -6
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- 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/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -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/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- 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/chatActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- 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 +8 -8
- 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/inlineChatWidget.js +3 -3
- 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/view/conflictActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- 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/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/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/search/browser/searchActionsFind.js +10 -10
- 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/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/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/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- 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/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/workers/editor.worker.js +1 -1
|
@@ -300,7 +300,7 @@ class LinkedEditingAction extends EditorAction {
|
|
|
300
300
|
constructor() {
|
|
301
301
|
super({
|
|
302
302
|
id: 'editor.action.linkedEditing',
|
|
303
|
-
label: ( localize(
|
|
303
|
+
label: ( localize(1497, "Start Linked Editing")),
|
|
304
304
|
alias: 'Start Linked Editing',
|
|
305
305
|
precondition: ( (ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider))),
|
|
306
306
|
kbOpts: {
|
|
@@ -359,7 +359,7 @@ function getLinkedEditingRanges(providers, model, position, token) {
|
|
|
359
359
|
}
|
|
360
360
|
}))), result => !!result && isNonEmptyArray(result?.ranges));
|
|
361
361
|
}
|
|
362
|
-
registerColor('editor.linkedEditingBackground', { dark: ( (( (Color.fromHex('#f00'))).transparent(0.3))), light: ( (( (Color.fromHex('#f00'))).transparent(0.3))), hcDark: ( (( (Color.fromHex('#f00'))).transparent(0.3))), hcLight: Color.white }, ( localize(
|
|
362
|
+
registerColor('editor.linkedEditingBackground', { dark: ( (( (Color.fromHex('#f00'))).transparent(0.3))), light: ( (( (Color.fromHex('#f00'))).transparent(0.3))), hcDark: ( (( (Color.fromHex('#f00'))).transparent(0.3))), hcLight: Color.white }, ( localize(1498, 'Background color when the editor auto renames on type.')));
|
|
363
363
|
registerModelAndPositionCommand('_executeLinkedEditingProvider', (_accessor, model, position) => {
|
|
364
364
|
const { linkedEditingRangeProvider } = _accessor.get(ILanguageFeaturesService);
|
|
365
365
|
return getLinkedEditingRanges(linkedEditingRangeProvider, model, position, CancellationToken.None);
|
|
@@ -8,7 +8,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
8
8
|
super({ canAcceptInBackground: true });
|
|
9
9
|
}
|
|
10
10
|
provideWithoutTextEditor(picker) {
|
|
11
|
-
const label = ( localize(
|
|
11
|
+
const label = ( localize(4619, "Open a text editor first to go to a line."));
|
|
12
12
|
picker.items = [{ label }];
|
|
13
13
|
picker.ariaLabel = label;
|
|
14
14
|
return Disposable.None;
|
|
@@ -77,15 +77,15 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
77
77
|
getPickLabel(editor, lineNumber, column) {
|
|
78
78
|
if (this.isValidLineNumber(editor, lineNumber)) {
|
|
79
79
|
if (this.isValidColumn(editor, lineNumber, column)) {
|
|
80
|
-
return ( localize(
|
|
80
|
+
return ( localize(4620, "Go to line {0} and character {1}.", lineNumber, column));
|
|
81
81
|
}
|
|
82
|
-
return ( localize(
|
|
82
|
+
return ( localize(4621, "Go to line {0}.", lineNumber));
|
|
83
83
|
}
|
|
84
84
|
const position = editor.getPosition() || { lineNumber: 1, column: 1 };
|
|
85
85
|
const lineCount = this.lineCount(editor);
|
|
86
86
|
if (lineCount > 1) {
|
|
87
87
|
return ( localize(
|
|
88
|
-
|
|
88
|
+
4622,
|
|
89
89
|
"Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",
|
|
90
90
|
position.lineNumber,
|
|
91
91
|
position.column,
|
|
@@ -93,7 +93,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
93
93
|
));
|
|
94
94
|
}
|
|
95
95
|
return ( localize(
|
|
96
|
-
|
|
96
|
+
4623,
|
|
97
97
|
"Current Line: {0}, Character: {1}. Type a line number to navigate to.",
|
|
98
98
|
position.lineNumber,
|
|
99
99
|
position.column
|
|
@@ -28,7 +28,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
28
28
|
}
|
|
29
29
|
provideWithoutTextEditor(picker) {
|
|
30
30
|
this.provideLabelPick(picker, ( localize(
|
|
31
|
-
|
|
31
|
+
4624,
|
|
32
32
|
"To go to a symbol, first open a text editor with symbol information."
|
|
33
33
|
)));
|
|
34
34
|
return Disposable.None;
|
|
@@ -46,7 +46,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
46
46
|
}
|
|
47
47
|
doProvideWithoutEditorSymbols(context, model, picker, token) {
|
|
48
48
|
const disposables = ( (new DisposableStore()));
|
|
49
|
-
this.provideLabelPick(picker, ( localize(
|
|
49
|
+
this.provideLabelPick(picker, ( localize(4625, "The active text editor does not provide symbol information.")));
|
|
50
50
|
(async () => {
|
|
51
51
|
const result = await this.waitForLanguageSymbolRegistry(model, disposables);
|
|
52
52
|
if (!result || token.isCancellationRequested) {
|
|
@@ -117,10 +117,10 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
119
119
|
if (query.original.length > 0) {
|
|
120
|
-
this.provideLabelPick(picker, ( localize(
|
|
120
|
+
this.provideLabelPick(picker, ( localize(4626, "No matching editor symbols")));
|
|
121
121
|
}
|
|
122
122
|
else {
|
|
123
|
-
this.provideLabelPick(picker, ( localize(
|
|
123
|
+
this.provideLabelPick(picker, ( localize(4627, "No editor symbols")));
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -162,7 +162,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
162
162
|
if (openSideBySideDirection) {
|
|
163
163
|
buttons = [{
|
|
164
164
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
165
|
-
tooltip: openSideBySideDirection === 'right' ? ( localize(
|
|
165
|
+
tooltip: openSideBySideDirection === 'right' ? ( localize(4628, "Open to the Side")) : ( localize(4629, "Open to the Bottom"))
|
|
166
166
|
}];
|
|
167
167
|
}
|
|
168
168
|
const filteredSymbolPicks = [];
|
|
@@ -262,7 +262,7 @@ let AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
262
262
|
}
|
|
263
263
|
else if (sortedFilteredSymbolPicks.length > 0) {
|
|
264
264
|
symbolPicks = [
|
|
265
|
-
{ label: ( localize(
|
|
265
|
+
{ label: ( localize(4630, "symbols ({0})", filteredSymbolPicks.length)), type: 'separator' },
|
|
266
266
|
...sortedFilteredSymbolPicks
|
|
267
267
|
];
|
|
268
268
|
}
|
|
@@ -309,32 +309,32 @@ AbstractGotoSymbolQuickAccessProvider = AbstractGotoSymbolQuickAccessProvider_1
|
|
|
309
309
|
( (__param(0, ILanguageFeaturesService))),
|
|
310
310
|
( (__param(1, IOutlineModelService)))
|
|
311
311
|
], AbstractGotoSymbolQuickAccessProvider)));
|
|
312
|
-
const FALLBACK_NLS_SYMBOL_KIND = ( localize(
|
|
312
|
+
const FALLBACK_NLS_SYMBOL_KIND = ( localize(4631, "properties ({0})"));
|
|
313
313
|
const NLS_SYMBOL_KIND_CACHE = {
|
|
314
|
-
[5 ]: ( localize(
|
|
315
|
-
[11 ]: ( localize(
|
|
316
|
-
[8 ]: ( localize(
|
|
317
|
-
[12 ]: ( localize(
|
|
318
|
-
[4 ]: ( localize(
|
|
319
|
-
[22 ]: ( localize(
|
|
320
|
-
[23 ]: ( localize(
|
|
321
|
-
[24 ]: ( localize(
|
|
322
|
-
[10 ]: ( localize(
|
|
323
|
-
[2 ]: ( localize(
|
|
324
|
-
[3 ]: ( localize(
|
|
325
|
-
[25 ]: ( localize(
|
|
326
|
-
[1 ]: ( localize(
|
|
327
|
-
[6 ]: ( localize(
|
|
328
|
-
[9 ]: ( localize(
|
|
329
|
-
[21 ]: ( localize(
|
|
330
|
-
[14 ]: ( localize(
|
|
331
|
-
[0 ]: ( localize(
|
|
332
|
-
[17 ]: ( localize(
|
|
333
|
-
[15 ]: ( localize(
|
|
334
|
-
[16 ]: ( localize(
|
|
335
|
-
[18 ]: ( localize(
|
|
336
|
-
[19 ]: ( localize(
|
|
337
|
-
[7 ]: ( localize(
|
|
338
|
-
[13 ]: ( localize(
|
|
314
|
+
[5 ]: ( localize(4632, "methods ({0})")),
|
|
315
|
+
[11 ]: ( localize(4633, "functions ({0})")),
|
|
316
|
+
[8 ]: ( localize(4634, "constructors ({0})")),
|
|
317
|
+
[12 ]: ( localize(4635, "variables ({0})")),
|
|
318
|
+
[4 ]: ( localize(4636, "classes ({0})")),
|
|
319
|
+
[22 ]: ( localize(4637, "structs ({0})")),
|
|
320
|
+
[23 ]: ( localize(4638, "events ({0})")),
|
|
321
|
+
[24 ]: ( localize(4639, "operators ({0})")),
|
|
322
|
+
[10 ]: ( localize(4640, "interfaces ({0})")),
|
|
323
|
+
[2 ]: ( localize(4641, "namespaces ({0})")),
|
|
324
|
+
[3 ]: ( localize(4642, "packages ({0})")),
|
|
325
|
+
[25 ]: ( localize(4643, "type parameters ({0})")),
|
|
326
|
+
[1 ]: ( localize(4644, "modules ({0})")),
|
|
327
|
+
[6 ]: ( localize(4631, "properties ({0})")),
|
|
328
|
+
[9 ]: ( localize(4645, "enumerations ({0})")),
|
|
329
|
+
[21 ]: ( localize(4646, "enumeration members ({0})")),
|
|
330
|
+
[14 ]: ( localize(4647, "strings ({0})")),
|
|
331
|
+
[0 ]: ( localize(4648, "files ({0})")),
|
|
332
|
+
[17 ]: ( localize(4649, "arrays ({0})")),
|
|
333
|
+
[15 ]: ( localize(4650, "numbers ({0})")),
|
|
334
|
+
[16 ]: ( localize(4651, "booleans ({0})")),
|
|
335
|
+
[18 ]: ( localize(4652, "objects ({0})")),
|
|
336
|
+
[19 ]: ( localize(4653, "keys ({0})")),
|
|
337
|
+
[7 ]: ( localize(4654, "fields ({0})")),
|
|
338
|
+
[13 ]: ( localize(4655, "constants ({0})"))
|
|
339
339
|
};
|
|
340
340
|
export { AbstractGotoSymbolQuickAccessProvider };
|
|
@@ -11,20 +11,20 @@ class ToggleStickyScroll extends Action2 {
|
|
|
11
11
|
super({
|
|
12
12
|
id: 'editor.action.toggleStickyScroll',
|
|
13
13
|
title: {
|
|
14
|
-
...( localize2(
|
|
15
|
-
mnemonicTitle: ( localize(
|
|
14
|
+
...( localize2(5208, "Toggle Editor Sticky Scroll")),
|
|
15
|
+
mnemonicTitle: ( localize(5209, "&&Toggle Editor Sticky Scroll")),
|
|
16
16
|
},
|
|
17
17
|
metadata: {
|
|
18
18
|
description: ( localize2(
|
|
19
|
-
|
|
19
|
+
5210,
|
|
20
20
|
"Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"
|
|
21
21
|
)),
|
|
22
22
|
},
|
|
23
23
|
category: Categories.View,
|
|
24
24
|
toggled: {
|
|
25
25
|
condition: ( (ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true))),
|
|
26
|
-
title: ( localize(
|
|
27
|
-
mnemonicTitle: ( localize(
|
|
26
|
+
title: ( localize(5211, "Sticky Scroll")),
|
|
27
|
+
mnemonicTitle: ( localize(5212, "&&Sticky Scroll")),
|
|
28
28
|
},
|
|
29
29
|
menu: [
|
|
30
30
|
{ id: MenuId.CommandPalette },
|
|
@@ -45,8 +45,8 @@ class FocusStickyScroll extends EditorAction2 {
|
|
|
45
45
|
super({
|
|
46
46
|
id: 'editor.action.focusStickyScroll',
|
|
47
47
|
title: {
|
|
48
|
-
...( localize2(
|
|
49
|
-
mnemonicTitle: ( localize(
|
|
48
|
+
...( localize2(5213, "Focus on the editor sticky scroll")),
|
|
49
|
+
mnemonicTitle: ( localize(5214, "&&Focus Sticky Scroll")),
|
|
50
50
|
},
|
|
51
51
|
precondition: ( (ContextKeyExpr.and(
|
|
52
52
|
(ContextKeyExpr.has('config.editor.stickyScroll.enabled')),
|
|
@@ -65,7 +65,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
|
|
|
65
65
|
constructor() {
|
|
66
66
|
super({
|
|
67
67
|
id: 'editor.action.selectNextStickyScrollLine',
|
|
68
|
-
title: ( localize2(
|
|
68
|
+
title: ( localize2(5215, "Select the next editor sticky scroll line")),
|
|
69
69
|
precondition: ( (EditorContextKeys.stickyScrollFocused.isEqualTo(true))),
|
|
70
70
|
keybinding: {
|
|
71
71
|
weight,
|
|
@@ -81,7 +81,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
|
|
|
81
81
|
constructor() {
|
|
82
82
|
super({
|
|
83
83
|
id: 'editor.action.selectPreviousStickyScrollLine',
|
|
84
|
-
title: ( localize2(
|
|
84
|
+
title: ( localize2(5216, "Select the previous sticky scroll line")),
|
|
85
85
|
precondition: ( (EditorContextKeys.stickyScrollFocused.isEqualTo(true))),
|
|
86
86
|
keybinding: {
|
|
87
87
|
weight,
|
|
@@ -97,7 +97,7 @@ class GoToStickyScrollLine extends EditorAction2 {
|
|
|
97
97
|
constructor() {
|
|
98
98
|
super({
|
|
99
99
|
id: 'editor.action.goToFocusedStickyScrollLine',
|
|
100
|
-
title: ( localize2(
|
|
100
|
+
title: ( localize2(5217, "Go to the focused sticky scroll line")),
|
|
101
101
|
precondition: ( (EditorContextKeys.stickyScrollFocused.isEqualTo(true))),
|
|
102
102
|
keybinding: {
|
|
103
103
|
weight,
|
|
@@ -113,7 +113,7 @@ class SelectEditor extends EditorAction2 {
|
|
|
113
113
|
constructor() {
|
|
114
114
|
super({
|
|
115
115
|
id: 'editor.action.selectEditor',
|
|
116
|
-
title: ( localize2(
|
|
116
|
+
title: ( localize2(5218, "Select Editor")),
|
|
117
117
|
precondition: ( (EditorContextKeys.stickyScrollFocused.isEqualTo(true))),
|
|
118
118
|
keybinding: {
|
|
119
119
|
weight,
|
|
@@ -17,21 +17,21 @@ import { ILanguageFeaturesService } from '../../../common/services/languageFeatu
|
|
|
17
17
|
import { historyNavigationVisible } from '../../../../platform/history/browser/contextScopedHistoryWidget.js';
|
|
18
18
|
const Context = {
|
|
19
19
|
Visible: historyNavigationVisible,
|
|
20
|
-
HasFocusedSuggestion: ( (new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(
|
|
21
|
-
DetailsVisible: ( (new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(
|
|
22
|
-
MultipleSuggestions: ( (new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(
|
|
20
|
+
HasFocusedSuggestion: ( (new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(5200, "Whether any suggestion is focused"))))),
|
|
21
|
+
DetailsVisible: ( (new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(5201, "Whether suggestion details are visible"))))),
|
|
22
|
+
MultipleSuggestions: ( (new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(5202, "Whether there are multiple suggestions to pick from"))))),
|
|
23
23
|
MakesTextEdit: ( (new RawContextKey('suggestionMakesTextEdit', true, ( localize(
|
|
24
|
-
|
|
24
|
+
5203,
|
|
25
25
|
"Whether inserting the current suggestion yields in a change or has everything already been typed"
|
|
26
26
|
))))),
|
|
27
|
-
AcceptSuggestionsOnEnter: ( (new RawContextKey('acceptSuggestionOnEnter', true, ( localize(
|
|
28
|
-
HasInsertAndReplaceRange: ( (new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(
|
|
27
|
+
AcceptSuggestionsOnEnter: ( (new RawContextKey('acceptSuggestionOnEnter', true, ( localize(5204, "Whether suggestions are inserted when pressing Enter"))))),
|
|
28
|
+
HasInsertAndReplaceRange: ( (new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(5205, "Whether the current suggestion has insert and replace behaviour"))))),
|
|
29
29
|
InsertMode: ( (new RawContextKey(
|
|
30
30
|
'suggestionInsertMode',
|
|
31
31
|
undefined,
|
|
32
|
-
{ type: 'string', description: ( localize(
|
|
32
|
+
{ type: 'string', description: ( localize(5206, "Whether the default behaviour is to insert or replace")) }
|
|
33
33
|
))),
|
|
34
|
-
CanResolve: ( (new RawContextKey('suggestionCanResolve', false, ( localize(
|
|
34
|
+
CanResolve: ( (new RawContextKey('suggestionCanResolve', false, ( localize(5207, "Whether the current suggestion supports to resolve further details"))))),
|
|
35
35
|
};
|
|
36
36
|
const suggestWidgetStatusbarMenu = ( (new MenuId('suggestWidgetStatusBar')));
|
|
37
37
|
class CompletionItem {
|
|
@@ -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(1591, '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
|
+
1592,
|
|
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(1593, "Pressing Tab will now move focus to the next focusable element")));
|
|
32
32
|
}
|
|
33
33
|
else {
|
|
34
|
-
alert(( localize(
|
|
34
|
+
alert(( localize(1594, "Pressing Tab will now insert the tab character")));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -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(1600, '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(1601, '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(1602, '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(1603, '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(1604, '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
|
+
1605,
|
|
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
|
+
1606,
|
|
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(1607, 'The character {0} is invisible.', codePointStr));
|
|
375
375
|
break;
|
|
376
376
|
case 2 :
|
|
377
|
-
reason = ( localize(
|
|
377
|
+
reason = ( localize(1608, '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(1609, '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(1610, '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(1611, '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(1612, '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(1613, '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(1614, '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(1615, '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(1616, '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(1617, '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(1618, '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(1619, '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(1620, "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
|
+
1621,
|
|
581
581
|
'Exclude {0} (invisible character) from being highlighted',
|
|
582
582
|
codePointToHex(codePoint)
|
|
583
583
|
));
|
|
584
584
|
}
|
|
585
585
|
return ( localize(
|
|
586
|
-
|
|
586
|
+
1622,
|
|
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
|
+
1623,
|
|
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(1595, "Unusual Line Terminators")),
|
|
71
|
+
message: ( localize(1596, "Detected unusual line terminators")),
|
|
72
72
|
detail: ( localize(
|
|
73
|
-
|
|
73
|
+
1597,
|
|
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(1598, "&&Remove Unusual Line Terminators")),
|
|
78
|
+
cancelButton: ( localize(1599, "Ignore"))
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
finally {
|