@codingame/monaco-vscode-api 11.0.2 → 11.1.0
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/extensions.d.ts +1 -1
- package/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- 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 +15 -6
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/common/config/editorOptions.js +364 -364
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- 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/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/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- 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/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- 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/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- 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/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/layoutActions.js +129 -129
- 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/parts/editor/editorCommands.js +18 -18
- 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/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +13 -13
- 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/window.js +16 -16
- 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/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/chatQuickInputActions.js +9 -9
- 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/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/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- 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/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- 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/anythingQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +8 -8
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- 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/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- 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/keybindingsEditorModel.js +7 -7
- 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/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
|
@@ -61,7 +61,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
61
61
|
static { AnythingQuickAccessProvider_1 = this; }
|
|
62
62
|
static { this.PREFIX = ''; }
|
|
63
63
|
static { this.NO_RESULTS_PICK = {
|
|
64
|
-
label: ( localize(
|
|
64
|
+
label: ( localize(8494, "No matching results"))
|
|
65
65
|
}; }
|
|
66
66
|
static { this.MAX_RESULTS = 512; }
|
|
67
67
|
static { this.TYPING_SEARCH_DELAY = 200; }
|
|
@@ -257,7 +257,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
257
257
|
}
|
|
258
258
|
if (this.pickState.isQuickNavigating) {
|
|
259
259
|
if (picks.length > 0) {
|
|
260
|
-
picks.push({ type: 'separator', label: ( localize(
|
|
260
|
+
picks.push({ type: 'separator', label: ( localize(8495, "recently opened")) });
|
|
261
261
|
}
|
|
262
262
|
picks = historyEditorPicks;
|
|
263
263
|
}
|
|
@@ -266,7 +266,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
266
266
|
picks.push(...this.getHelpPicks(query, token, options));
|
|
267
267
|
}
|
|
268
268
|
if (historyEditorPicks.length !== 0) {
|
|
269
|
-
picks.push({ type: 'separator', label: ( localize(
|
|
269
|
+
picks.push({ type: 'separator', label: ( localize(8495, "recently opened")) });
|
|
270
270
|
picks.push(...historyEditorPicks);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
@@ -287,7 +287,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
287
287
|
return [];
|
|
288
288
|
}
|
|
289
289
|
return additionalPicks.length > 0 ? [
|
|
290
|
-
{ type: 'separator', label: this.configuration.includeSymbols ? ( localize(
|
|
290
|
+
{ type: 'separator', label: this.configuration.includeSymbols ? ( localize(8496, "file and symbol results")) : ( localize(8497, "file results")) },
|
|
291
291
|
...additionalPicks
|
|
292
292
|
] : [];
|
|
293
293
|
})(),
|
|
@@ -546,7 +546,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
546
546
|
description: helpEntry.prefix ?? provider.prefix,
|
|
547
547
|
commandCenterOrder: helpEntry.commandCenterOrder,
|
|
548
548
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
549
|
-
ariaLabel: ( localize(
|
|
549
|
+
ariaLabel: ( localize(8498, "{0}, {1}", label, helpEntry.description)),
|
|
550
550
|
accept: () => {
|
|
551
551
|
this.quickInputService.quickAccess.show(provider.prefix, {
|
|
552
552
|
preserveValue: true,
|
|
@@ -557,7 +557,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
557
557
|
}))));
|
|
558
558
|
if (this.quickChatService.enabled) {
|
|
559
559
|
providers.push({
|
|
560
|
-
label: ( localize(
|
|
560
|
+
label: ( localize(8499, "Open Quick Chat")),
|
|
561
561
|
commandCenterOrder: 30,
|
|
562
562
|
keybinding: this.keybindingService.lookupKeybinding(ASK_QUICK_QUESTION_ACTION_ID),
|
|
563
563
|
accept: () => this.quickChatService.toggle()
|
|
@@ -688,13 +688,13 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
688
688
|
buttons.push({
|
|
689
689
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
690
690
|
tooltip: openSideBySideDirection === 'right' ?
|
|
691
|
-
( localize(
|
|
692
|
-
( localize(
|
|
691
|
+
( localize(8500, "Open to the Side")) :
|
|
692
|
+
( localize(8501, "Open to the Bottom"))
|
|
693
693
|
});
|
|
694
694
|
if (isEditorHistoryEntry) {
|
|
695
695
|
buttons.push({
|
|
696
696
|
iconClass: isDirty ? ('dirty-anything ' + ThemeIcon.asClassName(Codicon.circleFilled)) : ThemeIcon.asClassName(Codicon.close),
|
|
697
|
-
tooltip: ( localize(
|
|
697
|
+
tooltip: ( localize(8502, "Remove from Recently Opened")),
|
|
698
698
|
alwaysVisible: isDirty
|
|
699
699
|
});
|
|
700
700
|
}
|
|
@@ -703,7 +703,7 @@ let AnythingQuickAccessProvider = class AnythingQuickAccessProvider extends Pick
|
|
|
703
703
|
return {
|
|
704
704
|
resource,
|
|
705
705
|
label,
|
|
706
|
-
ariaLabel: isDirty ? ( localize(
|
|
706
|
+
ariaLabel: isDirty ? ( localize(8503, "{0} unsaved changes", labelAndDescription)) : labelAndDescription,
|
|
707
707
|
description,
|
|
708
708
|
get iconClasses() { return iconClassesValue.value; },
|
|
709
709
|
get buttons() { return buttonsValue.value; },
|
|
@@ -4,7 +4,7 @@ import { VIEW_ID } from '../../../services/search/common/search.js';
|
|
|
4
4
|
import { isSearchTreeFileMatch, isSearchTreeMatch, isSearchTreeFolderMatch } from './searchTreeModel/searchTreeCommon.js';
|
|
5
5
|
import { searchComparer } from './searchCompare.js';
|
|
6
6
|
|
|
7
|
-
const category = ( localize2(
|
|
7
|
+
const category = ( localize2(8641, "Search"));
|
|
8
8
|
function isSearchViewFocused(viewsService) {
|
|
9
9
|
const searchView = getSearchView(viewsService);
|
|
10
10
|
return !!(searchView && isAncestorOfActiveElement(searchView.getContainer()));
|
|
@@ -29,7 +29,7 @@ registerAction2(class RestrictSearchToFolderAction extends Action2 {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
31
|
id: "search.action.restrictSearchToFolder" ,
|
|
32
|
-
title: ( localize2(
|
|
32
|
+
title: ( localize2(8593, "Restrict Search to Folder")),
|
|
33
33
|
category,
|
|
34
34
|
keybinding: {
|
|
35
35
|
weight: 200 ,
|
|
@@ -54,7 +54,7 @@ registerAction2(class ExpandSelectedTreeCommandAction extends Action2 {
|
|
|
54
54
|
constructor() {
|
|
55
55
|
super({
|
|
56
56
|
id: "search.action.expandRecursively" ,
|
|
57
|
-
title: ( localize(
|
|
57
|
+
title: ( localize(8594, "Expand Recursively")),
|
|
58
58
|
category,
|
|
59
59
|
menu: [{
|
|
60
60
|
id: MenuId.SearchContext,
|
|
@@ -72,7 +72,7 @@ registerAction2(class ExcludeFolderFromSearchAction extends Action2 {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
super({
|
|
74
74
|
id: "search.action.excludeFromSearch" ,
|
|
75
|
-
title: ( localize2(
|
|
75
|
+
title: ( localize2(8595, "Exclude Folder from Search")),
|
|
76
76
|
category,
|
|
77
77
|
menu: [
|
|
78
78
|
{
|
|
@@ -92,7 +92,7 @@ registerAction2(class RevealInSideBarForSearchResultsAction extends Action2 {
|
|
|
92
92
|
constructor() {
|
|
93
93
|
super({
|
|
94
94
|
id: "search.action.revealInSideBar" ,
|
|
95
|
-
title: ( localize2(
|
|
95
|
+
title: ( localize2(8596, "Reveal in Explorer View")),
|
|
96
96
|
category,
|
|
97
97
|
menu: [{
|
|
98
98
|
id: MenuId.SearchContext,
|
|
@@ -137,14 +137,14 @@ registerAction2(class FindInFilesAction extends Action2 {
|
|
|
137
137
|
super({
|
|
138
138
|
id: "workbench.action.findInFiles" ,
|
|
139
139
|
title: {
|
|
140
|
-
...( localize2(
|
|
141
|
-
mnemonicTitle: ( localize(
|
|
140
|
+
...( localize2(8597, "Find in Files")),
|
|
141
|
+
mnemonicTitle: ( localize(8598, "Find &&in Files")),
|
|
142
142
|
},
|
|
143
143
|
metadata: {
|
|
144
|
-
description: ( localize(
|
|
144
|
+
description: ( localize(8599, "Open a workspace search")),
|
|
145
145
|
args: [
|
|
146
146
|
{
|
|
147
|
-
name: ( localize(
|
|
147
|
+
name: ( localize(8600, "A set of options for the search")),
|
|
148
148
|
schema: {
|
|
149
149
|
type: 'object',
|
|
150
150
|
properties: {
|
|
@@ -186,7 +186,7 @@ registerAction2(class FindInFolderAction extends Action2 {
|
|
|
186
186
|
constructor() {
|
|
187
187
|
super({
|
|
188
188
|
id: "filesExplorer.findInFolder" ,
|
|
189
|
-
title: ( localize2(
|
|
189
|
+
title: ( localize2(8601, "Find in Folder...")),
|
|
190
190
|
category,
|
|
191
191
|
keybinding: {
|
|
192
192
|
weight: 200 ,
|
|
@@ -211,7 +211,7 @@ registerAction2(class FindInWorkspaceAction extends Action2 {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: "filesExplorer.findInWorkspace" ,
|
|
214
|
-
title: ( localize2(
|
|
214
|
+
title: ( localize2(8602, "Find in Workspace...")),
|
|
215
215
|
category,
|
|
216
216
|
menu: [
|
|
217
217
|
{
|
|
@@ -15,7 +15,7 @@ registerAction2(class ClearSearchHistoryCommandAction extends Action2 {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: "search.action.clearHistory" ,
|
|
18
|
-
title: ( localize2(
|
|
18
|
+
title: ( localize2(8625, "Clear Search History")),
|
|
19
19
|
category,
|
|
20
20
|
f1: true
|
|
21
21
|
});
|
|
@@ -28,7 +28,7 @@ registerAction2(class CancelSearchAction extends Action2 {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super({
|
|
30
30
|
id: "search.action.cancel" ,
|
|
31
|
-
title: ( localize2(
|
|
31
|
+
title: ( localize2(8626, "Cancel Search")),
|
|
32
32
|
icon: searchStopIcon,
|
|
33
33
|
category,
|
|
34
34
|
f1: true,
|
|
@@ -57,7 +57,7 @@ registerAction2(class RefreshAction extends Action2 {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
super({
|
|
59
59
|
id: "search.action.refreshSearchResults" ,
|
|
60
|
-
title: ( localize2(
|
|
60
|
+
title: ( localize2(8627, "Refresh")),
|
|
61
61
|
icon: searchRefreshIcon,
|
|
62
62
|
precondition: SearchContext.ViewHasSearchPatternKey,
|
|
63
63
|
category,
|
|
@@ -81,7 +81,7 @@ registerAction2(class CollapseDeepestExpandedLevelAction extends Action2 {
|
|
|
81
81
|
constructor() {
|
|
82
82
|
super({
|
|
83
83
|
id: "search.action.collapseSearchResults" ,
|
|
84
|
-
title: ( localize2(
|
|
84
|
+
title: ( localize2(8628, "Collapse All")),
|
|
85
85
|
category,
|
|
86
86
|
icon: searchCollapseAllIcon,
|
|
87
87
|
f1: true,
|
|
@@ -108,7 +108,7 @@ registerAction2(class ExpandAllAction extends Action2 {
|
|
|
108
108
|
constructor() {
|
|
109
109
|
super({
|
|
110
110
|
id: "search.action.expandSearchResults" ,
|
|
111
|
-
title: ( localize2(
|
|
111
|
+
title: ( localize2(8629, "Expand All")),
|
|
112
112
|
category,
|
|
113
113
|
icon: searchExpandAllIcon,
|
|
114
114
|
f1: true,
|
|
@@ -136,7 +136,7 @@ registerAction2(class ClearSearchResultsAction extends Action2 {
|
|
|
136
136
|
constructor() {
|
|
137
137
|
super({
|
|
138
138
|
id: "search.action.clearSearchResults" ,
|
|
139
|
-
title: ( localize2(
|
|
139
|
+
title: ( localize2(8630, "Clear Search Results")),
|
|
140
140
|
category,
|
|
141
141
|
icon: searchClearIcon,
|
|
142
142
|
f1: true,
|
|
@@ -162,7 +162,7 @@ registerAction2(class ViewAsTreeAction extends Action2 {
|
|
|
162
162
|
constructor() {
|
|
163
163
|
super({
|
|
164
164
|
id: "search.action.viewAsTree" ,
|
|
165
|
-
title: ( localize2(
|
|
165
|
+
title: ( localize2(8631, "View as Tree")),
|
|
166
166
|
category,
|
|
167
167
|
icon: searchShowAsList,
|
|
168
168
|
f1: true,
|
|
@@ -192,7 +192,7 @@ registerAction2(class ViewAsListAction extends Action2 {
|
|
|
192
192
|
constructor() {
|
|
193
193
|
super({
|
|
194
194
|
id: "search.action.viewAsList" ,
|
|
195
|
-
title: ( localize2(
|
|
195
|
+
title: ( localize2(8632, "View as List")),
|
|
196
196
|
category,
|
|
197
197
|
icon: searchShowAsTree,
|
|
198
198
|
f1: true,
|
|
@@ -2,28 +2,28 @@ import { Codicon } from '../../../../base/common/codicons.js';
|
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
4
|
|
|
5
|
-
const searchDetailsIcon = registerIcon('search-details', Codicon.ellipsis, ( localize(
|
|
6
|
-
const searchActivityBarIcon = registerIcon('search-see-more', Codicon.goToSearch, ( localize(
|
|
7
|
-
const searchShowContextIcon = registerIcon('search-show-context', Codicon.listSelection, ( localize(
|
|
8
|
-
const searchHideReplaceIcon = registerIcon('search-hide-replace', Codicon.chevronRight, ( localize(
|
|
9
|
-
const searchShowReplaceIcon = registerIcon('search-show-replace', Codicon.chevronDown, ( localize(
|
|
10
|
-
const searchReplaceAllIcon = registerIcon('search-replace-all', Codicon.replaceAll, ( localize(
|
|
11
|
-
const searchReplaceIcon = registerIcon('search-replace', Codicon.replace, ( localize(
|
|
12
|
-
const searchRemoveIcon = registerIcon('search-remove', Codicon.close, ( localize(
|
|
13
|
-
const searchRefreshIcon = registerIcon('search-refresh', Codicon.refresh, ( localize(
|
|
14
|
-
const searchCollapseAllIcon = registerIcon('search-collapse-results', Codicon.collapseAll, ( localize(
|
|
15
|
-
const searchExpandAllIcon = registerIcon('search-expand-results', Codicon.expandAll, ( localize(
|
|
16
|
-
const searchShowAsTree = registerIcon('search-tree', Codicon.listTree, ( localize(
|
|
17
|
-
const searchShowAsList = registerIcon('search-list', Codicon.listFlat, ( localize(
|
|
18
|
-
const searchClearIcon = registerIcon('search-clear-results', Codicon.clearAll, ( localize(
|
|
19
|
-
const searchStopIcon = registerIcon('search-stop', Codicon.searchStop, ( localize(
|
|
20
|
-
const searchViewIcon = registerIcon('search-view-icon', Codicon.search, ( localize(
|
|
21
|
-
const searchNewEditorIcon = registerIcon('search-new-editor', Codicon.newFile, ( localize(
|
|
5
|
+
const searchDetailsIcon = registerIcon('search-details', Codicon.ellipsis, ( localize(8504, 'Icon to make search details visible.')));
|
|
6
|
+
const searchActivityBarIcon = registerIcon('search-see-more', Codicon.goToSearch, ( localize(8505, 'Icon to view more context in the search view.')));
|
|
7
|
+
const searchShowContextIcon = registerIcon('search-show-context', Codicon.listSelection, ( localize(8506, 'Icon for toggle the context in the search editor.')));
|
|
8
|
+
const searchHideReplaceIcon = registerIcon('search-hide-replace', Codicon.chevronRight, ( localize(8507, 'Icon to collapse the replace section in the search view.')));
|
|
9
|
+
const searchShowReplaceIcon = registerIcon('search-show-replace', Codicon.chevronDown, ( localize(8508, 'Icon to expand the replace section in the search view.')));
|
|
10
|
+
const searchReplaceAllIcon = registerIcon('search-replace-all', Codicon.replaceAll, ( localize(8509, 'Icon for replace all in the search view.')));
|
|
11
|
+
const searchReplaceIcon = registerIcon('search-replace', Codicon.replace, ( localize(8510, 'Icon for replace in the search view.')));
|
|
12
|
+
const searchRemoveIcon = registerIcon('search-remove', Codicon.close, ( localize(8511, 'Icon to remove a search result.')));
|
|
13
|
+
const searchRefreshIcon = registerIcon('search-refresh', Codicon.refresh, ( localize(8512, 'Icon for refresh in the search view.')));
|
|
14
|
+
const searchCollapseAllIcon = registerIcon('search-collapse-results', Codicon.collapseAll, ( localize(8513, 'Icon for collapse results in the search view.')));
|
|
15
|
+
const searchExpandAllIcon = registerIcon('search-expand-results', Codicon.expandAll, ( localize(8514, 'Icon for expand results in the search view.')));
|
|
16
|
+
const searchShowAsTree = registerIcon('search-tree', Codicon.listTree, ( localize(8515, 'Icon for viewing results as a tree in the search view.')));
|
|
17
|
+
const searchShowAsList = registerIcon('search-list', Codicon.listFlat, ( localize(8516, 'Icon for viewing results as a list in the search view.')));
|
|
18
|
+
const searchClearIcon = registerIcon('search-clear-results', Codicon.clearAll, ( localize(8517, 'Icon for clear results in the search view.')));
|
|
19
|
+
const searchStopIcon = registerIcon('search-stop', Codicon.searchStop, ( localize(8518, 'Icon for stop in the search view.')));
|
|
20
|
+
const searchViewIcon = registerIcon('search-view-icon', Codicon.search, ( localize(8519, 'View icon of the search view.')));
|
|
21
|
+
const searchNewEditorIcon = registerIcon('search-new-editor', Codicon.newFile, ( localize(8520, 'Icon for the action to open a new search editor.')));
|
|
22
22
|
const searchOpenInFileIcon = registerIcon('search-open-in-file', Codicon.goToFile, ( localize(
|
|
23
|
-
|
|
23
|
+
8521,
|
|
24
24
|
'Icon for the action to go to the file of the current search result.'
|
|
25
25
|
)));
|
|
26
|
-
registerIcon('search-sparkle-filled', Codicon.sparkleFilled, ( localize(
|
|
27
|
-
registerIcon('search-sparkle-empty', Codicon.sparkle, ( localize(
|
|
26
|
+
registerIcon('search-sparkle-filled', Codicon.sparkleFilled, ( localize(8522, 'Icon to show AI results in search.')));
|
|
27
|
+
registerIcon('search-sparkle-empty', Codicon.sparkle, ( localize(8523, 'Icon to hide AI results in search.')));
|
|
28
28
|
|
|
29
29
|
export { searchActivityBarIcon, searchClearIcon, searchCollapseAllIcon, searchDetailsIcon, searchExpandAllIcon, searchHideReplaceIcon, searchNewEditorIcon, searchOpenInFileIcon, searchRefreshIcon, searchRemoveIcon, searchReplaceAllIcon, searchReplaceIcon, searchShowAsList, searchShowAsTree, searchShowContextIcon, searchShowReplaceIcon, searchStopIcon, searchViewIcon };
|
|
@@ -42,7 +42,7 @@ let SymbolsQuickAccessProvider = class SymbolsQuickAccessProvider extends Picker
|
|
|
42
42
|
super(SymbolsQuickAccessProvider_1.PREFIX, {
|
|
43
43
|
canAcceptInBackground: true,
|
|
44
44
|
noResultsPick: {
|
|
45
|
-
label: ( localize(
|
|
45
|
+
label: ( localize(8587, "No matching workspace symbols"))
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
this.labelService = labelService;
|
|
@@ -150,7 +150,7 @@ let SymbolsQuickAccessProvider = class SymbolsQuickAccessProvider extends Picker
|
|
|
150
150
|
buttons: [
|
|
151
151
|
{
|
|
152
152
|
iconClass: openSideBySideDirection === 'right' ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
153
|
-
tooltip: openSideBySideDirection === 'right' ? ( localize(
|
|
153
|
+
tooltip: openSideBySideDirection === 'right' ? ( localize(8588, "Open to the Side")) : ( localize(8589, "Open to the Bottom"))
|
|
154
154
|
}
|
|
155
155
|
],
|
|
156
156
|
trigger: (buttonIndex, keyMods) => {
|
package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js
CHANGED
|
@@ -3,7 +3,7 @@ import { localize2 } from '../../../../../nls.js';
|
|
|
3
3
|
import { Action2 } from '../../../../../platform/actions/common/actions.js';
|
|
4
4
|
|
|
5
5
|
const defaultOptions = {
|
|
6
|
-
category: ( localize2(
|
|
6
|
+
category: ( localize2(10734, "Snippets")),
|
|
7
7
|
};
|
|
8
8
|
class SnippetsAction extends Action2 {
|
|
9
9
|
constructor(desc) {
|
|
@@ -25,7 +25,7 @@ class SnippetCompletion {
|
|
|
25
25
|
constructor(snippet, range) {
|
|
26
26
|
this.snippet = snippet;
|
|
27
27
|
this.label = { label: snippet.prefix, description: snippet.name };
|
|
28
|
-
this.detail = ( localize(
|
|
28
|
+
this.detail = ( localize(6665, "{0} ({1})", snippet.description || snippet.name, snippet.source));
|
|
29
29
|
this.insertText = snippet.codeSnippet;
|
|
30
30
|
this.extensionId = snippet.extensionId;
|
|
31
31
|
this.range = range;
|
|
@@ -119,14 +119,14 @@ let SnippetCompletionProvider = class SnippetCompletionProvider {
|
|
|
119
119
|
let to = i + 1;
|
|
120
120
|
for (; to < suggestions.length && item.label === suggestions[to].label; to++) {
|
|
121
121
|
suggestions[to].label.label = ( localize(
|
|
122
|
-
|
|
122
|
+
6666,
|
|
123
123
|
"{0}, {1}",
|
|
124
124
|
suggestions[to].label.label,
|
|
125
125
|
suggestions[to].snippet.name
|
|
126
126
|
));
|
|
127
127
|
}
|
|
128
128
|
if (to > i + 1) {
|
|
129
|
-
suggestions[i].label.label = ( localize(
|
|
129
|
+
suggestions[i].label.label = ( localize(6666, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
|
|
130
130
|
i = to;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -12,7 +12,7 @@ const taskDefinitionSchema = {
|
|
|
12
12
|
type: {
|
|
13
13
|
type: 'string',
|
|
14
14
|
description: ( localize(
|
|
15
|
-
|
|
15
|
+
6657,
|
|
16
16
|
'The actual task type. Please note that types starting with a \'$\' are reserved for internal usage.'
|
|
17
17
|
))
|
|
18
18
|
},
|
|
@@ -24,7 +24,7 @@ const taskDefinitionSchema = {
|
|
|
24
24
|
},
|
|
25
25
|
properties: {
|
|
26
26
|
type: 'object',
|
|
27
|
-
description: ( localize(
|
|
27
|
+
description: ( localize(6658, 'Additional properties of the task type')),
|
|
28
28
|
additionalProperties: {
|
|
29
29
|
$ref: 'http://json-schema.org/draft-07/schema#'
|
|
30
30
|
}
|
|
@@ -32,7 +32,7 @@ const taskDefinitionSchema = {
|
|
|
32
32
|
when: {
|
|
33
33
|
type: 'string',
|
|
34
34
|
markdownDescription: ( localize(
|
|
35
|
-
|
|
35
|
+
6659,
|
|
36
36
|
'Condition which must be true to enable this type of task. Consider using `shellExecutionSupported`, `processExecutionSupported`, and `customExecutionSupported` as appropriate for this task definition. See the [API documentation](https://code.visualstudio.com/api/extension-guides/task-provider#when-clause) for more information.'
|
|
37
37
|
)),
|
|
38
38
|
default: ''
|
|
@@ -48,7 +48,7 @@ var Configuration;
|
|
|
48
48
|
const taskType = isString(value.type) ? value.type : undefined;
|
|
49
49
|
if (!taskType || taskType.length === 0) {
|
|
50
50
|
messageCollector.error(( localize(
|
|
51
|
-
|
|
51
|
+
6660,
|
|
52
52
|
'The task type configuration is missing the required \'taskType\' property'
|
|
53
53
|
)));
|
|
54
54
|
return undefined;
|
|
@@ -80,7 +80,7 @@ const taskDefinitionsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
jsonSchema: {
|
|
83
|
-
description: ( localize(
|
|
83
|
+
description: ( localize(6661, 'Contributes task kinds')),
|
|
84
84
|
type: 'array',
|
|
85
85
|
items: taskDefinitionSchema
|
|
86
86
|
}
|
|
@@ -2,19 +2,19 @@ import { localize } from '../../../../nls.js';
|
|
|
2
2
|
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
|
|
4
4
|
const CustomExecutionSupportedContext = ( (new RawContextKey('customExecutionSupported', false, ( localize(
|
|
5
|
-
|
|
5
|
+
6564,
|
|
6
6
|
"Whether CustomExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
7
7
|
)))));
|
|
8
8
|
const ShellExecutionSupportedContext = ( (new RawContextKey('shellExecutionSupported', false, ( localize(
|
|
9
|
-
|
|
9
|
+
6565,
|
|
10
10
|
"Whether ShellExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
11
11
|
)))));
|
|
12
|
-
const TaskCommandsRegistered = ( (new RawContextKey('taskCommandsRegistered', false, ( localize(
|
|
12
|
+
const TaskCommandsRegistered = ( (new RawContextKey('taskCommandsRegistered', false, ( localize(6566, "Whether the task commands have been registered yet")))));
|
|
13
13
|
const ProcessExecutionSupportedContext = ( (new RawContextKey('processExecutionSupported', false, ( localize(
|
|
14
|
-
|
|
14
|
+
6567,
|
|
15
15
|
"Whether ProcessExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
16
16
|
)))));
|
|
17
|
-
const ServerlessWebContext = ( (new RawContextKey('serverlessWebContext', false, ( localize(
|
|
17
|
+
const ServerlessWebContext = ( (new RawContextKey('serverlessWebContext', false, ( localize(6568, "True when in the web with no remote authority.")))));
|
|
18
18
|
const TaskExecutionSupportedContext = ( (ContextKeyExpr.or(
|
|
19
19
|
(ContextKeyExpr.and(ShellExecutionSupportedContext, ProcessExecutionSupportedContext)),
|
|
20
20
|
CustomExecutionSupportedContext
|
|
@@ -15,7 +15,7 @@ import { PANEL_BORDER, EDITOR_DRAG_AND_DROP_BACKGROUND, TAB_ACTIVE_BORDER } from
|
|
|
15
15
|
|
|
16
16
|
const ansiColorIdentifiers = [];
|
|
17
17
|
const TERMINAL_BACKGROUND_COLOR = registerColor('terminal.background', null, ( localize(
|
|
18
|
-
|
|
18
|
+
9378,
|
|
19
19
|
'The background color of the terminal, this allows coloring the terminal differently to the panel.'
|
|
20
20
|
)));
|
|
21
21
|
const TERMINAL_FOREGROUND_COLOR = registerColor('terminal.foreground', {
|
|
@@ -23,20 +23,20 @@ const TERMINAL_FOREGROUND_COLOR = registerColor('terminal.foreground', {
|
|
|
23
23
|
dark: '#CCCCCC',
|
|
24
24
|
hcDark: '#FFFFFF',
|
|
25
25
|
hcLight: '#292929'
|
|
26
|
-
}, ( localize(
|
|
27
|
-
const TERMINAL_CURSOR_FOREGROUND_COLOR = registerColor('terminalCursor.foreground', null, ( localize(
|
|
26
|
+
}, ( localize(9379, 'The foreground color of the terminal.')));
|
|
27
|
+
const TERMINAL_CURSOR_FOREGROUND_COLOR = registerColor('terminalCursor.foreground', null, ( localize(9380, 'The foreground color of the terminal cursor.')));
|
|
28
28
|
const TERMINAL_CURSOR_BACKGROUND_COLOR = registerColor('terminalCursor.background', null, ( localize(
|
|
29
|
-
|
|
29
|
+
9381,
|
|
30
30
|
'The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.'
|
|
31
31
|
)));
|
|
32
|
-
const TERMINAL_SELECTION_BACKGROUND_COLOR = registerColor('terminal.selectionBackground', editorSelectionBackground, ( localize(
|
|
32
|
+
const TERMINAL_SELECTION_BACKGROUND_COLOR = registerColor('terminal.selectionBackground', editorSelectionBackground, ( localize(9382, 'The selection background color of the terminal.')));
|
|
33
33
|
const TERMINAL_INACTIVE_SELECTION_BACKGROUND_COLOR = registerColor('terminal.inactiveSelectionBackground', {
|
|
34
34
|
light: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5))),
|
|
35
35
|
dark: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5))),
|
|
36
36
|
hcDark: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.7))),
|
|
37
37
|
hcLight: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5)))
|
|
38
38
|
}, ( localize(
|
|
39
|
-
|
|
39
|
+
9383,
|
|
40
40
|
'The selection background color of the terminal when it does not have focus.'
|
|
41
41
|
)));
|
|
42
42
|
const TERMINAL_SELECTION_FOREGROUND_COLOR = registerColor('terminal.selectionForeground', {
|
|
@@ -45,7 +45,7 @@ const TERMINAL_SELECTION_FOREGROUND_COLOR = registerColor('terminal.selectionFor
|
|
|
45
45
|
hcDark: '#000000',
|
|
46
46
|
hcLight: '#ffffff'
|
|
47
47
|
}, ( localize(
|
|
48
|
-
|
|
48
|
+
9384,
|
|
49
49
|
'The selection foreground color of the terminal. When this is null the selection foreground will be retained and have the minimum contrast ratio feature applied.'
|
|
50
50
|
)));
|
|
51
51
|
const TERMINAL_COMMAND_DECORATION_DEFAULT_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.defaultBackground', {
|
|
@@ -53,14 +53,14 @@ const TERMINAL_COMMAND_DECORATION_DEFAULT_BACKGROUND_COLOR = registerColor('term
|
|
|
53
53
|
dark: '#ffffff40',
|
|
54
54
|
hcDark: '#ffffff80',
|
|
55
55
|
hcLight: '#00000040',
|
|
56
|
-
}, ( localize(
|
|
56
|
+
}, ( localize(9385, 'The default terminal command decoration background color.')));
|
|
57
57
|
const TERMINAL_COMMAND_DECORATION_SUCCESS_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.successBackground', {
|
|
58
58
|
dark: '#1B81A8',
|
|
59
59
|
light: '#2090D3',
|
|
60
60
|
hcDark: '#1B81A8',
|
|
61
61
|
hcLight: '#007100'
|
|
62
62
|
}, ( localize(
|
|
63
|
-
|
|
63
|
+
9386,
|
|
64
64
|
'The terminal command decoration background color for successful commands.'
|
|
65
65
|
)));
|
|
66
66
|
const TERMINAL_COMMAND_DECORATION_ERROR_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.errorBackground', {
|
|
@@ -69,38 +69,38 @@ const TERMINAL_COMMAND_DECORATION_ERROR_BACKGROUND_COLOR = registerColor('termin
|
|
|
69
69
|
hcDark: '#F14C4C',
|
|
70
70
|
hcLight: '#B5200D'
|
|
71
71
|
}, ( localize(
|
|
72
|
-
|
|
72
|
+
9387,
|
|
73
73
|
'The terminal command decoration background color for error commands.'
|
|
74
74
|
)));
|
|
75
|
-
const TERMINAL_OVERVIEW_RULER_CURSOR_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.cursorForeground', '#A0A0A0CC', ( localize(
|
|
75
|
+
const TERMINAL_OVERVIEW_RULER_CURSOR_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.cursorForeground', '#A0A0A0CC', ( localize(9388, 'The overview ruler cursor color.')));
|
|
76
76
|
registerColor('terminal.border', PANEL_BORDER, ( localize(
|
|
77
|
-
|
|
77
|
+
9389,
|
|
78
78
|
'The color of the border that separates split panes within the terminal. This defaults to panel.border.'
|
|
79
79
|
)));
|
|
80
|
-
const TERMINAL_OVERVIEW_RULER_BORDER_COLOR = registerColor('terminalOverviewRuler.border', editorOverviewRulerBorder, ( localize(
|
|
80
|
+
const TERMINAL_OVERVIEW_RULER_BORDER_COLOR = registerColor('terminalOverviewRuler.border', editorOverviewRulerBorder, ( localize(9390, 'The overview ruler left-side border color.')));
|
|
81
81
|
const TERMINAL_FIND_MATCH_BACKGROUND_COLOR = registerColor('terminal.findMatchBackground', {
|
|
82
82
|
dark: editorFindMatch,
|
|
83
83
|
light: editorFindMatch,
|
|
84
84
|
hcDark: null,
|
|
85
85
|
hcLight: '#0F4A85'
|
|
86
86
|
}, ( localize(
|
|
87
|
-
|
|
87
|
+
9391,
|
|
88
88
|
'Color of the current search match in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
|
|
89
89
|
)), true);
|
|
90
|
-
registerColor('terminal.hoverHighlightBackground', ( (transparent(editorHoverHighlight, 0.5))), ( localize(
|
|
90
|
+
registerColor('terminal.hoverHighlightBackground', ( (transparent(editorHoverHighlight, 0.5))), ( localize(9392, 'Border color of the other search matches in the terminal.')));
|
|
91
91
|
const TERMINAL_FIND_MATCH_BORDER_COLOR = registerColor('terminal.findMatchBorder', {
|
|
92
92
|
dark: null,
|
|
93
93
|
light: null,
|
|
94
94
|
hcDark: '#f38518',
|
|
95
95
|
hcLight: '#0F4A85'
|
|
96
|
-
}, ( localize(
|
|
96
|
+
}, ( localize(9393, 'Border color of the current search match in the terminal.')));
|
|
97
97
|
const TERMINAL_FIND_MATCH_HIGHLIGHT_BACKGROUND_COLOR = registerColor('terminal.findMatchHighlightBackground', {
|
|
98
98
|
dark: editorFindMatchHighlight,
|
|
99
99
|
light: editorFindMatchHighlight,
|
|
100
100
|
hcDark: null,
|
|
101
101
|
hcLight: null
|
|
102
102
|
}, ( localize(
|
|
103
|
-
|
|
103
|
+
9394,
|
|
104
104
|
'Color of the other search matches in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
|
|
105
105
|
)), true);
|
|
106
106
|
const TERMINAL_FIND_MATCH_HIGHLIGHT_BORDER_COLOR = registerColor('terminal.findMatchHighlightBorder', {
|
|
@@ -108,19 +108,19 @@ const TERMINAL_FIND_MATCH_HIGHLIGHT_BORDER_COLOR = registerColor('terminal.findM
|
|
|
108
108
|
light: null,
|
|
109
109
|
hcDark: '#f38518',
|
|
110
110
|
hcLight: '#0F4A85'
|
|
111
|
-
}, ( localize(
|
|
111
|
+
}, ( localize(9392, 'Border color of the other search matches in the terminal.')));
|
|
112
112
|
const TERMINAL_OVERVIEW_RULER_FIND_MATCH_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.findMatchForeground', {
|
|
113
113
|
dark: overviewRulerFindMatchForeground,
|
|
114
114
|
light: overviewRulerFindMatchForeground,
|
|
115
115
|
hcDark: '#f38518',
|
|
116
116
|
hcLight: '#0F4A85'
|
|
117
|
-
}, ( localize(
|
|
117
|
+
}, ( localize(9395, 'Overview ruler marker color for find matches in the terminal.')));
|
|
118
118
|
registerColor('terminal.dropBackground', EDITOR_DRAG_AND_DROP_BACKGROUND, ( localize(
|
|
119
|
-
|
|
119
|
+
9396,
|
|
120
120
|
"Background color when dragging on top of terminals. The color should have transparency so that the terminal contents can still shine through."
|
|
121
121
|
)), true);
|
|
122
122
|
registerColor('terminal.tab.activeBorder', TAB_ACTIVE_BORDER, ( localize(
|
|
123
|
-
|
|
123
|
+
9397,
|
|
124
124
|
'Border on the side of the terminal tab in the panel. This defaults to tab.activeBorder.'
|
|
125
125
|
)));
|
|
126
126
|
registerColor('terminal.initialHintForeground', {
|
|
@@ -128,7 +128,7 @@ registerColor('terminal.initialHintForeground', {
|
|
|
128
128
|
light: '#0007',
|
|
129
129
|
hcDark: null,
|
|
130
130
|
hcLight: null
|
|
131
|
-
}, ( localize(
|
|
131
|
+
}, ( localize(9398, 'Foreground color of the terminal initial hint.')));
|
|
132
132
|
const ansiColorMap = {
|
|
133
133
|
'terminal.ansiBlack': {
|
|
134
134
|
index: 0,
|
|
@@ -279,7 +279,7 @@ function registerColors() {
|
|
|
279
279
|
for (const id in ansiColorMap) {
|
|
280
280
|
const entry = ansiColorMap[id];
|
|
281
281
|
const colorName = id.substring(13);
|
|
282
|
-
ansiColorIdentifiers[entry.index] = registerColor(id, entry.defaults, ( localize(
|
|
282
|
+
ansiColorIdentifiers[entry.index] = registerColor(id, entry.defaults, ( localize(9399, '\'{0}\' ANSI color in the terminal.', colorName)));
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -11,7 +11,7 @@ const TRUSTED_DOMAINS_CONTENT_STORAGE_KEY = 'http.linkProtectionTrustedDomainsCo
|
|
|
11
11
|
const manageTrustedDomainSettingsCommand = {
|
|
12
12
|
id: 'workbench.action.manageTrustedDomain',
|
|
13
13
|
description: {
|
|
14
|
-
description: ( localize2(
|
|
14
|
+
description: ( localize2(4665, 'Manage Trusted Domains')),
|
|
15
15
|
args: []
|
|
16
16
|
},
|
|
17
17
|
handler: async (accessor) => {
|
|
@@ -28,7 +28,7 @@ async function configureOpenerTrustedDomainsHandler(trustedDomains, domainToConf
|
|
|
28
28
|
const options = [];
|
|
29
29
|
options.push({
|
|
30
30
|
type: 'item',
|
|
31
|
-
label: ( localize(
|
|
31
|
+
label: ( localize(4666, 'Trust {0}', domainToConfigure)),
|
|
32
32
|
id: 'trust',
|
|
33
33
|
toTrust: domainToConfigure,
|
|
34
34
|
picked: true
|
|
@@ -40,7 +40,7 @@ async function configureOpenerTrustedDomainsHandler(trustedDomains, domainToConf
|
|
|
40
40
|
const base = parsedDomainToConfigure.authority.split(':')[0];
|
|
41
41
|
options.push({
|
|
42
42
|
type: 'item',
|
|
43
|
-
label: ( localize(
|
|
43
|
+
label: ( localize(4667, 'Trust {0} on all ports', base)),
|
|
44
44
|
toTrust: base + ':*',
|
|
45
45
|
id: 'trust'
|
|
46
46
|
});
|
|
@@ -49,20 +49,20 @@ async function configureOpenerTrustedDomainsHandler(trustedDomains, domainToConf
|
|
|
49
49
|
else {
|
|
50
50
|
options.push({
|
|
51
51
|
type: 'item',
|
|
52
|
-
label: ( localize(
|
|
52
|
+
label: ( localize(4668, 'Trust {0} and all its subdomains', domainEnd)),
|
|
53
53
|
toTrust: topLevelDomain,
|
|
54
54
|
id: 'trust'
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
options.push({
|
|
58
58
|
type: 'item',
|
|
59
|
-
label: ( localize(
|
|
59
|
+
label: ( localize(4669, 'Trust all domains (disables link protection)')),
|
|
60
60
|
toTrust: '*',
|
|
61
61
|
id: 'trust'
|
|
62
62
|
});
|
|
63
63
|
options.push({
|
|
64
64
|
type: 'item',
|
|
65
|
-
label: ( localize(
|
|
65
|
+
label: ( localize(4670, 'Manage Trusted Domains')),
|
|
66
66
|
id: 'manage'
|
|
67
67
|
});
|
|
68
68
|
const pickedResult = await quickInputService.pick(options, { activeItem: options[0] });
|
|
@@ -38,7 +38,7 @@ if (CutAction) {
|
|
|
38
38
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
39
39
|
command: {
|
|
40
40
|
id: CutAction.id,
|
|
41
|
-
title: ( localize(
|
|
41
|
+
title: ( localize(4454, "Cut")),
|
|
42
42
|
},
|
|
43
43
|
group: '5_cutcopypaste',
|
|
44
44
|
order: 1,
|
|
@@ -49,7 +49,7 @@ if (CopyAction) {
|
|
|
49
49
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
50
50
|
command: {
|
|
51
51
|
id: CopyAction.id,
|
|
52
|
-
title: ( localize(
|
|
52
|
+
title: ( localize(4455, "Copy")),
|
|
53
53
|
},
|
|
54
54
|
group: '5_cutcopypaste',
|
|
55
55
|
order: 2,
|
|
@@ -60,7 +60,7 @@ if (PasteAction) {
|
|
|
60
60
|
MenuRegistry.appendMenuItem(MenuId.WebviewContext, {
|
|
61
61
|
command: {
|
|
62
62
|
id: PasteAction.id,
|
|
63
|
-
title: ( localize(
|
|
63
|
+
title: ( localize(4456, "Paste")),
|
|
64
64
|
},
|
|
65
65
|
group: '5_cutcopypaste',
|
|
66
66
|
order: 3,
|