@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
package/api.js
CHANGED
package/missing-services.js
CHANGED
|
@@ -1223,8 +1223,8 @@ registerSingleton(IPathService, PathService, 1 );
|
|
|
1223
1223
|
class ProductService {
|
|
1224
1224
|
constructor() {
|
|
1225
1225
|
this._serviceBrand = undefined;
|
|
1226
|
-
this.version = "1.95.
|
|
1227
|
-
this.commit = "
|
|
1226
|
+
this.version = "1.95.3";
|
|
1227
|
+
this.commit = "f1a4fb101478ce6ec82fe9627c43efbf9e98c813";
|
|
1228
1228
|
this.quality = 'oss';
|
|
1229
1229
|
this.nameShort = 'Code - OSS Dev';
|
|
1230
1230
|
this.nameLong = 'Code - OSS Dev';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.2",
|
|
4
4
|
"description": "VSCode public API plugged on the monaco editor",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": {
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"@vscode/iconv-lite-umd": "0.7.0",
|
|
101
101
|
"jschardet": "3.1.4",
|
|
102
102
|
"marked": "~14.0.0",
|
|
103
|
-
"@codingame/monaco-vscode-extensions-service-override": "11.0.
|
|
104
|
-
"@codingame/monaco-vscode-files-service-override": "11.0.
|
|
105
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "11.0.
|
|
106
|
-
"@codingame/monaco-vscode-environment-service-override": "11.0.
|
|
107
|
-
"@codingame/monaco-vscode-layout-service-override": "11.0.
|
|
108
|
-
"@codingame/monaco-vscode-host-service-override": "11.0.
|
|
109
|
-
"@codingame/monaco-vscode-base-service-override": "11.0.
|
|
103
|
+
"@codingame/monaco-vscode-extensions-service-override": "11.0.2",
|
|
104
|
+
"@codingame/monaco-vscode-files-service-override": "11.0.2",
|
|
105
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "11.0.2",
|
|
106
|
+
"@codingame/monaco-vscode-environment-service-override": "11.0.2",
|
|
107
|
+
"@codingame/monaco-vscode-layout-service-override": "11.0.2",
|
|
108
|
+
"@codingame/monaco-vscode-host-service-override": "11.0.2",
|
|
109
|
+
"@codingame/monaco-vscode-base-service-override": "11.0.2"
|
|
110
110
|
}
|
|
111
111
|
}
|
package/services.js
CHANGED
|
@@ -185,9 +185,9 @@ async function initialize(overrides, container = document.body, configuration =
|
|
|
185
185
|
initialize$1(container, configuration, env);
|
|
186
186
|
const instantiationService = StandaloneServices.initialize({
|
|
187
187
|
[( IProductService.toString())]: mixin({
|
|
188
|
-
version: "1.95.
|
|
188
|
+
version: "1.95.3",
|
|
189
189
|
quality: 'stable',
|
|
190
|
-
commit: "
|
|
190
|
+
commit: "f1a4fb101478ce6ec82fe9627c43efbf9e98c813",
|
|
191
191
|
nameShort: 'Code - OSS',
|
|
192
192
|
nameLong: 'Code - OSS',
|
|
193
193
|
applicationName: 'code-oss',
|
|
@@ -30,7 +30,7 @@ class Dialog extends Disposable {
|
|
|
30
30
|
this.buttons = buttons;
|
|
31
31
|
}
|
|
32
32
|
else if (!this.options.disableDefaultAction) {
|
|
33
|
-
this.buttons = [( localize(
|
|
33
|
+
this.buttons = [( localize(9702, "OK"))];
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
36
|
this.buttons = [];
|
|
@@ -94,16 +94,16 @@ class Dialog extends Disposable {
|
|
|
94
94
|
this.applyStyles();
|
|
95
95
|
}
|
|
96
96
|
getIconAriaLabel() {
|
|
97
|
-
let typeLabel = ( localize(
|
|
97
|
+
let typeLabel = ( localize(9703, 'Info'));
|
|
98
98
|
switch (this.options.type) {
|
|
99
99
|
case 'error':
|
|
100
|
-
typeLabel = ( localize(
|
|
100
|
+
typeLabel = ( localize(9704, 'Error'));
|
|
101
101
|
break;
|
|
102
102
|
case 'warning':
|
|
103
|
-
typeLabel = ( localize(
|
|
103
|
+
typeLabel = ( localize(9705, 'Warning'));
|
|
104
104
|
break;
|
|
105
105
|
case 'pending':
|
|
106
|
-
typeLabel = ( localize(
|
|
106
|
+
typeLabel = ( localize(9706, 'In Progress'));
|
|
107
107
|
break;
|
|
108
108
|
}
|
|
109
109
|
return typeLabel;
|
|
@@ -264,7 +264,7 @@ class Dialog extends Disposable {
|
|
|
264
264
|
}
|
|
265
265
|
if (!this.options.disableCloseAction) {
|
|
266
266
|
const actionBar = this._register(( (new ActionBar(this.toolbarContainer, {}))));
|
|
267
|
-
const action = this._register(( (new Action('dialog.close', ( localize(
|
|
267
|
+
const action = this._register(( (new Action('dialog.close', ( localize(9707, "Close Dialog")), ThemeIcon.asClassName(Codicon.dialogClose), true, async () => {
|
|
268
268
|
resolve({
|
|
269
269
|
button: this.options.cancelId || 0,
|
|
270
270
|
checkboxChecked: this.checkbox ? this.checkbox.checked : undefined
|
|
@@ -129,7 +129,7 @@ class ActionWithDropdownActionViewItem extends ActionViewItem {
|
|
|
129
129
|
const separator = h('div.action-dropdown-item-separator', [h('div', {})]).root;
|
|
130
130
|
separator.classList.toggle('prominent', menuActionClassNames.includes('prominent'));
|
|
131
131
|
append(this.element, separator);
|
|
132
|
-
this.dropdownMenuActionViewItem = this._register(( (new DropdownMenuActionViewItem(this._register(( (new Action('dropdownAction', ( localize(
|
|
132
|
+
this.dropdownMenuActionViewItem = this._register(( (new DropdownMenuActionViewItem(this._register(( (new Action('dropdownAction', ( localize(7177, "More Actions...")))))), menuActionsProvider, this.contextMenuProvider, { classNames: ['dropdown', ...ThemeIcon.asClassNameArray(Codicon.dropDownButton), ...menuActionClassNames], hoverDelegate: this.options.hoverDelegate }))));
|
|
133
133
|
this.dropdownMenuActionViewItem.render(this.element);
|
|
134
134
|
this._register(addDisposableListener(this.element, EventType.KEY_DOWN, e => {
|
|
135
135
|
if (menuActionsProvider.getActions().length === 0) {
|
|
@@ -79,7 +79,7 @@ class Pane extends Disposable {
|
|
|
79
79
|
this.orthogonalSize = 0;
|
|
80
80
|
this._expanded = typeof options.expanded === 'undefined' ? true : !!options.expanded;
|
|
81
81
|
this._orientation = typeof options.orientation === 'undefined' ? 0 : options.orientation;
|
|
82
|
-
this._ariaHeaderLabel = ( localize(
|
|
82
|
+
this._ariaHeaderLabel = ( localize(10175, "{0} Section", options.title));
|
|
83
83
|
this._minimumBodySize = typeof options.minimumBodySize === 'number' ? options.minimumBodySize : this._orientation === 1 ? 200 : 120;
|
|
84
84
|
this._maximumBodySize = typeof options.maximumBodySize === 'number' ? options.maximumBodySize : Number.POSITIVE_INFINITY;
|
|
85
85
|
this.element = $('.pane');
|
|
@@ -144,7 +144,7 @@ class ToolBar extends Disposable {
|
|
|
144
144
|
class ToggleMenuAction extends Action {
|
|
145
145
|
static { this.ID = 'toolbar.toggle.more'; }
|
|
146
146
|
constructor(toggleDropdownMenu, title) {
|
|
147
|
-
title = title || ( localize(
|
|
147
|
+
title = title || ( localize(10274, "More Actions..."));
|
|
148
148
|
super(ToggleMenuAction.ID, title, undefined, true);
|
|
149
149
|
this._menuActions = [];
|
|
150
150
|
this.toggleDropdownMenu = toggleDropdownMenu;
|
|
@@ -845,7 +845,7 @@ var CoreNavigationCommands;
|
|
|
845
845
|
type: 'object',
|
|
846
846
|
properties: {
|
|
847
847
|
'sticky': {
|
|
848
|
-
description: ( localize(
|
|
848
|
+
description: ( localize(1342, "Stick to the end even when going to longer lines")),
|
|
849
849
|
type: 'boolean',
|
|
850
850
|
default: false
|
|
851
851
|
}
|
|
@@ -873,7 +873,7 @@ var CoreNavigationCommands;
|
|
|
873
873
|
type: 'object',
|
|
874
874
|
properties: {
|
|
875
875
|
'sticky': {
|
|
876
|
-
description: ( localize(
|
|
876
|
+
description: ( localize(1342, "Stick to the end even when going to longer lines")),
|
|
877
877
|
type: 'boolean',
|
|
878
878
|
default: false
|
|
879
879
|
}
|
|
@@ -1415,7 +1415,7 @@ var CoreNavigationCommands;
|
|
|
1415
1415
|
viewModel.getPrimaryCursorState()
|
|
1416
1416
|
]);
|
|
1417
1417
|
viewModel.revealAllCursors(args.source, true);
|
|
1418
|
-
status(( localize(
|
|
1418
|
+
status(( localize(1343, "Removed secondary cursors")));
|
|
1419
1419
|
}
|
|
1420
1420
|
}));
|
|
1421
1421
|
CoreNavigationCommands.RevealLine = registerEditorCommand(new (class extends CoreEditorCommand {
|
|
@@ -1302,7 +1302,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1302
1302
|
if (e.reachedMaxCursorCount) {
|
|
1303
1303
|
const multiCursorLimit = this.getOption(81 );
|
|
1304
1304
|
const message = ( localize(
|
|
1305
|
-
|
|
1305
|
+
1344,
|
|
1306
1306
|
"The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.",
|
|
1307
1307
|
multiCursorLimit
|
|
1308
1308
|
));
|
|
@@ -1314,7 +1314,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1314
1314
|
}
|
|
1315
1315
|
},
|
|
1316
1316
|
{
|
|
1317
|
-
label: ( localize(
|
|
1317
|
+
label: ( localize(1345, 'Increase Multi Cursor Limit')),
|
|
1318
1318
|
run: () => {
|
|
1319
1319
|
this._commandService.executeCommand('workbench.action.openSettings2', {
|
|
1320
1320
|
query: 'editor.multiCursorLimit'
|
|
@@ -11,6 +11,6 @@ import '../../../../platform/theme/common/colors/miscColors.js';
|
|
|
11
11
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
12
12
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
13
13
|
|
|
14
|
-
registerColor('multiDiffEditor.headerBackground', { dark: '#262626', light: 'tab.inactiveBackground', hcDark: 'tab.inactiveBackground', hcLight: 'tab.inactiveBackground', }, ( localize(
|
|
15
|
-
registerColor('multiDiffEditor.background', editorBackground, ( localize(
|
|
16
|
-
registerColor('multiDiffEditor.border', { dark: 'sideBarSectionHeader.border', light: '#cccccc', hcDark: 'sideBarSectionHeader.border', hcLight: '#cccccc', }, ( localize(
|
|
14
|
+
registerColor('multiDiffEditor.headerBackground', { dark: '#262626', light: 'tab.inactiveBackground', hcDark: 'tab.inactiveBackground', hcLight: 'tab.inactiveBackground', }, ( localize(9542, 'The background color of the diff editor\'s header')));
|
|
15
|
+
registerColor('multiDiffEditor.background', editorBackground, ( localize(9543, 'The background color of the multi file diff editor')));
|
|
16
|
+
registerColor('multiDiffEditor.border', { dark: 'sideBarSectionHeader.border', light: '#cccccc', hcDark: 'sideBarSectionHeader.border', hcLight: '#cccccc', }, ( localize(9544, 'The border color of the multi file diff editor')));
|
|
@@ -131,8 +131,8 @@ let MultiDiffEditorWidgetImpl = class MultiDiffEditorWidgetImpl extends Disposab
|
|
|
131
131
|
}
|
|
132
132
|
const vm = this._viewModel.read(reader);
|
|
133
133
|
return (!vm || vm.isLoading.read(reader))
|
|
134
|
-
? ( localize(
|
|
135
|
-
: ( localize(
|
|
134
|
+
? ( localize(9545, 'Loading...'))
|
|
135
|
+
: ( localize(9546, 'No Changed Files'));
|
|
136
136
|
});
|
|
137
137
|
this._register(autorun((reader) => {
|
|
138
138
|
const message = placeholderMessage.read(reader);
|
|
@@ -869,7 +869,7 @@ function _renderLine(input, sb) {
|
|
|
869
869
|
}
|
|
870
870
|
if (isOverflowing) {
|
|
871
871
|
sb.appendString('<span class="mtkoverflow">');
|
|
872
|
-
sb.appendString(( localize(
|
|
872
|
+
sb.appendString(( localize(9540, "Show more ({0})", renderOverflowingCharCount(overflowingCharCount))));
|
|
873
873
|
sb.appendString('</span>');
|
|
874
874
|
}
|
|
875
875
|
sb.appendString('</span>');
|
|
@@ -882,7 +882,7 @@ function to4CharHex(n) {
|
|
|
882
882
|
}
|
|
883
883
|
function renderOverflowingCharCount(n) {
|
|
884
884
|
if (n < 1024) {
|
|
885
|
-
return ( localize(
|
|
885
|
+
return ( localize(9541, "{0} chars", n));
|
|
886
886
|
}
|
|
887
887
|
if (n < 1024 * 1024) {
|
|
888
888
|
return `${(n / 1024).toFixed(1)} KB`;
|
|
@@ -9,7 +9,7 @@ import { localize } from '../../../../nls.js';
|
|
|
9
9
|
|
|
10
10
|
const IEditorCancellationTokens = ( (createDecorator('IEditorCancelService')));
|
|
11
11
|
const ctxCancellableOperation = ( (new RawContextKey('cancellableOperation', false, ( localize(
|
|
12
|
-
|
|
12
|
+
9547,
|
|
13
13
|
'Whether the editor runs a cancellable operation, e.g. like \'Peek References\''
|
|
14
14
|
)))));
|
|
15
15
|
registerSingleton(IEditorCancellationTokens, class {
|
|
@@ -241,7 +241,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
241
241
|
};
|
|
242
242
|
this._preview = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, this._previewContainer, options, {}, this.editor);
|
|
243
243
|
hide(this._previewContainer);
|
|
244
|
-
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(
|
|
244
|
+
this._previewNotAvailableMessage = this._instantiationService.createInstance(TextModel, ( localize(9982, "no preview available")), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null);
|
|
245
245
|
this._treeContainer = append(containerElement, $('div.ref-tree.inline'));
|
|
246
246
|
const treeOptions = {
|
|
247
247
|
keyboardSupport: this._defaultTreeKeyboardSupport,
|
|
@@ -347,7 +347,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
347
347
|
}
|
|
348
348
|
if (this._model.isEmpty) {
|
|
349
349
|
this.setTitle('');
|
|
350
|
-
this._messageContainer.innerText = ( localize(
|
|
350
|
+
this._messageContainer.innerText = ( localize(9983, "No results"));
|
|
351
351
|
show(this._messageContainer);
|
|
352
352
|
return Promise.resolve(undefined);
|
|
353
353
|
}
|
|
@@ -402,7 +402,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
402
402
|
this.setTitle(basenameOrAuthority(reference.uri), this._uriLabel.getUriLabel(dirname(reference.uri)));
|
|
403
403
|
}
|
|
404
404
|
else {
|
|
405
|
-
this.setTitle(( localize(
|
|
405
|
+
this.setTitle(( localize(9984, "References")));
|
|
406
406
|
}
|
|
407
407
|
const promise = this._textModelResolverService.createModelReference(reference.uri);
|
|
408
408
|
if (this._tree.getInput() === reference.parent) {
|
|
@@ -9,7 +9,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
9
9
|
super({ canAcceptInBackground: true });
|
|
10
10
|
}
|
|
11
11
|
provideWithoutTextEditor(picker) {
|
|
12
|
-
const label = ( localize(
|
|
12
|
+
const label = ( localize(4650, "Open a text editor first to go to a line."));
|
|
13
13
|
picker.items = [{ label }];
|
|
14
14
|
picker.ariaLabel = label;
|
|
15
15
|
return Disposable.None;
|
|
@@ -78,15 +78,15 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
78
78
|
getPickLabel(editor, lineNumber, column) {
|
|
79
79
|
if (this.isValidLineNumber(editor, lineNumber)) {
|
|
80
80
|
if (this.isValidColumn(editor, lineNumber, column)) {
|
|
81
|
-
return ( localize(
|
|
81
|
+
return ( localize(4651, "Go to line {0} and character {1}.", lineNumber, column));
|
|
82
82
|
}
|
|
83
|
-
return ( localize(
|
|
83
|
+
return ( localize(4652, "Go to line {0}.", lineNumber));
|
|
84
84
|
}
|
|
85
85
|
const position = editor.getPosition() || { lineNumber: 1, column: 1 };
|
|
86
86
|
const lineCount = this.lineCount(editor);
|
|
87
87
|
if (lineCount > 1) {
|
|
88
88
|
return ( localize(
|
|
89
|
-
|
|
89
|
+
4653,
|
|
90
90
|
"Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",
|
|
91
91
|
position.lineNumber,
|
|
92
92
|
position.column,
|
|
@@ -94,7 +94,7 @@ class AbstractGotoLineQuickAccessProvider extends AbstractEditorNavigationQuickA
|
|
|
94
94
|
));
|
|
95
95
|
}
|
|
96
96
|
return ( localize(
|
|
97
|
-
|
|
97
|
+
4654,
|
|
98
98
|
"Current Line: {0}, Character: {1}. Type a line number to navigate to.",
|
|
99
99
|
position.lineNumber,
|
|
100
100
|
position.column
|
|
@@ -268,163 +268,163 @@ class AccessibilitySignal {
|
|
|
268
268
|
return [...this._signals];
|
|
269
269
|
}
|
|
270
270
|
static { this.errorAtPosition = AccessibilitySignal.register({
|
|
271
|
-
name: ( localize(
|
|
271
|
+
name: ( localize(2259, 'Error at Position')),
|
|
272
272
|
sound: Sound.error,
|
|
273
|
-
announcementMessage: ( localize(
|
|
273
|
+
announcementMessage: ( localize(2260, 'Error')),
|
|
274
274
|
settingsKey: 'accessibility.signals.positionHasError',
|
|
275
275
|
delaySettingsKey: 'accessibility.signalOptions.delays.errorAtPosition'
|
|
276
276
|
}); }
|
|
277
277
|
static { this.warningAtPosition = AccessibilitySignal.register({
|
|
278
|
-
name: ( localize(
|
|
278
|
+
name: ( localize(2261, 'Warning at Position')),
|
|
279
279
|
sound: Sound.warning,
|
|
280
|
-
announcementMessage: ( localize(
|
|
280
|
+
announcementMessage: ( localize(2262, 'Warning')),
|
|
281
281
|
settingsKey: 'accessibility.signals.positionHasWarning',
|
|
282
282
|
delaySettingsKey: 'accessibility.signalOptions.delays.warningAtPosition'
|
|
283
283
|
}); }
|
|
284
284
|
static { this.errorOnLine = AccessibilitySignal.register({
|
|
285
|
-
name: ( localize(
|
|
285
|
+
name: ( localize(2263, 'Error on Line')),
|
|
286
286
|
sound: Sound.error,
|
|
287
287
|
legacySoundSettingsKey: 'audioCues.lineHasError',
|
|
288
288
|
legacyAnnouncementSettingsKey: 'accessibility.alert.error',
|
|
289
|
-
announcementMessage: ( localize(
|
|
289
|
+
announcementMessage: ( localize(2264, 'Error on Line')),
|
|
290
290
|
settingsKey: 'accessibility.signals.lineHasError',
|
|
291
291
|
}); }
|
|
292
292
|
static { this.warningOnLine = AccessibilitySignal.register({
|
|
293
|
-
name: ( localize(
|
|
293
|
+
name: ( localize(2265, 'Warning on Line')),
|
|
294
294
|
sound: Sound.warning,
|
|
295
295
|
legacySoundSettingsKey: 'audioCues.lineHasWarning',
|
|
296
296
|
legacyAnnouncementSettingsKey: 'accessibility.alert.warning',
|
|
297
|
-
announcementMessage: ( localize(
|
|
297
|
+
announcementMessage: ( localize(2266, 'Warning on Line')),
|
|
298
298
|
settingsKey: 'accessibility.signals.lineHasWarning',
|
|
299
299
|
}); }
|
|
300
300
|
static { this.foldedArea = AccessibilitySignal.register({
|
|
301
|
-
name: ( localize(
|
|
301
|
+
name: ( localize(2267, 'Folded Area on Line')),
|
|
302
302
|
sound: Sound.foldedArea,
|
|
303
303
|
legacySoundSettingsKey: 'audioCues.lineHasFoldedArea',
|
|
304
304
|
legacyAnnouncementSettingsKey: 'accessibility.alert.foldedArea',
|
|
305
|
-
announcementMessage: ( localize(
|
|
305
|
+
announcementMessage: ( localize(2268, 'Folded')),
|
|
306
306
|
settingsKey: 'accessibility.signals.lineHasFoldedArea',
|
|
307
307
|
}); }
|
|
308
308
|
static { this.break = AccessibilitySignal.register({
|
|
309
|
-
name: ( localize(
|
|
309
|
+
name: ( localize(2269, 'Breakpoint on Line')),
|
|
310
310
|
sound: Sound.break,
|
|
311
311
|
legacySoundSettingsKey: 'audioCues.lineHasBreakpoint',
|
|
312
312
|
legacyAnnouncementSettingsKey: 'accessibility.alert.breakpoint',
|
|
313
|
-
announcementMessage: ( localize(
|
|
313
|
+
announcementMessage: ( localize(2270, 'Breakpoint')),
|
|
314
314
|
settingsKey: 'accessibility.signals.lineHasBreakpoint',
|
|
315
315
|
}); }
|
|
316
316
|
static { this.inlineSuggestion = AccessibilitySignal.register({
|
|
317
|
-
name: ( localize(
|
|
317
|
+
name: ( localize(2271, 'Inline Suggestion on Line')),
|
|
318
318
|
sound: Sound.quickFixes,
|
|
319
319
|
legacySoundSettingsKey: 'audioCues.lineHasInlineSuggestion',
|
|
320
320
|
settingsKey: 'accessibility.signals.lineHasInlineSuggestion',
|
|
321
321
|
}); }
|
|
322
322
|
static { this.terminalQuickFix = AccessibilitySignal.register({
|
|
323
|
-
name: ( localize(
|
|
323
|
+
name: ( localize(2272, 'Terminal Quick Fix')),
|
|
324
324
|
sound: Sound.quickFixes,
|
|
325
325
|
legacySoundSettingsKey: 'audioCues.terminalQuickFix',
|
|
326
326
|
legacyAnnouncementSettingsKey: 'accessibility.alert.terminalQuickFix',
|
|
327
|
-
announcementMessage: ( localize(
|
|
327
|
+
announcementMessage: ( localize(2273, 'Quick Fix')),
|
|
328
328
|
settingsKey: 'accessibility.signals.terminalQuickFix',
|
|
329
329
|
}); }
|
|
330
330
|
static { this.onDebugBreak = AccessibilitySignal.register({
|
|
331
|
-
name: ( localize(
|
|
331
|
+
name: ( localize(2274, 'Debugger Stopped on Breakpoint')),
|
|
332
332
|
sound: Sound.break,
|
|
333
333
|
legacySoundSettingsKey: 'audioCues.onDebugBreak',
|
|
334
334
|
legacyAnnouncementSettingsKey: 'accessibility.alert.onDebugBreak',
|
|
335
|
-
announcementMessage: ( localize(
|
|
335
|
+
announcementMessage: ( localize(2275, 'Breakpoint')),
|
|
336
336
|
settingsKey: 'accessibility.signals.onDebugBreak',
|
|
337
337
|
}); }
|
|
338
338
|
static { this.noInlayHints = AccessibilitySignal.register({
|
|
339
|
-
name: ( localize(
|
|
339
|
+
name: ( localize(2276, 'No Inlay Hints on Line')),
|
|
340
340
|
sound: Sound.error,
|
|
341
341
|
legacySoundSettingsKey: 'audioCues.noInlayHints',
|
|
342
342
|
legacyAnnouncementSettingsKey: 'accessibility.alert.noInlayHints',
|
|
343
|
-
announcementMessage: ( localize(
|
|
343
|
+
announcementMessage: ( localize(2277, 'No Inlay Hints')),
|
|
344
344
|
settingsKey: 'accessibility.signals.noInlayHints',
|
|
345
345
|
}); }
|
|
346
346
|
static { this.taskCompleted = AccessibilitySignal.register({
|
|
347
|
-
name: ( localize(
|
|
347
|
+
name: ( localize(2278, 'Task Completed')),
|
|
348
348
|
sound: Sound.taskCompleted,
|
|
349
349
|
legacySoundSettingsKey: 'audioCues.taskCompleted',
|
|
350
350
|
legacyAnnouncementSettingsKey: 'accessibility.alert.taskCompleted',
|
|
351
|
-
announcementMessage: ( localize(
|
|
351
|
+
announcementMessage: ( localize(2279, 'Task Completed')),
|
|
352
352
|
settingsKey: 'accessibility.signals.taskCompleted',
|
|
353
353
|
}); }
|
|
354
354
|
static { this.taskFailed = AccessibilitySignal.register({
|
|
355
|
-
name: ( localize(
|
|
355
|
+
name: ( localize(2280, 'Task Failed')),
|
|
356
356
|
sound: Sound.taskFailed,
|
|
357
357
|
legacySoundSettingsKey: 'audioCues.taskFailed',
|
|
358
358
|
legacyAnnouncementSettingsKey: 'accessibility.alert.taskFailed',
|
|
359
|
-
announcementMessage: ( localize(
|
|
359
|
+
announcementMessage: ( localize(2281, 'Task Failed')),
|
|
360
360
|
settingsKey: 'accessibility.signals.taskFailed',
|
|
361
361
|
}); }
|
|
362
362
|
static { this.terminalCommandFailed = AccessibilitySignal.register({
|
|
363
|
-
name: ( localize(
|
|
363
|
+
name: ( localize(2282, 'Terminal Command Failed')),
|
|
364
364
|
sound: Sound.error,
|
|
365
365
|
legacySoundSettingsKey: 'audioCues.terminalCommandFailed',
|
|
366
366
|
legacyAnnouncementSettingsKey: 'accessibility.alert.terminalCommandFailed',
|
|
367
|
-
announcementMessage: ( localize(
|
|
367
|
+
announcementMessage: ( localize(2283, 'Command Failed')),
|
|
368
368
|
settingsKey: 'accessibility.signals.terminalCommandFailed',
|
|
369
369
|
}); }
|
|
370
370
|
static { this.terminalCommandSucceeded = AccessibilitySignal.register({
|
|
371
|
-
name: ( localize(
|
|
371
|
+
name: ( localize(2284, 'Terminal Command Succeeded')),
|
|
372
372
|
sound: Sound.success,
|
|
373
|
-
announcementMessage: ( localize(
|
|
373
|
+
announcementMessage: ( localize(2285, 'Command Succeeded')),
|
|
374
374
|
settingsKey: 'accessibility.signals.terminalCommandSucceeded',
|
|
375
375
|
}); }
|
|
376
376
|
static { this.terminalBell = AccessibilitySignal.register({
|
|
377
|
-
name: ( localize(
|
|
377
|
+
name: ( localize(2286, 'Terminal Bell')),
|
|
378
378
|
sound: Sound.terminalBell,
|
|
379
379
|
legacySoundSettingsKey: 'audioCues.terminalBell',
|
|
380
380
|
legacyAnnouncementSettingsKey: 'accessibility.alert.terminalBell',
|
|
381
|
-
announcementMessage: ( localize(
|
|
381
|
+
announcementMessage: ( localize(2287, 'Terminal Bell')),
|
|
382
382
|
settingsKey: 'accessibility.signals.terminalBell',
|
|
383
383
|
}); }
|
|
384
384
|
static { this.notebookCellCompleted = AccessibilitySignal.register({
|
|
385
|
-
name: ( localize(
|
|
385
|
+
name: ( localize(2288, 'Notebook Cell Completed')),
|
|
386
386
|
sound: Sound.taskCompleted,
|
|
387
387
|
legacySoundSettingsKey: 'audioCues.notebookCellCompleted',
|
|
388
388
|
legacyAnnouncementSettingsKey: 'accessibility.alert.notebookCellCompleted',
|
|
389
|
-
announcementMessage: ( localize(
|
|
389
|
+
announcementMessage: ( localize(2289, 'Notebook Cell Completed')),
|
|
390
390
|
settingsKey: 'accessibility.signals.notebookCellCompleted',
|
|
391
391
|
}); }
|
|
392
392
|
static { this.notebookCellFailed = AccessibilitySignal.register({
|
|
393
|
-
name: ( localize(
|
|
393
|
+
name: ( localize(2290, 'Notebook Cell Failed')),
|
|
394
394
|
sound: Sound.taskFailed,
|
|
395
395
|
legacySoundSettingsKey: 'audioCues.notebookCellFailed',
|
|
396
396
|
legacyAnnouncementSettingsKey: 'accessibility.alert.notebookCellFailed',
|
|
397
|
-
announcementMessage: ( localize(
|
|
397
|
+
announcementMessage: ( localize(2291, 'Notebook Cell Failed')),
|
|
398
398
|
settingsKey: 'accessibility.signals.notebookCellFailed',
|
|
399
399
|
}); }
|
|
400
400
|
static { this.diffLineInserted = AccessibilitySignal.register({
|
|
401
|
-
name: ( localize(
|
|
401
|
+
name: ( localize(2292, 'Diff Line Inserted')),
|
|
402
402
|
sound: Sound.diffLineInserted,
|
|
403
403
|
legacySoundSettingsKey: 'audioCues.diffLineInserted',
|
|
404
404
|
settingsKey: 'accessibility.signals.diffLineInserted',
|
|
405
405
|
}); }
|
|
406
406
|
static { this.diffLineDeleted = AccessibilitySignal.register({
|
|
407
|
-
name: ( localize(
|
|
407
|
+
name: ( localize(2293, 'Diff Line Deleted')),
|
|
408
408
|
sound: Sound.diffLineDeleted,
|
|
409
409
|
legacySoundSettingsKey: 'audioCues.diffLineDeleted',
|
|
410
410
|
settingsKey: 'accessibility.signals.diffLineDeleted',
|
|
411
411
|
}); }
|
|
412
412
|
static { this.diffLineModified = AccessibilitySignal.register({
|
|
413
|
-
name: ( localize(
|
|
413
|
+
name: ( localize(2294, 'Diff Line Modified')),
|
|
414
414
|
sound: Sound.diffLineModified,
|
|
415
415
|
legacySoundSettingsKey: 'audioCues.diffLineModified',
|
|
416
416
|
settingsKey: 'accessibility.signals.diffLineModified',
|
|
417
417
|
}); }
|
|
418
418
|
static { this.chatRequestSent = AccessibilitySignal.register({
|
|
419
|
-
name: ( localize(
|
|
419
|
+
name: ( localize(2295, 'Chat Request Sent')),
|
|
420
420
|
sound: Sound.chatRequestSent,
|
|
421
421
|
legacySoundSettingsKey: 'audioCues.chatRequestSent',
|
|
422
422
|
legacyAnnouncementSettingsKey: 'accessibility.alert.chatRequestSent',
|
|
423
|
-
announcementMessage: ( localize(
|
|
423
|
+
announcementMessage: ( localize(2296, 'Chat Request Sent')),
|
|
424
424
|
settingsKey: 'accessibility.signals.chatRequestSent',
|
|
425
425
|
}); }
|
|
426
426
|
static { this.chatResponseReceived = AccessibilitySignal.register({
|
|
427
|
-
name: ( localize(
|
|
427
|
+
name: ( localize(2297, 'Chat Response Received')),
|
|
428
428
|
legacySoundSettingsKey: 'audioCues.chatResponseReceived',
|
|
429
429
|
sound: {
|
|
430
430
|
randomOneOf: [
|
|
@@ -437,45 +437,45 @@ class AccessibilitySignal {
|
|
|
437
437
|
settingsKey: 'accessibility.signals.chatResponseReceived'
|
|
438
438
|
}); }
|
|
439
439
|
static { this.progress = AccessibilitySignal.register({
|
|
440
|
-
name: ( localize(
|
|
440
|
+
name: ( localize(2298, 'Progress')),
|
|
441
441
|
sound: Sound.progress,
|
|
442
442
|
legacySoundSettingsKey: 'audioCues.chatResponsePending',
|
|
443
443
|
legacyAnnouncementSettingsKey: 'accessibility.alert.progress',
|
|
444
|
-
announcementMessage: ( localize(
|
|
444
|
+
announcementMessage: ( localize(2299, 'Progress')),
|
|
445
445
|
settingsKey: 'accessibility.signals.progress'
|
|
446
446
|
}); }
|
|
447
447
|
static { this.clear = AccessibilitySignal.register({
|
|
448
|
-
name: ( localize(
|
|
448
|
+
name: ( localize(2300, 'Clear')),
|
|
449
449
|
sound: Sound.clear,
|
|
450
450
|
legacySoundSettingsKey: 'audioCues.clear',
|
|
451
451
|
legacyAnnouncementSettingsKey: 'accessibility.alert.clear',
|
|
452
|
-
announcementMessage: ( localize(
|
|
452
|
+
announcementMessage: ( localize(2301, 'Clear')),
|
|
453
453
|
settingsKey: 'accessibility.signals.clear'
|
|
454
454
|
}); }
|
|
455
455
|
static { this.save = AccessibilitySignal.register({
|
|
456
|
-
name: ( localize(
|
|
456
|
+
name: ( localize(2302, 'Save')),
|
|
457
457
|
sound: Sound.save,
|
|
458
458
|
legacySoundSettingsKey: 'audioCues.save',
|
|
459
459
|
legacyAnnouncementSettingsKey: 'accessibility.alert.save',
|
|
460
|
-
announcementMessage: ( localize(
|
|
460
|
+
announcementMessage: ( localize(2303, 'Save')),
|
|
461
461
|
settingsKey: 'accessibility.signals.save'
|
|
462
462
|
}); }
|
|
463
463
|
static { this.format = AccessibilitySignal.register({
|
|
464
|
-
name: ( localize(
|
|
464
|
+
name: ( localize(2304, 'Format')),
|
|
465
465
|
sound: Sound.format,
|
|
466
466
|
legacySoundSettingsKey: 'audioCues.format',
|
|
467
467
|
legacyAnnouncementSettingsKey: 'accessibility.alert.format',
|
|
468
|
-
announcementMessage: ( localize(
|
|
468
|
+
announcementMessage: ( localize(2305, 'Format')),
|
|
469
469
|
settingsKey: 'accessibility.signals.format'
|
|
470
470
|
}); }
|
|
471
471
|
static { this.voiceRecordingStarted = AccessibilitySignal.register({
|
|
472
|
-
name: ( localize(
|
|
472
|
+
name: ( localize(2306, 'Voice Recording Started')),
|
|
473
473
|
sound: Sound.voiceRecordingStarted,
|
|
474
474
|
legacySoundSettingsKey: 'audioCues.voiceRecordingStarted',
|
|
475
475
|
settingsKey: 'accessibility.signals.voiceRecordingStarted'
|
|
476
476
|
}); }
|
|
477
477
|
static { this.voiceRecordingStopped = AccessibilitySignal.register({
|
|
478
|
-
name: ( localize(
|
|
478
|
+
name: ( localize(2307, 'Voice Recording Stopped')),
|
|
479
479
|
sound: Sound.voiceRecordingStopped,
|
|
480
480
|
legacySoundSettingsKey: 'audioCues.voiceRecordingStopped',
|
|
481
481
|
settingsKey: 'accessibility.signals.voiceRecordingStopped'
|
|
@@ -372,10 +372,14 @@ class ConfigurationModelParser {
|
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
374
374
|
const propertySchema = configurationProperties[key];
|
|
375
|
+
const scope = propertySchema ? typeof propertySchema.scope !== 'undefined' ? propertySchema.scope : 3 : undefined;
|
|
375
376
|
if (propertySchema?.restricted) {
|
|
376
377
|
restricted.push(key);
|
|
377
378
|
}
|
|
378
|
-
if (
|
|
379
|
+
if (!options.exclude?.includes(key)
|
|
380
|
+
&& (options.include?.includes(key)
|
|
381
|
+
|| ((scope === undefined || options.scopes === undefined || options.scopes.includes(scope))
|
|
382
|
+
&& !(options.skipRestricted && propertySchema?.restricted)))) {
|
|
379
383
|
raw[key] = properties[key];
|
|
380
384
|
}
|
|
381
385
|
else {
|
|
@@ -385,25 +389,6 @@ class ConfigurationModelParser {
|
|
|
385
389
|
}
|
|
386
390
|
return { raw, restricted, hasExcludedProperties };
|
|
387
391
|
}
|
|
388
|
-
shouldInclude(key, propertySchema, options) {
|
|
389
|
-
if (options.exclude?.includes(key)) {
|
|
390
|
-
return false;
|
|
391
|
-
}
|
|
392
|
-
if (options.include?.includes(key)) {
|
|
393
|
-
return true;
|
|
394
|
-
}
|
|
395
|
-
if (options.skipRestricted && propertySchema?.restricted) {
|
|
396
|
-
return false;
|
|
397
|
-
}
|
|
398
|
-
if (options.skipUnregistered && !propertySchema) {
|
|
399
|
-
return false;
|
|
400
|
-
}
|
|
401
|
-
const scope = propertySchema ? typeof propertySchema.scope !== 'undefined' ? propertySchema.scope : 3 : undefined;
|
|
402
|
-
if (scope === undefined || options.scopes === undefined) {
|
|
403
|
-
return true;
|
|
404
|
-
}
|
|
405
|
-
return options.scopes.includes(scope);
|
|
406
|
-
}
|
|
407
392
|
toOverrides(raw, conflictReporter) {
|
|
408
393
|
const overrides = [];
|
|
409
394
|
for (const key of ( Object.keys(raw))) {
|
|
@@ -179,7 +179,7 @@ async function extractFileListData(accessor, files) {
|
|
|
179
179
|
if (file) {
|
|
180
180
|
if (file.size > 100 * ByteSize.MB) {
|
|
181
181
|
dialogService.warn(( localize(
|
|
182
|
-
|
|
182
|
+
5676,
|
|
183
183
|
"File is too large to open as untitled editor. Please upload it first into the file explorer and then try again."
|
|
184
184
|
)));
|
|
185
185
|
continue;
|
|
@@ -48,7 +48,7 @@ let LanguagePackBaseService = class LanguagePackBaseService extends Disposable {
|
|
|
48
48
|
}
|
|
49
49
|
if (locale.toLowerCase() === language.toLowerCase()) {
|
|
50
50
|
description ??= '';
|
|
51
|
-
description += ( localize(
|
|
51
|
+
description += ( localize(3286, " (Current)"));
|
|
52
52
|
}
|
|
53
53
|
if (languagePack?.installCount) {
|
|
54
54
|
description ??= '';
|