@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
|
@@ -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
|
+
5620,
|
|
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;
|
|
@@ -207,7 +207,7 @@ class HTMLFileSystemProvider extends Disposable {
|
|
|
207
207
|
await this.delete(from, { recursive: false, useTrash: false, atomic: false });
|
|
208
208
|
}
|
|
209
209
|
else {
|
|
210
|
-
throw this.createFileSystemProviderError(from, localize(
|
|
210
|
+
throw this.createFileSystemProviderError(from, localize(765, "Rename is only supported for files."), FileSystemProviderErrorCode.Unavailable);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
catch (error) {
|
|
@@ -387,7 +387,7 @@ class HTMLFileSystemProvider extends Disposable {
|
|
|
387
387
|
}
|
|
388
388
|
let code = FileSystemProviderErrorCode.Unknown;
|
|
389
389
|
if (error.name === 'NotAllowedError') {
|
|
390
|
-
error = ( (new Error(( localize(
|
|
390
|
+
error = ( (new Error(( localize(766, "Insufficient permissions. Please retry and allow the operation.")))));
|
|
391
391
|
code = FileSystemProviderErrorCode.Unavailable;
|
|
392
392
|
}
|
|
393
393
|
return createFileSystemProviderError(error, code);
|
|
@@ -98,7 +98,7 @@ function createFileSystemProviderError(error, code) {
|
|
|
98
98
|
}
|
|
99
99
|
function ensureFileSystemProviderError(error) {
|
|
100
100
|
if (!error) {
|
|
101
|
-
return createFileSystemProviderError(( localize(
|
|
101
|
+
return createFileSystemProviderError(( localize(2, "Unknown Error")), FileSystemProviderErrorCode.Unknown);
|
|
102
102
|
}
|
|
103
103
|
return error;
|
|
104
104
|
}
|
|
@@ -347,18 +347,18 @@ class ByteSize {
|
|
|
347
347
|
size = 0;
|
|
348
348
|
}
|
|
349
349
|
if (size < ByteSize.KB) {
|
|
350
|
-
return ( localize(
|
|
350
|
+
return ( localize(3, "{0}B", size.toFixed(0)));
|
|
351
351
|
}
|
|
352
352
|
if (size < ByteSize.MB) {
|
|
353
|
-
return ( localize(
|
|
353
|
+
return ( localize(4, "{0}KB", (size / ByteSize.KB).toFixed(2)));
|
|
354
354
|
}
|
|
355
355
|
if (size < ByteSize.GB) {
|
|
356
|
-
return ( localize(
|
|
356
|
+
return ( localize(5, "{0}MB", (size / ByteSize.MB).toFixed(2)));
|
|
357
357
|
}
|
|
358
358
|
if (size < ByteSize.TB) {
|
|
359
|
-
return ( localize(
|
|
359
|
+
return ( localize(6, "{0}GB", (size / ByteSize.GB).toFixed(2)));
|
|
360
360
|
}
|
|
361
|
-
return ( localize(
|
|
361
|
+
return ( localize(7, "{0}TB", (size / ByteSize.TB).toFixed(2)));
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
function getLargeFileConfirmationLimit(arg) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { localize } from '../../../nls.js';
|
|
2
2
|
|
|
3
|
-
const open = ( localize(
|
|
4
|
-
const close = ( localize(
|
|
5
|
-
const find = ( localize(
|
|
3
|
+
const open = ( localize(11110, 'open'));
|
|
4
|
+
const close = ( localize(11111, 'close'));
|
|
5
|
+
const find = ( localize(11112, 'find'));
|
|
6
6
|
var localizedStrings = {
|
|
7
7
|
open: open,
|
|
8
8
|
close: close,
|
|
@@ -393,12 +393,12 @@ function LogLevelToString(logLevel) {
|
|
|
393
393
|
}
|
|
394
394
|
function LogLevelToLocalizedString(logLevel) {
|
|
395
395
|
switch (logLevel) {
|
|
396
|
-
case LogLevel.Trace: return { original: 'Trace', value: ( localize(
|
|
397
|
-
case LogLevel.Debug: return { original: 'Debug', value: ( localize(
|
|
398
|
-
case LogLevel.Info: return { original: 'Info', value: ( localize(
|
|
399
|
-
case LogLevel.Warning: return { original: 'Warning', value: ( localize(
|
|
400
|
-
case LogLevel.Error: return { original: 'Error', value: ( localize(
|
|
401
|
-
case LogLevel.Off: return { original: 'Off', value: ( localize(
|
|
396
|
+
case LogLevel.Trace: return { original: 'Trace', value: ( localize(71, "Trace")) };
|
|
397
|
+
case LogLevel.Debug: return { original: 'Debug', value: ( localize(72, "Debug")) };
|
|
398
|
+
case LogLevel.Info: return { original: 'Info', value: ( localize(73, "Info")) };
|
|
399
|
+
case LogLevel.Warning: return { original: 'Warning', value: ( localize(74, "Warning")) };
|
|
400
|
+
case LogLevel.Error: return { original: 'Error', value: ( localize(75, "Error")) };
|
|
401
|
+
case LogLevel.Off: return { original: 'Off', value: ( localize(76, "Off")) };
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
function parseLogLevel(logLevel) {
|
|
@@ -14,9 +14,9 @@ var MarkerSeverity;
|
|
|
14
14
|
}
|
|
15
15
|
MarkerSeverity.compare = compare;
|
|
16
16
|
const _displayStrings = Object.create(null);
|
|
17
|
-
_displayStrings[MarkerSeverity.Error] = ( localize(
|
|
18
|
-
_displayStrings[MarkerSeverity.Warning] = ( localize(
|
|
19
|
-
_displayStrings[MarkerSeverity.Info] = ( localize(
|
|
17
|
+
_displayStrings[MarkerSeverity.Error] = ( localize(4644, "Error"));
|
|
18
|
+
_displayStrings[MarkerSeverity.Warning] = ( localize(4645, "Warning"));
|
|
19
|
+
_displayStrings[MarkerSeverity.Info] = ( localize(4646, "Info"));
|
|
20
20
|
function toString(a) {
|
|
21
21
|
return _displayStrings[a] || '';
|
|
22
22
|
}
|
|
@@ -14,7 +14,7 @@ const defaultCommandAndKeybindingRule = {
|
|
|
14
14
|
inQuickInputContext
|
|
15
15
|
))),
|
|
16
16
|
metadata: { description: ( localize(
|
|
17
|
-
|
|
17
|
+
10170,
|
|
18
18
|
"Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well."
|
|
19
19
|
)) }
|
|
20
20
|
};
|
|
@@ -69,11 +69,11 @@ registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.last', primary: ctrl
|
|
|
69
69
|
registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.next', primary: 18 , handler: focusHandler(QuickPickFocus.Next) }, { withCtrlMod: true });
|
|
70
70
|
registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.previous', primary: 16 , handler: focusHandler(QuickPickFocus.Previous) }, { withCtrlMod: true });
|
|
71
71
|
const nextSeparatorFallbackDesc = ( localize(
|
|
72
|
-
|
|
72
|
+
10171,
|
|
73
73
|
"If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator."
|
|
74
74
|
));
|
|
75
75
|
const prevSeparatorFallbackDesc = ( localize(
|
|
76
|
-
|
|
76
|
+
10172,
|
|
77
77
|
"If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator."
|
|
78
78
|
));
|
|
79
79
|
if (isMacintosh) {
|
|
@@ -185,7 +185,7 @@ class QuickInputItemDelegate {
|
|
|
185
185
|
}
|
|
186
186
|
class QuickInputAccessibilityProvider {
|
|
187
187
|
getWidgetAriaLabel() {
|
|
188
|
-
return ( localize(
|
|
188
|
+
return ( localize(10169, "Quick Input"));
|
|
189
189
|
}
|
|
190
190
|
getAriaLabel(element) {
|
|
191
191
|
return element.separator?.label
|
|
@@ -90,7 +90,7 @@ function registerProxyConfigurations(scope) {
|
|
|
90
90
|
proxyConfiguration = {
|
|
91
91
|
id: 'http',
|
|
92
92
|
order: 15,
|
|
93
|
-
title: ( localize(
|
|
93
|
+
title: ( localize(4649, "HTTP")),
|
|
94
94
|
type: 'object',
|
|
95
95
|
scope,
|
|
96
96
|
properties: {
|
|
@@ -98,7 +98,7 @@ function registerProxyConfigurations(scope) {
|
|
|
98
98
|
type: 'string',
|
|
99
99
|
pattern: '^(https?|socks|socks4a?|socks5h?)://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$',
|
|
100
100
|
markdownDescription: ( localize(
|
|
101
|
-
|
|
101
|
+
4650,
|
|
102
102
|
"The proxy setting to use. If not set, will be inherited from the `http_proxy` and `https_proxy` environment variables."
|
|
103
103
|
)),
|
|
104
104
|
restricted: true
|
|
@@ -107,7 +107,7 @@ function registerProxyConfigurations(scope) {
|
|
|
107
107
|
type: 'boolean',
|
|
108
108
|
default: true,
|
|
109
109
|
description: ( localize(
|
|
110
|
-
|
|
110
|
+
4651,
|
|
111
111
|
"Controls whether the proxy server certificate should be verified against the list of supplied CAs."
|
|
112
112
|
)),
|
|
113
113
|
restricted: true
|
|
@@ -115,7 +115,7 @@ function registerProxyConfigurations(scope) {
|
|
|
115
115
|
'http.proxyKerberosServicePrincipal': {
|
|
116
116
|
type: 'string',
|
|
117
117
|
markdownDescription: ( localize(
|
|
118
|
-
|
|
118
|
+
4652,
|
|
119
119
|
"Overrides the principal service name for Kerberos authentication with the HTTP proxy. A default based on the proxy hostname is used when this is not set."
|
|
120
120
|
)),
|
|
121
121
|
restricted: true
|
|
@@ -124,7 +124,7 @@ function registerProxyConfigurations(scope) {
|
|
|
124
124
|
type: 'array',
|
|
125
125
|
items: { type: 'string' },
|
|
126
126
|
markdownDescription: ( localize(
|
|
127
|
-
|
|
127
|
+
4653,
|
|
128
128
|
"Specifies domain names for which proxy settings should be ignored for HTTP/HTTPS requests."
|
|
129
129
|
)),
|
|
130
130
|
restricted: true
|
|
@@ -133,7 +133,7 @@ function registerProxyConfigurations(scope) {
|
|
|
133
133
|
type: ['null', 'string'],
|
|
134
134
|
default: null,
|
|
135
135
|
markdownDescription: ( localize(
|
|
136
|
-
|
|
136
|
+
4654,
|
|
137
137
|
"The value to send as the `Proxy-Authorization` header for every network request."
|
|
138
138
|
)),
|
|
139
139
|
restricted: true
|
|
@@ -142,23 +142,23 @@ function registerProxyConfigurations(scope) {
|
|
|
142
142
|
type: 'string',
|
|
143
143
|
enum: ['off', 'on', 'fallback', 'override'],
|
|
144
144
|
enumDescriptions: [
|
|
145
|
-
( localize(
|
|
146
|
-
( localize(
|
|
145
|
+
( localize(4655, "Disable proxy support for extensions.")),
|
|
146
|
+
( localize(4656, "Enable proxy support for extensions.")),
|
|
147
147
|
( localize(
|
|
148
|
-
|
|
148
|
+
4657,
|
|
149
149
|
"Enable proxy support for extensions, fall back to request options, when no proxy found."
|
|
150
150
|
)),
|
|
151
|
-
( localize(
|
|
151
|
+
( localize(4658, "Enable proxy support for extensions, override request options.")),
|
|
152
152
|
],
|
|
153
153
|
default: 'override',
|
|
154
|
-
description: ( localize(
|
|
154
|
+
description: ( localize(4659, "Use the proxy support for extensions.")),
|
|
155
155
|
restricted: true
|
|
156
156
|
},
|
|
157
157
|
'http.systemCertificates': {
|
|
158
158
|
type: 'boolean',
|
|
159
159
|
default: true,
|
|
160
160
|
description: ( localize(
|
|
161
|
-
|
|
161
|
+
4660,
|
|
162
162
|
"Controls whether CA certificates should be loaded from the OS. (On Windows and macOS, a reload of the window is required after turning this off.)"
|
|
163
163
|
)),
|
|
164
164
|
restricted: true
|
|
@@ -168,7 +168,7 @@ function registerProxyConfigurations(scope) {
|
|
|
168
168
|
tags: ['experimental'],
|
|
169
169
|
default: false,
|
|
170
170
|
description: ( localize(
|
|
171
|
-
|
|
171
|
+
4661,
|
|
172
172
|
"Controls whether experimental loading of CA certificates from the OS should be enabled. This uses a more general approach than the default implementation."
|
|
173
173
|
)),
|
|
174
174
|
restricted: true
|
|
@@ -177,7 +177,7 @@ function registerProxyConfigurations(scope) {
|
|
|
177
177
|
type: 'boolean',
|
|
178
178
|
default: false,
|
|
179
179
|
description: ( localize(
|
|
180
|
-
|
|
180
|
+
4662,
|
|
181
181
|
"Controls whether use of Electron's fetch implementation instead of Node.js' should be enabled. All local extensions will get Electron's fetch implementation for the global fetch API."
|
|
182
182
|
)),
|
|
183
183
|
restricted: true
|
|
@@ -49,10 +49,10 @@ class IconRegistry {
|
|
|
49
49
|
type: 'object',
|
|
50
50
|
properties: {
|
|
51
51
|
fontId: { type: 'string', description: ( localize(
|
|
52
|
-
|
|
52
|
+
4551,
|
|
53
53
|
'The id of the font to use. If not set, the font that is defined first is used.'
|
|
54
54
|
)) },
|
|
55
|
-
fontCharacter: { type: 'string', description: ( localize(
|
|
55
|
+
fontCharacter: { type: 'string', description: ( localize(4552, 'The font character associated with the icon definition.')) }
|
|
56
56
|
},
|
|
57
57
|
additionalProperties: false,
|
|
58
58
|
defaultSnippets: [{ body: { fontCharacter: '\\\\e030' } }]
|
|
@@ -183,9 +183,9 @@ iconRegistry.onDidChange(() => {
|
|
|
183
183
|
delayer.schedule();
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
|
-
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(
|
|
187
|
-
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(
|
|
188
|
-
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(
|
|
186
|
+
const widgetClose = registerIcon('widget-close', Codicon.close, ( localize(4553, 'Icon for the close action in widgets.')));
|
|
187
|
+
const gotoPreviousLocation = registerIcon('goto-previous-location', Codicon.arrowUp, ( localize(4554, 'Icon for goto previous editor location.')));
|
|
188
|
+
const gotoNextLocation = registerIcon('goto-next-location', Codicon.arrowDown, ( localize(4555, 'Icon for goto next editor location.')));
|
|
189
189
|
const syncing = ThemeIcon.modify(Codicon.sync, 'spin');
|
|
190
190
|
const spinningLoading = ThemeIcon.modify(Codicon.loading, 'spin');
|
|
191
191
|
|
|
@@ -166,31 +166,31 @@ class TokenClassificationRegistry {
|
|
|
166
166
|
definitions: {
|
|
167
167
|
style: {
|
|
168
168
|
type: 'object',
|
|
169
|
-
description: ( localize(
|
|
169
|
+
description: ( localize(7328, 'Colors and styles for the token.')),
|
|
170
170
|
properties: {
|
|
171
171
|
foreground: {
|
|
172
172
|
type: 'string',
|
|
173
|
-
description: ( localize(
|
|
173
|
+
description: ( localize(7329, 'Foreground color for the token.')),
|
|
174
174
|
format: 'color-hex',
|
|
175
175
|
default: '#ff0000'
|
|
176
176
|
},
|
|
177
177
|
background: {
|
|
178
178
|
type: 'string',
|
|
179
|
-
deprecationMessage: ( localize(
|
|
179
|
+
deprecationMessage: ( localize(7330, 'Token background colors are currently not supported.'))
|
|
180
180
|
},
|
|
181
181
|
fontStyle: {
|
|
182
182
|
type: 'string',
|
|
183
183
|
description: ( localize(
|
|
184
|
-
|
|
184
|
+
7331,
|
|
185
185
|
'Sets the all font styles of the rule: \'italic\', \'bold\', \'underline\' or \'strikethrough\' or a combination. All styles that are not listed are unset. The empty string unsets all styles.'
|
|
186
186
|
)),
|
|
187
187
|
pattern: fontStylePattern,
|
|
188
188
|
patternErrorMessage: ( localize(
|
|
189
|
-
|
|
189
|
+
7332,
|
|
190
190
|
'Font style must be \'italic\', \'bold\', \'underline\' or \'strikethrough\' or a combination. The empty string unsets all styles.'
|
|
191
191
|
)),
|
|
192
192
|
defaultSnippets: [
|
|
193
|
-
{ label: ( localize(
|
|
193
|
+
{ label: ( localize(7333, 'None (clear inherited style)')), bodyText: '""' },
|
|
194
194
|
{ body: 'italic' },
|
|
195
195
|
{ body: 'bold' },
|
|
196
196
|
{ body: 'underline' },
|
|
@@ -211,28 +211,28 @@ class TokenClassificationRegistry {
|
|
|
211
211
|
bold: {
|
|
212
212
|
type: 'boolean',
|
|
213
213
|
description: ( localize(
|
|
214
|
-
|
|
214
|
+
7334,
|
|
215
215
|
'Sets or unsets the font style to bold. Note, the presence of \'fontStyle\' overrides this setting.'
|
|
216
216
|
)),
|
|
217
217
|
},
|
|
218
218
|
italic: {
|
|
219
219
|
type: 'boolean',
|
|
220
220
|
description: ( localize(
|
|
221
|
-
|
|
221
|
+
7335,
|
|
222
222
|
'Sets or unsets the font style to italic. Note, the presence of \'fontStyle\' overrides this setting.'
|
|
223
223
|
)),
|
|
224
224
|
},
|
|
225
225
|
underline: {
|
|
226
226
|
type: 'boolean',
|
|
227
227
|
description: ( localize(
|
|
228
|
-
|
|
228
|
+
7336,
|
|
229
229
|
'Sets or unsets the font style to underline. Note, the presence of \'fontStyle\' overrides this setting.'
|
|
230
230
|
)),
|
|
231
231
|
},
|
|
232
232
|
strikethrough: {
|
|
233
233
|
type: 'boolean',
|
|
234
234
|
description: ( localize(
|
|
235
|
-
|
|
235
|
+
7337,
|
|
236
236
|
'Sets or unsets the font style to strikethrough. Note, the presence of \'fontStyle\' overrides this setting.'
|
|
237
237
|
)),
|
|
238
238
|
}
|
|
@@ -402,38 +402,38 @@ function createDefaultTokenClassificationRegistry() {
|
|
|
402
402
|
console.log(e);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
registerTokenType('comment', ( localize(
|
|
406
|
-
registerTokenType('string', ( localize(
|
|
407
|
-
registerTokenType('keyword', ( localize(
|
|
408
|
-
registerTokenType('number', ( localize(
|
|
409
|
-
registerTokenType('regexp', ( localize(
|
|
410
|
-
registerTokenType('operator', ( localize(
|
|
411
|
-
registerTokenType('namespace', ( localize(
|
|
412
|
-
registerTokenType('type', ( localize(
|
|
413
|
-
registerTokenType('struct', ( localize(
|
|
414
|
-
registerTokenType('class', ( localize(
|
|
415
|
-
registerTokenType('interface', ( localize(
|
|
416
|
-
registerTokenType('enum', ( localize(
|
|
417
|
-
registerTokenType('typeParameter', ( localize(
|
|
418
|
-
registerTokenType('function', ( localize(
|
|
419
|
-
registerTokenType('member', ( localize(
|
|
420
|
-
registerTokenType('method', ( localize(
|
|
421
|
-
registerTokenType('macro', ( localize(
|
|
422
|
-
registerTokenType('variable', ( localize(
|
|
423
|
-
registerTokenType('parameter', ( localize(
|
|
424
|
-
registerTokenType('property', ( localize(
|
|
425
|
-
registerTokenType('enumMember', ( localize(
|
|
426
|
-
registerTokenType('event', ( localize(
|
|
427
|
-
registerTokenType('decorator', ( localize(
|
|
428
|
-
registerTokenType('label', ( localize(
|
|
429
|
-
registry.registerTokenModifier('declaration', ( localize(
|
|
430
|
-
registry.registerTokenModifier('documentation', ( localize(
|
|
431
|
-
registry.registerTokenModifier('static', ( localize(
|
|
432
|
-
registry.registerTokenModifier('abstract', ( localize(
|
|
433
|
-
registry.registerTokenModifier('deprecated', ( localize(
|
|
434
|
-
registry.registerTokenModifier('modification', ( localize(
|
|
435
|
-
registry.registerTokenModifier('async', ( localize(
|
|
436
|
-
registry.registerTokenModifier('readonly', ( localize(
|
|
405
|
+
registerTokenType('comment', ( localize(7338, "Style for comments.")), [['comment']]);
|
|
406
|
+
registerTokenType('string', ( localize(7339, "Style for strings.")), [['string']]);
|
|
407
|
+
registerTokenType('keyword', ( localize(7340, "Style for keywords.")), [['keyword.control']]);
|
|
408
|
+
registerTokenType('number', ( localize(7341, "Style for numbers.")), [['constant.numeric']]);
|
|
409
|
+
registerTokenType('regexp', ( localize(7342, "Style for expressions.")), [['constant.regexp']]);
|
|
410
|
+
registerTokenType('operator', ( localize(7343, "Style for operators.")), [['keyword.operator']]);
|
|
411
|
+
registerTokenType('namespace', ( localize(7344, "Style for namespaces.")), [['entity.name.namespace']]);
|
|
412
|
+
registerTokenType('type', ( localize(7345, "Style for types.")), [['entity.name.type'], ['support.type']]);
|
|
413
|
+
registerTokenType('struct', ( localize(7346, "Style for structs.")), [['entity.name.type.struct']]);
|
|
414
|
+
registerTokenType('class', ( localize(7347, "Style for classes.")), [['entity.name.type.class'], ['support.class']]);
|
|
415
|
+
registerTokenType('interface', ( localize(7348, "Style for interfaces.")), [['entity.name.type.interface']]);
|
|
416
|
+
registerTokenType('enum', ( localize(7349, "Style for enums.")), [['entity.name.type.enum']]);
|
|
417
|
+
registerTokenType('typeParameter', ( localize(7350, "Style for type parameters.")), [['entity.name.type.parameter']]);
|
|
418
|
+
registerTokenType('function', ( localize(7351, "Style for functions")), [['entity.name.function'], ['support.function']]);
|
|
419
|
+
registerTokenType('member', ( localize(7352, "Style for member functions")), [], 'method', 'Deprecated use `method` instead');
|
|
420
|
+
registerTokenType('method', ( localize(7353, "Style for method (member functions)")), [['entity.name.function.member'], ['support.function']]);
|
|
421
|
+
registerTokenType('macro', ( localize(7354, "Style for macros.")), [['entity.name.function.preprocessor']]);
|
|
422
|
+
registerTokenType('variable', ( localize(7355, "Style for variables.")), [['variable.other.readwrite'], ['entity.name.variable']]);
|
|
423
|
+
registerTokenType('parameter', ( localize(7356, "Style for parameters.")), [['variable.parameter']]);
|
|
424
|
+
registerTokenType('property', ( localize(7357, "Style for properties.")), [['variable.other.property']]);
|
|
425
|
+
registerTokenType('enumMember', ( localize(7358, "Style for enum members.")), [['variable.other.enummember']]);
|
|
426
|
+
registerTokenType('event', ( localize(7359, "Style for events.")), [['variable.other.event']]);
|
|
427
|
+
registerTokenType('decorator', ( localize(7360, "Style for decorators & annotations.")), [['entity.name.decorator'], ['entity.name.function']]);
|
|
428
|
+
registerTokenType('label', ( localize(7361, "Style for labels. ")), undefined);
|
|
429
|
+
registry.registerTokenModifier('declaration', ( localize(7362, "Style for all symbol declarations.")), undefined);
|
|
430
|
+
registry.registerTokenModifier('documentation', ( localize(7363, "Style to use for references in documentation.")), undefined);
|
|
431
|
+
registry.registerTokenModifier('static', ( localize(7364, "Style to use for symbols that are static.")), undefined);
|
|
432
|
+
registry.registerTokenModifier('abstract', ( localize(7365, "Style to use for symbols that are abstract.")), undefined);
|
|
433
|
+
registry.registerTokenModifier('deprecated', ( localize(7366, "Style to use for symbols that are deprecated.")), undefined);
|
|
434
|
+
registry.registerTokenModifier('modification', ( localize(7367, "Style to use for write accesses.")), undefined);
|
|
435
|
+
registry.registerTokenModifier('async', ( localize(7368, "Style to use for symbols that are async.")), undefined);
|
|
436
|
+
registry.registerTokenModifier('readonly', ( localize(7369, "Style to use for symbols that are read-only.")), undefined);
|
|
437
437
|
registerTokenStyleDefault('variable.readonly', [['variable.other.constant']]);
|
|
438
438
|
registerTokenStyleDefault('property.readonly', [['variable.other.constant.property']]);
|
|
439
439
|
registerTokenStyleDefault('type.defaultLibrary', [['support.type']]);
|
|
@@ -135,7 +135,7 @@ function toWorkspaceFolder(resource) {
|
|
|
135
135
|
}
|
|
136
136
|
const WORKSPACE_EXTENSION = 'code-workspace';
|
|
137
137
|
const WORKSPACE_SUFFIX = `.${WORKSPACE_EXTENSION}`;
|
|
138
|
-
const WORKSPACE_FILTER = [{ name: ( localize(
|
|
138
|
+
const WORKSPACE_FILTER = [{ name: ( localize(831, "Code Workspace")), extensions: [WORKSPACE_EXTENSION] }];
|
|
139
139
|
const UNTITLED_WORKSPACE_NAME = 'workspace.json';
|
|
140
140
|
function isUntitledWorkspace(path, environmentService) {
|
|
141
141
|
return extUriBiasedIgnorePathCase.isEqualOrParent(path, environmentService.untitledWorkspacesHome);
|
|
@@ -537,12 +537,12 @@ let AbstractExtHostExtensionService = AbstractExtHostExtensionService_1 = class
|
|
|
537
537
|
async _doHandleExtensionTests() {
|
|
538
538
|
const { extensionDevelopmentLocationURI, extensionTestsLocationURI } = this._initData.environment;
|
|
539
539
|
if (!extensionDevelopmentLocationURI || !extensionTestsLocationURI) {
|
|
540
|
-
throw ( new Error(localize(
|
|
540
|
+
throw ( new Error(localize(0, "Cannot load test runner.")));
|
|
541
541
|
}
|
|
542
542
|
const testRunner = await this._loadCommonJSModule(null, extensionTestsLocationURI, ( new ExtensionActivationTimesBuilder(false)));
|
|
543
543
|
if (!testRunner || typeof testRunner.run !== 'function') {
|
|
544
544
|
throw ( new Error(localize(
|
|
545
|
-
|
|
545
|
+
1,
|
|
546
546
|
"Path {0} does not point to a valid extension test runner.",
|
|
547
547
|
( extensionTestsLocationURI.toString())
|
|
548
548
|
)));
|
|
@@ -529,7 +529,7 @@ class DocumentPasteEditProvider {
|
|
|
529
529
|
(edits.map((edit, i) => ({
|
|
530
530
|
_cacheId: [cacheId, i],
|
|
531
531
|
title: edit.title ?? ( localize(
|
|
532
|
-
|
|
532
|
+
4149,
|
|
533
533
|
"Paste using '{0}' extension",
|
|
534
534
|
this._extension.displayName || this._extension.name
|
|
535
535
|
)),
|
|
@@ -1790,7 +1790,7 @@ class DocumentDropEditAdapter {
|
|
|
1790
1790
|
(editsArray.map((edit, i) => ({
|
|
1791
1791
|
_cacheId: [cacheId, i],
|
|
1792
1792
|
title: edit.title ?? ( localize(
|
|
1793
|
-
|
|
1793
|
+
4150,
|
|
1794
1794
|
"Drop using '{0}' extension",
|
|
1795
1795
|
this._extension.displayName || this._extension.name
|
|
1796
1796
|
)),
|
|
@@ -353,7 +353,7 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
|
|
|
353
353
|
}
|
|
354
354
|
try {
|
|
355
355
|
const detail = justification
|
|
356
|
-
? ( localize(
|
|
356
|
+
? ( localize(581, "Justification: {1}", to.displayName, justification))
|
|
357
357
|
: undefined;
|
|
358
358
|
await this._extHostAuthentication.getSession(from, providerId, [], { forceNewSession: { detail } });
|
|
359
359
|
this.$updateModelAccesslist([{ from: from.identifier, to: to.identifier, enabled: true }]);
|
|
@@ -7,7 +7,7 @@ import { IExtHostInitDataService } from './extHostInitDataService.js';
|
|
|
7
7
|
let ExtHostLogService = class ExtHostLogService extends LogService {
|
|
8
8
|
constructor(isWorker, loggerService, initData) {
|
|
9
9
|
const id = initData.remote.isRemote ? 'remoteexthost' : isWorker ? 'workerexthost' : 'exthost';
|
|
10
|
-
const name = initData.remote.isRemote ? ( localize(
|
|
10
|
+
const name = initData.remote.isRemote ? ( localize(582, "Extension Host (Remote)")) : isWorker ? ( localize(583, "Extension Host (Worker)")) : ( localize(584, "Extension Host"));
|
|
11
11
|
super(loggerService.createLogger(id, { name }));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
@@ -257,7 +257,7 @@ class ExtHostNotebookController {
|
|
|
257
257
|
throw ( new Error('Document version mismatch'));
|
|
258
258
|
}
|
|
259
259
|
if (!this._extHostFileSystem.value.isWritableFileSystem(uri.scheme)) {
|
|
260
|
-
throw new FileOperationError(localize(
|
|
260
|
+
throw new FileOperationError(localize(4151, "Unable to modify read-only file '{0}'", this._resourceForError(uri)), 6 );
|
|
261
261
|
}
|
|
262
262
|
const data = {
|
|
263
263
|
metadata: filter(document.apiNotebook.metadata, key => !(serializer.options?.transientDocumentMetadata ?? {})[key]),
|
|
@@ -429,7 +429,7 @@ class ExtHostNotebookController {
|
|
|
429
429
|
if (typeof options?.mtime === 'number' && typeof options.etag === 'string' && options.etag !== ETAG_DISABLED &&
|
|
430
430
|
typeof stat.mtime === 'number' && typeof stat.size === 'number' &&
|
|
431
431
|
options.mtime < stat.mtime && options.etag !== etag({ mtime: options.mtime , size: stat.size })) {
|
|
432
|
-
throw new FileOperationError(localize(
|
|
432
|
+
throw new FileOperationError(localize(4152, "File Modified Since"), 3 , options);
|
|
433
433
|
}
|
|
434
434
|
return;
|
|
435
435
|
}
|
|
@@ -169,7 +169,7 @@ class ExtHostStatusBarEntry {
|
|
|
169
169
|
}
|
|
170
170
|
else {
|
|
171
171
|
name = ( localize(
|
|
172
|
-
|
|
172
|
+
4153,
|
|
173
173
|
"{0} (Extension)",
|
|
174
174
|
this._extension.displayName || this._extension.name
|
|
175
175
|
));
|
|
@@ -192,7 +192,7 @@ class StatusBarMessage {
|
|
|
192
192
|
constructor(statusBar) {
|
|
193
193
|
this._messages = [];
|
|
194
194
|
this._item = statusBar.createStatusBarEntry(undefined, 'status.extensionMessage', StatusBarAlignment.Left, Number.MIN_VALUE);
|
|
195
|
-
this._item.name = ( localize(
|
|
195
|
+
this._item.name = ( localize(4154, "Extension Status"));
|
|
196
196
|
}
|
|
197
197
|
dispose() {
|
|
198
198
|
this._messages.length = 0;
|
|
@@ -29,7 +29,7 @@ let ExtHostTelemetry = class ExtHostTelemetry extends Disposable {
|
|
|
29
29
|
this.extHostTelemetryLogFile = URI.revive(this.initData.environment.extensionTelemetryLogResource);
|
|
30
30
|
this._inLoggingOnlyMode = this.initData.environment.isExtensionTelemetryLoggingOnly;
|
|
31
31
|
this._outputLogger = loggerService.createLogger(this.extHostTelemetryLogFile, { id: extensionTelemetryLogChannelId, name: ( localize(
|
|
32
|
-
|
|
32
|
+
580,
|
|
33
33
|
"Extension Telemetry{0}",
|
|
34
34
|
this._inLoggingOnlyMode ? ' (Not Sent)' : ''
|
|
35
35
|
)), hidden: true });
|
|
@@ -467,7 +467,7 @@ let BaseExtHostTerminalService = class BaseExtHostTerminalService extends Dispos
|
|
|
467
467
|
async $startExtensionTerminal(id, initialDimensions) {
|
|
468
468
|
const terminal = this.getTerminalById(id);
|
|
469
469
|
if (!terminal) {
|
|
470
|
-
return { message: ( localize(
|
|
470
|
+
return { message: ( localize(577, "Could not find the terminal with id {0} on the extension host", id)) };
|
|
471
471
|
}
|
|
472
472
|
if (!terminal.isOpen) {
|
|
473
473
|
await ( (new Promise(r => {
|
|
@@ -658,7 +658,7 @@ class ExtHostTreeView extends Disposable {
|
|
|
658
658
|
const node = this.createTreeNode(element, extTreeItem, parentNode);
|
|
659
659
|
if (extTreeItem.id && ( this.elements.has(node.item.handle))) {
|
|
660
660
|
throw ( new Error(
|
|
661
|
-
localize(
|
|
661
|
+
localize(4155, 'Element with id {0} is already registered', extTreeItem.id)
|
|
662
662
|
));
|
|
663
663
|
}
|
|
664
664
|
this.addNodeToCache(element, node);
|
|
@@ -147,12 +147,12 @@ let ExtHostTunnelService = class ExtHostTunnelService extends Disposable {
|
|
|
147
147
|
privacyOptions = [
|
|
148
148
|
{
|
|
149
149
|
id: 'private',
|
|
150
|
-
label: ( localize(
|
|
150
|
+
label: ( localize(578, "Private")),
|
|
151
151
|
themeIcon: 'lock'
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
id: 'public',
|
|
155
|
-
label: ( localize(
|
|
155
|
+
label: ( localize(579, "Public")),
|
|
156
156
|
themeIcon: 'eye'
|
|
157
157
|
}
|
|
158
158
|
];
|
|
@@ -245,7 +245,7 @@ let ExtHostWorkspace = class ExtHostWorkspace {
|
|
|
245
245
|
this._unconfirmedWorkspace = undefined;
|
|
246
246
|
const options = { source: { identifier: extension.identifier, label: extension.displayName || extension.name } };
|
|
247
247
|
this._messageService.$showMessage(Severity$1.Error, ( localize(
|
|
248
|
-
|
|
248
|
+
576,
|
|
249
249
|
"Extension '{0}' failed to update workspace folders: {1}",
|
|
250
250
|
extName,
|
|
251
251
|
(error.toString())
|