@codingame/monaco-vscode-api 11.0.1 → 11.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- 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/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +5 -20
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.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/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- 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/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- 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/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/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/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- 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/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/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/webviewPanel/browser/webviewEditor.js +1 -1
- 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/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- 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/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/colorThemeData.js +8 -8
|
@@ -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(8527, "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(8528, "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(8528, "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(8529, "file and symbol results")) : ( localize(8530, "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(8531, "{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(8532, "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(8533, "Open to the Side")) :
|
|
692
|
+
( localize(8534, "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(8535, "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(8536, "{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(8494, "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(8606, "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(8607, "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(8608, "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(8609, "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(8610, "Find in Files")),
|
|
141
|
+
mnemonicTitle: ( localize(8611, "Find &&in Files")),
|
|
142
142
|
},
|
|
143
143
|
metadata: {
|
|
144
|
-
description: ( localize(
|
|
144
|
+
description: ( localize(8612, "Open a workspace search")),
|
|
145
145
|
args: [
|
|
146
146
|
{
|
|
147
|
-
name: ( localize(
|
|
147
|
+
name: ( localize(8613, "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(8614, "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(8615, "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(8638, "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(8639, "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(8640, "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(8641, "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(8642, "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(8643, "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(8644, "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(8645, "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(8495, 'Icon to make search details visible.')));
|
|
6
|
+
const searchActivityBarIcon = registerIcon('search-see-more', Codicon.goToSearch, ( localize(8496, 'Icon to view more context in the search view.')));
|
|
7
|
+
const searchShowContextIcon = registerIcon('search-show-context', Codicon.listSelection, ( localize(8497, 'Icon for toggle the context in the search editor.')));
|
|
8
|
+
const searchHideReplaceIcon = registerIcon('search-hide-replace', Codicon.chevronRight, ( localize(8498, 'Icon to collapse the replace section in the search view.')));
|
|
9
|
+
const searchShowReplaceIcon = registerIcon('search-show-replace', Codicon.chevronDown, ( localize(8499, 'Icon to expand the replace section in the search view.')));
|
|
10
|
+
const searchReplaceAllIcon = registerIcon('search-replace-all', Codicon.replaceAll, ( localize(8500, 'Icon for replace all in the search view.')));
|
|
11
|
+
const searchReplaceIcon = registerIcon('search-replace', Codicon.replace, ( localize(8501, 'Icon for replace in the search view.')));
|
|
12
|
+
const searchRemoveIcon = registerIcon('search-remove', Codicon.close, ( localize(8502, 'Icon to remove a search result.')));
|
|
13
|
+
const searchRefreshIcon = registerIcon('search-refresh', Codicon.refresh, ( localize(8503, 'Icon for refresh in the search view.')));
|
|
14
|
+
const searchCollapseAllIcon = registerIcon('search-collapse-results', Codicon.collapseAll, ( localize(8504, 'Icon for collapse results in the search view.')));
|
|
15
|
+
const searchExpandAllIcon = registerIcon('search-expand-results', Codicon.expandAll, ( localize(8505, 'Icon for expand results in the search view.')));
|
|
16
|
+
const searchShowAsTree = registerIcon('search-tree', Codicon.listTree, ( localize(8506, 'Icon for viewing results as a tree in the search view.')));
|
|
17
|
+
const searchShowAsList = registerIcon('search-list', Codicon.listFlat, ( localize(8507, 'Icon for viewing results as a list in the search view.')));
|
|
18
|
+
const searchClearIcon = registerIcon('search-clear-results', Codicon.clearAll, ( localize(8508, 'Icon for clear results in the search view.')));
|
|
19
|
+
const searchStopIcon = registerIcon('search-stop', Codicon.searchStop, ( localize(8509, 'Icon for stop in the search view.')));
|
|
20
|
+
const searchViewIcon = registerIcon('search-view-icon', Codicon.search, ( localize(8510, 'View icon of the search view.')));
|
|
21
|
+
const searchNewEditorIcon = registerIcon('search-new-editor', Codicon.newFile, ( localize(8511, 'Icon for the action to open a new search editor.')));
|
|
22
22
|
const searchOpenInFileIcon = registerIcon('search-open-in-file', Codicon.goToFile, ( localize(
|
|
23
|
-
|
|
23
|
+
8512,
|
|
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(8513, 'Icon to show AI results in search.')));
|
|
27
|
+
registerIcon('search-sparkle-empty', Codicon.sparkle, ( localize(8514, '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(8592, "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(8593, "Open to the Side")) : ( localize(8594, "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(10741, "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(6682, "{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
|
+
6683,
|
|
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(6683, "{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
|
+
6583,
|
|
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(6584, '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
|
+
6585,
|
|
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
|
+
6586,
|
|
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(6587, '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
|
+
6490,
|
|
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
|
+
6491,
|
|
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(6492, "Whether the task commands have been registered yet")))));
|
|
13
13
|
const ProcessExecutionSupportedContext = ( (new RawContextKey('processExecutionSupported', false, ( localize(
|
|
14
|
-
|
|
14
|
+
6493,
|
|
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(6494, "True when in the web with no remote authority.")))));
|
|
18
18
|
const TaskExecutionSupportedContext = ( (ContextKeyExpr.or(
|
|
19
19
|
(ContextKeyExpr.and(ShellExecutionSupportedContext, ProcessExecutionSupportedContext)),
|
|
20
20
|
CustomExecutionSupportedContext
|
|
@@ -21,7 +21,7 @@ import { IWorkbenchLayoutService } from '../../../services/layout/browser/layout
|
|
|
21
21
|
var WebviewEditor_1;
|
|
22
22
|
const CONTEXT_ACTIVE_WEBVIEW_PANEL_ID = ( (new RawContextKey('activeWebviewPanelId', '', {
|
|
23
23
|
type: 'string',
|
|
24
|
-
description: ( localize(
|
|
24
|
+
description: ( localize(9701, "The viewType of the currently active webview panel.")),
|
|
25
25
|
})));
|
|
26
26
|
let WebviewEditor = class WebviewEditor extends EditorPane {
|
|
27
27
|
static { WebviewEditor_1 = this; }
|
|
@@ -2,8 +2,8 @@ import { localize } from '../../../../nls.js';
|
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
|
|
4
4
|
const WorkspaceTrustContext = {
|
|
5
|
-
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(
|
|
6
|
-
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(
|
|
5
|
+
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(6635, "Whether the workspace trust feature is enabled."))))),
|
|
6
|
+
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(6636, "Whether the current workspace has been trusted by the user.")))))
|
|
7
7
|
};
|
|
8
8
|
const MANAGE_TRUST_COMMAND_ID = 'workbench.trust.manage';
|
|
9
9
|
|
|
@@ -70,14 +70,14 @@ let AuthenticationService = class AuthenticationService extends Disposable {
|
|
|
70
70
|
}
|
|
71
71
|
registerDeclaredAuthenticationProvider(provider) {
|
|
72
72
|
if (isFalsyOrWhitespace(provider.id)) {
|
|
73
|
-
throw ( new Error(localize(
|
|
73
|
+
throw ( new Error(localize(2247, 'An authentication contribution must specify an id.')));
|
|
74
74
|
}
|
|
75
75
|
if (isFalsyOrWhitespace(provider.label)) {
|
|
76
|
-
throw ( new Error(localize(
|
|
76
|
+
throw ( new Error(localize(2248, 'An authentication contribution must specify a label.')));
|
|
77
77
|
}
|
|
78
78
|
if (( this.declaredProviders.some(p => p.id === provider.id))) {
|
|
79
79
|
throw ( new Error(localize(
|
|
80
|
-
|
|
80
|
+
2249,
|
|
81
81
|
"This authentication id '{0}' has already been registered",
|
|
82
82
|
provider.id
|
|
83
83
|
)));
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
|
|
3
3
|
const idDescription = ( localize(
|
|
4
|
-
|
|
4
|
+
10713,
|
|
5
5
|
"The input's id is used to associate an input with a variable of the form ${input:id}."
|
|
6
6
|
));
|
|
7
|
-
const typeDescription = ( localize(
|
|
8
|
-
const descriptionDescription = ( localize(
|
|
9
|
-
const defaultDescription = ( localize(
|
|
7
|
+
const typeDescription = ( localize(10714, "The type of user input prompt to use."));
|
|
8
|
+
const descriptionDescription = ( localize(10715, "The description is shown when the user is prompted for input."));
|
|
9
|
+
const defaultDescription = ( localize(10716, "The default value for the input."));
|
|
10
10
|
const inputsSchema = {
|
|
11
11
|
definitions: {
|
|
12
12
|
inputs: {
|
|
13
13
|
type: 'array',
|
|
14
14
|
description: ( localize(
|
|
15
|
-
|
|
15
|
+
10717,
|
|
16
16
|
'User inputs. Used for defining user input prompts, such as free string input or a choice from several options.'
|
|
17
17
|
)),
|
|
18
18
|
items: {
|
|
@@ -32,7 +32,7 @@ const inputsSchema = {
|
|
|
32
32
|
enum: ['promptString'],
|
|
33
33
|
enumDescriptions: [
|
|
34
34
|
( localize(
|
|
35
|
-
|
|
35
|
+
10718,
|
|
36
36
|
"The 'promptString' type opens an input box to ask the user for input."
|
|
37
37
|
)),
|
|
38
38
|
]
|
|
@@ -48,7 +48,7 @@ const inputsSchema = {
|
|
|
48
48
|
password: {
|
|
49
49
|
type: 'boolean',
|
|
50
50
|
description: ( localize(
|
|
51
|
-
|
|
51
|
+
10719,
|
|
52
52
|
"Controls if a password input is shown. Password input hides the typed text."
|
|
53
53
|
)),
|
|
54
54
|
},
|
|
@@ -68,7 +68,7 @@ const inputsSchema = {
|
|
|
68
68
|
description: typeDescription,
|
|
69
69
|
enum: ['pickString'],
|
|
70
70
|
enumDescriptions: [
|
|
71
|
-
( localize(
|
|
71
|
+
( localize(10720, "The 'pickString' type shows a selection list.")),
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
74
|
description: {
|
|
@@ -81,7 +81,7 @@ const inputsSchema = {
|
|
|
81
81
|
},
|
|
82
82
|
options: {
|
|
83
83
|
type: 'array',
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(10721, "An array of strings that defines the options for a quick pick.")),
|
|
85
85
|
items: {
|
|
86
86
|
oneOf: [
|
|
87
87
|
{
|
|
@@ -94,11 +94,11 @@ const inputsSchema = {
|
|
|
94
94
|
properties: {
|
|
95
95
|
label: {
|
|
96
96
|
type: 'string',
|
|
97
|
-
description: ( localize(
|
|
97
|
+
description: ( localize(10722, "Label for the option."))
|
|
98
98
|
},
|
|
99
99
|
value: {
|
|
100
100
|
type: 'string',
|
|
101
|
-
description: ( localize(
|
|
101
|
+
description: ( localize(10723, "Value for the option."))
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -121,26 +121,26 @@ const inputsSchema = {
|
|
|
121
121
|
description: typeDescription,
|
|
122
122
|
enum: ['command'],
|
|
123
123
|
enumDescriptions: [
|
|
124
|
-
( localize(
|
|
124
|
+
( localize(10724, "The 'command' type executes a command.")),
|
|
125
125
|
]
|
|
126
126
|
},
|
|
127
127
|
command: {
|
|
128
128
|
type: 'string',
|
|
129
|
-
description: ( localize(
|
|
129
|
+
description: ( localize(10725, "The command to execute for this input variable."))
|
|
130
130
|
},
|
|
131
131
|
args: {
|
|
132
132
|
oneOf: [
|
|
133
133
|
{
|
|
134
134
|
type: 'object',
|
|
135
|
-
description: ( localize(
|
|
135
|
+
description: ( localize(10726, "Optional arguments passed to the command."))
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
type: 'array',
|
|
139
|
-
description: ( localize(
|
|
139
|
+
description: ( localize(10726, "Optional arguments passed to the command."))
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'string',
|
|
143
|
-
description: ( localize(
|
|
143
|
+
description: ( localize(10726, "Optional arguments passed to the command."))
|
|
144
144
|
}
|
|
145
145
|
]
|
|
146
146
|
}
|
package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js
CHANGED
|
@@ -4,7 +4,7 @@ function applyDeprecatedVariableMessage(schema) {
|
|
|
4
4
|
schema.pattern = schema.pattern || '^(?!.*\\$\\{(env|config|command)\\.)';
|
|
5
5
|
schema.patternErrorMessage = schema.patternErrorMessage ||
|
|
6
6
|
( localize(
|
|
7
|
-
|
|
7
|
+
10679,
|
|
8
8
|
"'env.', 'config.' and 'command.' are deprecated, use 'env:', 'config:' and 'command:' instead."
|
|
9
9
|
));
|
|
10
10
|
}
|
|
@@ -5,7 +5,7 @@ const getDefaultIconPath = () => ( (( (FileAccess.asBrowserUri('vs/workbench/ser
|
|
|
5
5
|
const extensionsConfigurationNodeBase = {
|
|
6
6
|
id: 'extensions',
|
|
7
7
|
order: 30,
|
|
8
|
-
title: ( localize(
|
|
8
|
+
title: ( localize(7344, "Extensions")),
|
|
9
9
|
type: 'object'
|
|
10
10
|
};
|
|
11
11
|
|