@codingame/monaco-vscode-quickaccess-service-override
Advanced tools
Comparing version 7.1.0 to 7.1.1
{ | ||
"name": "@codingame/monaco-vscode-quickaccess-service-override", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"keywords": [], | ||
@@ -29,4 +29,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@7.1.0" | ||
"vscode": "npm:@codingame/monaco-vscode-api@7.1.1" | ||
} | ||
} |
@@ -9,3 +9,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { TfIdfCalculator, normalizeTfIdfScores } from 'vscode/vscode/vs/base/common/tfIdf'; | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize } from 'vscode/vscode/vs/nls'; | ||
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service'; | ||
@@ -23,3 +23,2 @@ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service'; | ||
var AbstractCommandsQuickAccessProvider_1, CommandsHistory_1; | ||
const _moduleId = "vs/platform/quickinput/browser/commandsQuickAccess"; | ||
let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvider extends PickerQuickAccessProvider { | ||
@@ -140,11 +139,11 @@ static { AbstractCommandsQuickAccessProvider_1 = this; } | ||
if (i === 0 && this.commandsHistory.peek(commandPick.commandId)) { | ||
commandPicks.push({ type: 'separator', label: ( localizeWithPath(_moduleId, 0, "recently used")) }); | ||
commandPicks.push({ type: 'separator', label: ( localize(4790, "recently used")) }); | ||
addOtherSeparator = true; | ||
} | ||
if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) { | ||
commandPicks.push({ type: 'separator', label: ( localizeWithPath(_moduleId, 1, "similar commands")) }); | ||
commandPicks.push({ type: 'separator', label: ( localize(4791, "similar commands")) }); | ||
addSuggestedSeparator = false; | ||
} | ||
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && this.options.suggestedCommandIds?.has(commandPick.commandId)) { | ||
commandPicks.push({ type: 'separator', label: ( localizeWithPath(_moduleId, 2, "commonly used")) }); | ||
commandPicks.push({ type: 'separator', label: ( localize(4792, "commonly used")) }); | ||
addOtherSeparator = true; | ||
@@ -154,3 +153,3 @@ addCommonlyUsedSeparator = false; | ||
if (addOtherSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && !this.options.suggestedCommandIds?.has(commandPick.commandId)) { | ||
commandPicks.push({ type: 'separator', label: ( localizeWithPath(_moduleId, 3, "other commands")) }); | ||
commandPicks.push({ type: 'separator', label: ( localize(4793, "other commands")) }); | ||
addOtherSeparator = false; | ||
@@ -172,3 +171,3 @@ } | ||
if (addSuggestedSeparator && commandPicks[0]?.type !== 'separator') { | ||
commandPicks.unshift({ type: 'separator', label: ( localizeWithPath(_moduleId, 1, "similar commands")) }); | ||
commandPicks.unshift({ type: 'separator', label: ( localize(4793, "similar commands")) }); | ||
} | ||
@@ -185,3 +184,3 @@ return commandPicks; | ||
const ariaLabel = keybinding ? | ||
( localizeWithPath(_moduleId, 4, "{0}, {1}", commandPick.label, keybinding.getAriaLabel())) : | ||
( localize(4794, "{0}, {1}", commandPick.label, keybinding.getAriaLabel())) : | ||
commandPick.label; | ||
@@ -206,3 +205,3 @@ return { | ||
if (!isCancellationError(error)) { | ||
this.dialogService.error(( localizeWithPath(_moduleId, 5, "Command '{0}' resulted in an error", commandPick.label)), toErrorMessage(error)); | ||
this.dialogService.error(( localize(4795, "Command '{0}' resulted in an error", commandPick.label)), toErrorMessage(error)); | ||
} | ||
@@ -209,0 +208,0 @@ } |
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize } from 'vscode/vscode/vs/nls'; | ||
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform'; | ||
@@ -10,3 +10,2 @@ import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle'; | ||
var HelpQuickAccessProvider_1; | ||
const _moduleId = "vs/platform/quickinput/browser/helpQuickAccess"; | ||
let HelpQuickAccessProvider = class HelpQuickAccessProvider { | ||
@@ -53,3 +52,3 @@ static { HelpQuickAccessProvider_1 = this; } | ||
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined, | ||
ariaLabel: ( localizeWithPath(_moduleId, 0, "{0}, {1}", label, helpEntry.description)), | ||
ariaLabel: ( localize(4985, "{0}, {1}", label, helpEntry.description)), | ||
description: helpEntry.description | ||
@@ -56,0 +55,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize2, localize } from 'vscode/vscode/vs/nls'; | ||
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions'; | ||
@@ -12,3 +12,2 @@ import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes'; | ||
const _moduleId = "vs/workbench/browser/actions/quickAccessActions"; | ||
const globalQuickAccessKeybinding = { | ||
@@ -109,3 +108,3 @@ primary: KeyMod.CtrlCmd | KeyCode.KeyP, | ||
id: 'workbench.action.quickOpen', | ||
title: ( localize2WithPath(_moduleId, 0, "Go to File...")), | ||
title: ( localize2(1172, "Go to File...")), | ||
metadata: { | ||
@@ -138,3 +137,3 @@ description: `Quick access`, | ||
id: 'workbench.action.quickOpenWithModes', | ||
title: ( localizeWithPath(_moduleId, 1, "Quick Open")), | ||
title: ( localize(1173, "Quick Open")), | ||
icon: Codicon.search, | ||
@@ -179,3 +178,3 @@ menu: { | ||
constructor() { | ||
super('workbench.action.quickOpenNavigateNext', ( localize2WithPath(_moduleId, 2, 'Navigate Next in Quick Open')), true, true); | ||
super('workbench.action.quickOpenNavigateNext', ( localize2(1174, 'Navigate Next in Quick Open')), true, true); | ||
} | ||
@@ -185,3 +184,3 @@ } | ||
constructor() { | ||
super('workbench.action.quickOpenNavigatePrevious', ( localize2WithPath(_moduleId, 3, 'Navigate Previous in Quick Open')), false, true); | ||
super('workbench.action.quickOpenNavigatePrevious', ( localize2(1175, 'Navigate Previous in Quick Open')), false, true); | ||
} | ||
@@ -191,3 +190,3 @@ } | ||
constructor() { | ||
super('workbench.action.quickOpenSelectNext', ( localize2WithPath(_moduleId, 4, 'Select Next in Quick Open')), true, false, { | ||
super('workbench.action.quickOpenSelectNext', ( localize2(1176, 'Select Next in Quick Open')), true, false, { | ||
weight: KeybindingWeight.WorkbenchContrib + 50, | ||
@@ -202,3 +201,3 @@ when: inQuickPickContext, | ||
constructor() { | ||
super('workbench.action.quickOpenSelectPrevious', ( localize2WithPath(_moduleId, 5, 'Select Previous in Quick Open')), false, false, { | ||
super('workbench.action.quickOpenSelectPrevious', ( localize2(1177, 'Select Previous in Quick Open')), false, false, { | ||
weight: KeybindingWeight.WorkbenchContrib + 50, | ||
@@ -205,0 +204,0 @@ when: inQuickPickContext, |
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize2, localize } from 'vscode/vscode/vs/nls'; | ||
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service'; | ||
@@ -14,3 +14,2 @@ import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service'; | ||
const _moduleId = "vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess"; | ||
let GotoLineQuickAccessProvider = class GotoLineQuickAccessProvider extends AbstractGotoLineQuickAccessProvider { | ||
@@ -58,3 +57,3 @@ constructor(editorService, editorGroupService, configurationService) { | ||
id: GotoLineAction.ID, | ||
title: ( localize2WithPath(_moduleId, 0, 'Go to Line/Column...')), | ||
title: ( localize2(1163, 'Go to Line/Column...')), | ||
f1: true, | ||
@@ -77,10 +76,9 @@ keybinding: { | ||
prefix: AbstractGotoLineQuickAccessProvider.PREFIX, | ||
placeholder: ( localizeWithPath( | ||
_moduleId, | ||
1, | ||
placeholder: ( localize( | ||
1164, | ||
"Type the line number and optional column to go to (e.g. 42:5 for line 42 and column 5)." | ||
)), | ||
helpEntries: [{ description: ( localizeWithPath(_moduleId, 2, "Go to Line/Column")), commandId: GotoLineAction.ID }] | ||
helpEntries: [{ description: ( localize(1165, "Go to Line/Column")), commandId: GotoLineAction.ID }] | ||
}); | ||
export { GotoLineQuickAccessProvider }; |
@@ -10,3 +10,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { AbstractEditorCommandsQuickAccessProvider } from '../../../../editor/contrib/quickAccess/browser/commandsQuickAccess.js'; | ||
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize, localize2 } from 'vscode/vscode/vs/nls'; | ||
import { isLocalizedString } from 'vscode/vscode/vs/platform/action/common/action'; | ||
@@ -41,3 +41,2 @@ import { MenuId, MenuItemAction, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions'; | ||
var CommandsQuickAccessProvider_1; | ||
const _moduleId = "vs/workbench/contrib/quickaccess/browser/commandsQuickAccess"; | ||
let CommandsQuickAccessProvider = class CommandsQuickAccessProvider extends AbstractEditorCommandsQuickAccessProvider { | ||
@@ -59,3 +58,3 @@ static { CommandsQuickAccessProvider_1 = this; } | ||
noResultsPick: () => ({ | ||
label: ( localizeWithPath(_moduleId, 0, "No matching commands")), | ||
label: ( localize(1154, "No matching commands")), | ||
commandId: '' | ||
@@ -109,3 +108,3 @@ }), | ||
iconClass: ThemeIcon.asClassName(Codicon.gear), | ||
tooltip: ( localizeWithPath(_moduleId, 1, "Configure Keybinding")), | ||
tooltip: ( localize(1155, "Configure Keybinding")), | ||
}], | ||
@@ -148,3 +147,3 @@ trigger: () => { | ||
additionalPicks.push({ | ||
label: ( localizeWithPath(_moduleId, 2, "Ask {0}: {1}", defaultAgent.fullName, filter)), | ||
label: ( localize(1156, "Ask {0}: {1}", defaultAgent.fullName, filter)), | ||
commandId: this.configuration.experimental.askChatLocation === 'quickChat' ? ASK_QUICK_QUESTION_ACTION_ID : CHAT_OPEN_ACTION_ID, | ||
@@ -175,4 +174,4 @@ args: [filter] | ||
const scopedContextKeyService = this.editorService.activeEditorPane?.scopedContextKeyService || this.editorGroupService.activeGroup.scopedContextKeyService; | ||
const globalCommandsMenu = this.menuService.createMenu(MenuId.CommandPalette, scopedContextKeyService); | ||
const globalCommandsMenuActions = globalCommandsMenu.getActions() | ||
const globalCommandsMenu = this.menuService.getMenuActions(MenuId.CommandPalette, scopedContextKeyService); | ||
const globalCommandsMenuActions = globalCommandsMenu | ||
.reduce((r, [, actions]) => [...r, ...actions], []) | ||
@@ -184,3 +183,3 @@ .filter(action => action instanceof MenuItemAction && action.enabled); | ||
if (category) { | ||
label = ( localizeWithPath(_moduleId, 3, "{0}: {1}", category, label)); | ||
label = ( localize(1157, "{0}: {1}", category, label)); | ||
} | ||
@@ -204,3 +203,2 @@ const aliasLabel = typeof action.item.title !== 'string' ? action.item.title.original : undefined; | ||
} | ||
globalCommandsMenu.dispose(); | ||
return globalCommandPicks; | ||
@@ -230,3 +228,3 @@ } | ||
id: ShowAllCommandsAction.ID, | ||
title: ( localize2WithPath(_moduleId, 4, 'Show All Commands')), | ||
title: ( localize2(1158, 'Show All Commands')), | ||
keybinding: { | ||
@@ -249,3 +247,3 @@ weight: KeybindingWeight.WorkbenchContrib, | ||
id: 'workbench.action.clearCommandHistory', | ||
title: ( localize2WithPath(_moduleId, 5, 'Clear Command History')), | ||
title: ( localize2(1159, 'Clear Command History')), | ||
f1: true | ||
@@ -262,9 +260,5 @@ }); | ||
type: 'warning', | ||
message: ( localizeWithPath( | ||
_moduleId, | ||
6, | ||
"Do you want to clear the history of recently used commands?" | ||
)), | ||
detail: ( localizeWithPath(_moduleId, 7, "This action is irreversible!")), | ||
primaryButton: ( localizeWithPath(_moduleId, 8, "&&Clear")) | ||
message: ( localize(1160, "Do you want to clear the history of recently used commands?")), | ||
detail: ( localize(1161, "This action is irreversible!")), | ||
primaryButton: ( localize(1162, "&&Clear")) | ||
}); | ||
@@ -271,0 +265,0 @@ if (!confirmed) { |
@@ -1,2 +0,2 @@ | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize } from 'vscode/vscode/vs/nls'; | ||
import { Extensions } from 'vscode/vscode/vs/platform/quickinput/common/quickAccess'; | ||
@@ -14,3 +14,2 @@ import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform'; | ||
const _moduleId = "vs/workbench/contrib/quickaccess/browser/quickAccess.contribution"; | ||
const quickAccessRegistry = ( (Registry.as(Extensions.Quickaccess))); | ||
@@ -20,5 +19,4 @@ quickAccessRegistry.registerQuickAccessProvider({ | ||
prefix: HelpQuickAccessProvider.PREFIX, | ||
placeholder: ( localizeWithPath( | ||
_moduleId, | ||
0, | ||
placeholder: ( localize( | ||
1178, | ||
"Type '{0}' to get help on the actions you can take from here.", | ||
@@ -28,5 +26,5 @@ HelpQuickAccessProvider.PREFIX | ||
helpEntries: [{ | ||
description: ( localizeWithPath(_moduleId, 1, "Show all Quick Access Providers")), | ||
description: ( localize(1179, "Show all Quick Access Providers")), | ||
commandCenterOrder: 70, | ||
commandCenterLabel: ( localizeWithPath(_moduleId, 2, 'More')) | ||
commandCenterLabel: ( localize(1180, 'More')) | ||
}] | ||
@@ -38,8 +36,4 @@ }); | ||
contextKey: 'inViewsPicker', | ||
placeholder: ( localizeWithPath( | ||
_moduleId, | ||
3, | ||
"Type the name of a view, output channel or terminal to open." | ||
)), | ||
helpEntries: [{ description: ( localizeWithPath(_moduleId, 4, "Open View")), commandId: OpenViewPickerAction.ID }] | ||
placeholder: ( localize(1181, "Type the name of a view, output channel or terminal to open.")), | ||
helpEntries: [{ description: ( localize(1182, "Open View")), commandId: OpenViewPickerAction.ID }] | ||
}); | ||
@@ -50,4 +44,4 @@ quickAccessRegistry.registerQuickAccessProvider({ | ||
contextKey: 'inCommandsPicker', | ||
placeholder: ( localizeWithPath(_moduleId, 5, "Type the name of a command to run.")), | ||
helpEntries: [{ description: ( localizeWithPath(_moduleId, 6, "Show and Run Commands")), commandId: ShowAllCommandsAction.ID, commandCenterOrder: 20 }] | ||
placeholder: ( localize(1183, "Type the name of a command to run.")), | ||
helpEntries: [{ description: ( localize(1184, "Show and Run Commands")), commandId: ShowAllCommandsAction.ID, commandCenterOrder: 20 }] | ||
}); | ||
@@ -58,3 +52,3 @@ MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, { | ||
id: ShowAllCommandsAction.ID, | ||
title: ( localizeWithPath(_moduleId, 7, "&&Command Palette...")) | ||
title: ( localize(1185, "&&Command Palette...")) | ||
}, | ||
@@ -67,3 +61,3 @@ order: 1 | ||
id: ShowAllCommandsAction.ID, | ||
title: ( localizeWithPath(_moduleId, 8, "Show All Commands")) | ||
title: ( localize(1186, "Show All Commands")) | ||
}, | ||
@@ -76,3 +70,3 @@ order: 2 | ||
id: OpenViewPickerAction.ID, | ||
title: ( localizeWithPath(_moduleId, 9, "&&Open View...")) | ||
title: ( localize(1187, "&&Open View...")) | ||
}, | ||
@@ -85,3 +79,3 @@ order: 2 | ||
id: 'workbench.action.gotoLine', | ||
title: ( localizeWithPath(_moduleId, 10, "Go to &&Line/Column...")) | ||
title: ( localize(1188, "Go to &&Line/Column...")) | ||
}, | ||
@@ -94,3 +88,3 @@ order: 1 | ||
id: ShowAllCommandsAction.ID, | ||
title: ( localizeWithPath(_moduleId, 11, "Command Palette...")) | ||
title: ( localize(1189, "Command Palette...")) | ||
}, | ||
@@ -104,3 +98,3 @@ order: 1 | ||
id: ShowAllCommandsAction.ID, | ||
title: ( localizeWithPath(_moduleId, 11, "Command Palette...")), | ||
title: ( localize(1189, "Command Palette...")), | ||
}, | ||
@@ -107,0 +101,0 @@ order: 1 |
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize, localize2 } from 'vscode/vscode/vs/nls'; | ||
import { ItemActivation } from 'vscode/vscode/vs/platform/quickinput/common/quickInput'; | ||
@@ -24,3 +24,2 @@ import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service'; | ||
var ViewQuickAccessProvider_1; | ||
const _moduleId = "vs/workbench/contrib/quickaccess/browser/viewQuickAccess"; | ||
let ViewQuickAccessProvider = class ViewQuickAccessProvider extends PickerQuickAccessProvider { | ||
@@ -32,3 +31,3 @@ static { ViewQuickAccessProvider_1 = this; } | ||
noResultsPick: { | ||
label: ( localizeWithPath(_moduleId, 0, "No matching views")), | ||
label: ( localize(4986, "No matching views")), | ||
containerLabel: '' | ||
@@ -121,5 +120,5 @@ } | ||
}; | ||
addPaneComposites(ViewContainerLocation.Sidebar, ( localizeWithPath(_moduleId, 1, "Side Bar"))); | ||
addPaneComposites(ViewContainerLocation.Panel, ( localizeWithPath(_moduleId, 2, "Panel"))); | ||
addPaneComposites(ViewContainerLocation.AuxiliaryBar, ( localizeWithPath(_moduleId, 3, "Secondary Side Bar"))); | ||
addPaneComposites(ViewContainerLocation.Sidebar, ( localize(4987, "Side Bar"))); | ||
addPaneComposites(ViewContainerLocation.Panel, ( localize(4988, "Panel"))); | ||
addPaneComposites(ViewContainerLocation.AuxiliaryBar, ( localize(4989, "Secondary Side Bar"))); | ||
const addPaneCompositeViews = (location) => { | ||
@@ -139,12 +138,6 @@ const paneComposites = this.paneCompositeService.getPaneComposites(location); | ||
group.terminalInstances.forEach((terminal, terminalIndex) => { | ||
const label = ( localizeWithPath( | ||
_moduleId, | ||
4, | ||
"{0}: {1}", | ||
`${groupIndex + 1}.${terminalIndex + 1}`, | ||
terminal.title | ||
)); | ||
const label = ( localize(4990, "{0}: {1}", `${groupIndex + 1}.${terminalIndex + 1}`, terminal.title)); | ||
viewEntries.push({ | ||
label, | ||
containerLabel: ( localizeWithPath(_moduleId, 5, "Terminal")), | ||
containerLabel: ( localize(4991, "Terminal")), | ||
accept: async () => { | ||
@@ -161,3 +154,3 @@ await this.terminalGroupService.showPanel(true); | ||
label, | ||
containerLabel: ( localizeWithPath(_moduleId, 6, "Debug Console")), | ||
containerLabel: ( localize(4992, "Debug Console")), | ||
accept: async () => { | ||
@@ -175,3 +168,3 @@ await this.debugService.focusStackFrame(undefined, undefined, session, { explicit: true }); | ||
label: channel.label, | ||
containerLabel: ( localizeWithPath(_moduleId, 7, "Output")), | ||
containerLabel: ( localize(4993, "Output")), | ||
accept: () => this.outputService.showChannel(channel.id) | ||
@@ -205,3 +198,3 @@ }); | ||
id: OpenViewPickerAction.ID, | ||
title: ( localize2WithPath(_moduleId, 8, 'Open View')), | ||
title: ( localize2(4994, 'Open View')), | ||
category: Categories.View, | ||
@@ -225,3 +218,3 @@ f1: true | ||
id: QuickAccessViewPickerAction.ID, | ||
title: ( localize2WithPath(_moduleId, 9, 'Quick Open View')), | ||
title: ( localize2(4995, 'Quick Open View')), | ||
category: Categories.View, | ||
@@ -228,0 +221,0 @@ f1: false, |
@@ -5,3 +5,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
import { URI } from 'vscode/vscode/vs/base/common/uri'; | ||
import { localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize } from 'vscode/vscode/vs/nls'; | ||
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service'; | ||
@@ -22,3 +22,2 @@ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service'; | ||
const _moduleId = "vs/workbench/contrib/url/browser/trustedDomainsValidator"; | ||
let OpenerValidatorContributions = class OpenerValidatorContributions { | ||
@@ -72,5 +71,4 @@ constructor(_openerService, _storageService, _dialogService, _productService, _quickInputService, _editorService, _clipboardService, _telemetryService, _instantiationService, _configurationService, _workspaceTrustService, _trustedDomainService) { | ||
type: Severity$1.Info, | ||
message: ( localizeWithPath( | ||
_moduleId, | ||
0, | ||
message: ( localize( | ||
4996, | ||
'Do you want {0} to open the external website?', | ||
@@ -82,7 +80,7 @@ this._productService.nameShort | ||
{ | ||
label: ( localizeWithPath(_moduleId, 1, '&&Open')), | ||
label: ( localize(4997, '&&Open')), | ||
run: () => true | ||
}, | ||
{ | ||
label: ( localizeWithPath(_moduleId, 2, '&&Copy')), | ||
label: ( localize(4998, '&&Copy')), | ||
run: () => { | ||
@@ -94,3 +92,3 @@ this._clipboardService.writeText(typeof originalResource === 'string' ? originalResource : ( (resourceUri.toString(true)))); | ||
{ | ||
label: ( localizeWithPath(_moduleId, 3, 'Configure &&Trusted Domains')), | ||
label: ( localize(4999, 'Configure &&Trusted Domains')), | ||
run: async () => { | ||
@@ -97,0 +95,0 @@ const { trustedDomains, } = this._instantiationService.invokeFunction(readStaticTrustedDomains); |
import { URI } from 'vscode/vscode/vs/base/common/uri'; | ||
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls'; | ||
import { localize2, localize } from 'vscode/vscode/vs/nls'; | ||
import { Action2, registerAction2, MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions'; | ||
@@ -21,3 +21,2 @@ import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands'; | ||
const _moduleId = "vs/workbench/contrib/url/browser/url.contribution"; | ||
class OpenUrlAction extends Action2 { | ||
@@ -27,3 +26,3 @@ constructor() { | ||
id: 'workbench.action.url.openUrl', | ||
title: ( localize2WithPath(_moduleId, 0, 'Open URL')), | ||
title: ( localize2(1190, 'Open URL')), | ||
category: Categories.Developer, | ||
@@ -36,3 +35,3 @@ f1: true | ||
const urlService = accessor.get(IURLService); | ||
return quickInputService.input({ prompt: ( localizeWithPath(_moduleId, 1, "URL to open")) }).then(input => { | ||
return quickInputService.input({ prompt: ( localize(1191, "URL to open")) }).then(input => { | ||
if (input) { | ||
@@ -66,5 +65,4 @@ const uri = ( (URI.parse(input))); | ||
default: false, | ||
description: ( localizeWithPath( | ||
_moduleId, | ||
2, | ||
description: ( localize( | ||
1192, | ||
"When enabled, trusted domain prompts will appear when opening links in trusted workspaces." | ||
@@ -71,0 +69,0 @@ )) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91311
1795
0
105
+ Added@codingame/monaco-vscode-api@7.1.1(transitive)
+ Added@codingame/monaco-vscode-base-service-override@7.1.1(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@7.1.1(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@7.1.1(transitive)
+ Added@codingame/monaco-vscode-files-service-override@7.1.1(transitive)
+ Added@codingame/monaco-vscode-host-service-override@7.1.1(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@7.1.1(transitive)
+ Addedjschardet@3.1.3(transitive)
- Removed@codingame/monaco-vscode-api@7.1.0(transitive)
- Removed@codingame/monaco-vscode-base-service-override@7.1.0(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@7.1.0(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@7.1.0(transitive)
- Removed@codingame/monaco-vscode-files-service-override@7.1.0(transitive)
- Removed@codingame/monaco-vscode-host-service-override@7.1.0(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@7.1.0(transitive)
- Removedjschardet@3.1.2(transitive)