@codingame/monaco-vscode-api 10.1.3 → 10.1.4
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/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- 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/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- 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/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- 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/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- 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/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- 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/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- 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/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- 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/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- 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/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- 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/userDataSync/common/userDataSync.js +11 -11
|
@@ -119,16 +119,16 @@ let BaseWindow = class BaseWindow extends Disposable {
|
|
|
119
119
|
const dialogService = accessor.get(IDialogService);
|
|
120
120
|
const configurationService = accessor.get(IConfigurationService);
|
|
121
121
|
const message = reason === 2 ?
|
|
122
|
-
(isMacintosh ? ( localize(
|
|
123
|
-
( localize(
|
|
122
|
+
(isMacintosh ? ( localize(3573, "Are you sure you want to quit?")) : ( localize(3574, "Are you sure you want to exit?"))) :
|
|
123
|
+
( localize(3575, "Are you sure you want to close the window?"));
|
|
124
124
|
const primaryButton = reason === 2 ?
|
|
125
|
-
(isMacintosh ? ( localize(
|
|
126
|
-
( localize(
|
|
125
|
+
(isMacintosh ? ( localize(3576, "&&Quit")) : ( localize(3577, "&&Exit"))) :
|
|
126
|
+
( localize(3578, "&&Close Window"));
|
|
127
127
|
const res = await dialogService.confirm({
|
|
128
128
|
message,
|
|
129
129
|
primaryButton,
|
|
130
130
|
checkbox: {
|
|
131
|
-
label: ( localize(
|
|
131
|
+
label: ( localize(3579, "Do not ask me again"))
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
if (res.confirmed && res.checkboxChecked) {
|
|
@@ -173,11 +173,11 @@ let BrowserWindow = class BrowserWindow extends BaseWindow {
|
|
|
173
173
|
await timeout(3000);
|
|
174
174
|
await this.dialogService.prompt({
|
|
175
175
|
type: Severity$1.Error,
|
|
176
|
-
message: ( localize(
|
|
177
|
-
detail: ( localize(
|
|
176
|
+
message: ( localize(3580, "An unexpected error occurred that requires a reload of this page.")),
|
|
177
|
+
detail: ( localize(3581, "The workbench was unexpectedly disposed while running.")),
|
|
178
178
|
buttons: [
|
|
179
179
|
{
|
|
180
|
-
label: ( localize(
|
|
180
|
+
label: ( localize(3582, "&&Reload")),
|
|
181
181
|
run: () => mainWindow.location.reload()
|
|
182
182
|
}
|
|
183
183
|
]
|
|
@@ -214,17 +214,17 @@ let BrowserWindow = class BrowserWindow extends BaseWindow {
|
|
|
214
214
|
await this.dialogService.prompt({
|
|
215
215
|
type: Severity$1.Warning,
|
|
216
216
|
message: ( localize(
|
|
217
|
-
|
|
217
|
+
3583,
|
|
218
218
|
"The browser interrupted the opening of a new tab or window. Press 'Open' to open it anyway."
|
|
219
219
|
)),
|
|
220
220
|
detail: href,
|
|
221
221
|
buttons: [
|
|
222
222
|
{
|
|
223
|
-
label: ( localize(
|
|
223
|
+
label: ( localize(3584, "&&Open")),
|
|
224
224
|
run: () => isAllowedOpener ? windowOpenPopup(href) : windowOpenNoOpener(href)
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
label: ( localize(
|
|
227
|
+
label: ( localize(3585, "&&Learn More")),
|
|
228
228
|
run: () => this.openerService.open(( (URI.parse('https://aka.ms/allow-vscode-popup'))))
|
|
229
229
|
}
|
|
230
230
|
],
|
|
@@ -248,19 +248,19 @@ let BrowserWindow = class BrowserWindow extends BaseWindow {
|
|
|
248
248
|
let detail;
|
|
249
249
|
const buttons = [
|
|
250
250
|
{
|
|
251
|
-
label: ( localize(
|
|
251
|
+
label: ( localize(3586, "&&Try Again")),
|
|
252
252
|
run: () => invokeProtocolHandler()
|
|
253
253
|
}
|
|
254
254
|
];
|
|
255
255
|
if (downloadUrl !== undefined) {
|
|
256
256
|
detail = ( localize(
|
|
257
|
-
|
|
257
|
+
3587,
|
|
258
258
|
"We launched {0} on your computer.\n\nIf {1} did not launch, try again or install it below.",
|
|
259
259
|
this.productService.nameLong,
|
|
260
260
|
this.productService.nameLong
|
|
261
261
|
));
|
|
262
262
|
buttons.push({
|
|
263
|
-
label: ( localize(
|
|
263
|
+
label: ( localize(3588, "&&Install")),
|
|
264
264
|
run: async () => {
|
|
265
265
|
await this.openerService.open(( (URI.parse(downloadUrl))));
|
|
266
266
|
showProtocolUrlOpenedDialog();
|
|
@@ -269,7 +269,7 @@ let BrowserWindow = class BrowserWindow extends BaseWindow {
|
|
|
269
269
|
}
|
|
270
270
|
else {
|
|
271
271
|
detail = ( localize(
|
|
272
|
-
|
|
272
|
+
3589,
|
|
273
273
|
"We launched {0} on your computer.\n\nIf {1} did not launch, try again below.",
|
|
274
274
|
this.productService.nameLong,
|
|
275
275
|
this.productService.nameLong
|
|
@@ -277,7 +277,7 @@ let BrowserWindow = class BrowserWindow extends BaseWindow {
|
|
|
277
277
|
}
|
|
278
278
|
await this.hostService.withExpectedShutdown(() => this.dialogService.prompt({
|
|
279
279
|
type: Severity$1.Info,
|
|
280
|
-
message: ( localize(
|
|
280
|
+
message: ( localize(3590, "All done. You can close this tab now.")),
|
|
281
281
|
detail,
|
|
282
282
|
buttons,
|
|
283
283
|
cancelButton: true
|
|
@@ -60,7 +60,7 @@ let SideBySideEditorInput = class SideBySideEditorInput extends EditorInput {
|
|
|
60
60
|
if (this.hasIdenticalSides) {
|
|
61
61
|
return this.primary.getName();
|
|
62
62
|
}
|
|
63
|
-
return ( localize(
|
|
63
|
+
return ( localize(6185, "{0} - {1}", this.secondary.getName(), this.primary.getName()));
|
|
64
64
|
}
|
|
65
65
|
getPreferredName() {
|
|
66
66
|
return this.preferredName;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { localize2 } from '../../../../../nls.js';
|
|
2
|
-
const CHAT_CATEGORY = ( localize2(
|
|
2
|
+
const CHAT_CATEGORY = ( localize2(4617, 'Chat'));
|
|
3
3
|
const CHAT_OPEN_ACTION_ID = 'workbench.action.chat.open';
|
|
4
4
|
const ASK_QUICK_QUESTION_ACTION_ID = 'workbench.action.quickchat.toggle';
|
|
5
5
|
export { ASK_QUICK_QUESTION_ACTION_ID, CHAT_CATEGORY, CHAT_OPEN_ACTION_ID };
|
|
@@ -14,7 +14,7 @@ class SubmitAction extends Action2 {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super({
|
|
16
16
|
id: SubmitAction.ID,
|
|
17
|
-
title: ( localize2(
|
|
17
|
+
title: ( localize2(7323, "Send")),
|
|
18
18
|
f1: false,
|
|
19
19
|
category: CHAT_CATEGORY,
|
|
20
20
|
icon: Codicon.send,
|
|
@@ -52,7 +52,7 @@ const ChatModelPickerActionId = 'workbench.action.chat.pickModel';
|
|
|
52
52
|
MenuRegistry.appendMenuItem(MenuId.ChatExecute, {
|
|
53
53
|
command: {
|
|
54
54
|
id: ChatModelPickerActionId,
|
|
55
|
-
title: ( localize2(
|
|
55
|
+
title: ( localize2(7324, "Pick Model")),
|
|
56
56
|
},
|
|
57
57
|
order: 3,
|
|
58
58
|
group: 'navigation',
|
|
@@ -67,7 +67,7 @@ class ChatSubmitSecondaryAgentAction extends Action2 {
|
|
|
67
67
|
constructor() {
|
|
68
68
|
super({
|
|
69
69
|
id: ChatSubmitSecondaryAgentAction.ID,
|
|
70
|
-
title: ( localize2(
|
|
70
|
+
title: ( localize2(7325, "Submit to Secondary Agent")),
|
|
71
71
|
precondition: ( (ContextKeyExpr.and(
|
|
72
72
|
CONTEXT_CHAT_INPUT_HAS_TEXT,
|
|
73
73
|
(CONTEXT_CHAT_INPUT_HAS_AGENT.negate()),
|
|
@@ -109,7 +109,7 @@ class SendToNewChatAction extends Action2 {
|
|
|
109
109
|
constructor() {
|
|
110
110
|
super({
|
|
111
111
|
id: 'workbench.action.chat.sendToNewChat',
|
|
112
|
-
title: ( localize2(
|
|
112
|
+
title: ( localize2(7326, "Send to New Chat")),
|
|
113
113
|
precondition: ( (ContextKeyExpr.and(
|
|
114
114
|
(CONTEXT_CHAT_REQUEST_IN_PROGRESS.negate()),
|
|
115
115
|
CONTEXT_CHAT_INPUT_HAS_TEXT
|
|
@@ -143,7 +143,7 @@ class CancelAction extends Action2 {
|
|
|
143
143
|
constructor() {
|
|
144
144
|
super({
|
|
145
145
|
id: CancelAction.ID,
|
|
146
|
-
title: ( localize2(
|
|
146
|
+
title: ( localize2(7327, "Cancel")),
|
|
147
147
|
f1: false,
|
|
148
148
|
category: CHAT_CATEGORY,
|
|
149
149
|
icon: Codicon.stopCircle,
|
package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js
CHANGED
|
@@ -143,7 +143,7 @@ let GotoSymbolQuickAccessProvider = class GotoSymbolQuickAccessProvider extends
|
|
|
143
143
|
return true;
|
|
144
144
|
});
|
|
145
145
|
if (filteredItems.length === 0) {
|
|
146
|
-
const label = ( localize(
|
|
146
|
+
const label = ( localize(903, 'No matching entries'));
|
|
147
147
|
picker.items = [{ label, index: -1, kind: 14 }];
|
|
148
148
|
picker.ariaLabel = label;
|
|
149
149
|
}
|
|
@@ -187,8 +187,8 @@ class GotoSymbolAction extends Action2 {
|
|
|
187
187
|
super({
|
|
188
188
|
id: GotoSymbolAction.ID,
|
|
189
189
|
title: {
|
|
190
|
-
...( localize2(
|
|
191
|
-
mnemonicTitle: ( localize(
|
|
190
|
+
...( localize2(904, "Go to Symbol in Editor...")),
|
|
191
|
+
mnemonicTitle: ( localize(905, "Go to &&Symbol in Editor...")),
|
|
192
192
|
},
|
|
193
193
|
f1: true,
|
|
194
194
|
keybinding: {
|
|
@@ -215,16 +215,16 @@ registerAction2(GotoSymbolAction);
|
|
|
215
215
|
ctor: GotoSymbolQuickAccessProvider,
|
|
216
216
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
217
217
|
contextKey: 'inFileSymbolsPicker',
|
|
218
|
-
placeholder: ( localize(
|
|
218
|
+
placeholder: ( localize(906, "Type the name of a symbol to go to.")),
|
|
219
219
|
helpEntries: [
|
|
220
220
|
{
|
|
221
|
-
description: ( localize(
|
|
221
|
+
description: ( localize(907, "Go to Symbol in Editor")),
|
|
222
222
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
223
223
|
commandId: GotoSymbolAction.ID,
|
|
224
224
|
commandCenterOrder: 40
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
description: ( localize(
|
|
227
|
+
description: ( localize(908, "Go to Symbol in Editor by Category")),
|
|
228
228
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY
|
|
229
229
|
}
|
|
230
230
|
]
|
|
@@ -8,53 +8,53 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
|
8
8
|
var CommentAccessibilityHelpNLS;
|
|
9
9
|
( ((function(CommentAccessibilityHelpNLS) {
|
|
10
10
|
CommentAccessibilityHelpNLS.intro = ( localize(
|
|
11
|
-
|
|
11
|
+
5355,
|
|
12
12
|
"The editor contains commentable range(s). Some useful commands include:"
|
|
13
13
|
));
|
|
14
14
|
CommentAccessibilityHelpNLS.tabFocus = ( localize(
|
|
15
|
-
|
|
15
|
+
5356,
|
|
16
16
|
"This widget contains a text area, for composition of new comments, and actions, that can be tabbed to once tab moves focus mode has been enabled with the command Toggle Tab Key Moves Focus{0}.",
|
|
17
17
|
`<keybinding:${ToggleTabFocusModeAction.ID}>`
|
|
18
18
|
));
|
|
19
|
-
CommentAccessibilityHelpNLS.commentCommands = ( localize(
|
|
20
|
-
CommentAccessibilityHelpNLS.escape = ( localize(
|
|
19
|
+
CommentAccessibilityHelpNLS.commentCommands = ( localize(5357, "Some useful comment commands include:"));
|
|
20
|
+
CommentAccessibilityHelpNLS.escape = ( localize(5358, "- Dismiss Comment (Escape)"));
|
|
21
21
|
CommentAccessibilityHelpNLS.nextRange = ( localize(
|
|
22
|
-
|
|
22
|
+
5359,
|
|
23
23
|
"- Go to Next Commenting Range{0}.",
|
|
24
24
|
`<keybinding:${"editor.action.nextCommentingRange" }>`
|
|
25
25
|
));
|
|
26
26
|
CommentAccessibilityHelpNLS.previousRange = ( localize(
|
|
27
|
-
|
|
27
|
+
5360,
|
|
28
28
|
"- Go to Previous Commenting Range{0}.",
|
|
29
29
|
`<keybinding:${"editor.action.previousCommentingRange" }>`
|
|
30
30
|
));
|
|
31
31
|
CommentAccessibilityHelpNLS.nextCommentThread = ( localize(
|
|
32
|
-
|
|
32
|
+
5361,
|
|
33
33
|
"- Go to Next Comment Thread{0}.",
|
|
34
34
|
`<keybinding:${"editor.action.nextCommentThreadAction" }>`
|
|
35
35
|
));
|
|
36
36
|
CommentAccessibilityHelpNLS.previousCommentThread = ( localize(
|
|
37
|
-
|
|
37
|
+
5362,
|
|
38
38
|
"- Go to Previous Comment Thread{0}.",
|
|
39
39
|
`<keybinding:${"editor.action.previousCommentThreadAction" }>`
|
|
40
40
|
));
|
|
41
41
|
CommentAccessibilityHelpNLS.nextCommentedRange = ( localize(
|
|
42
|
-
|
|
42
|
+
5363,
|
|
43
43
|
"- Go to Next Commented Range{0}.",
|
|
44
44
|
`<keybinding:${"editor.action.nextCommentedRangeAction" }>`
|
|
45
45
|
));
|
|
46
46
|
CommentAccessibilityHelpNLS.previousCommentedRange = ( localize(
|
|
47
|
-
|
|
47
|
+
5364,
|
|
48
48
|
"- Go to Previous Commented Range{0}.",
|
|
49
49
|
`<keybinding:${"editor.action.previousCommentedRangeAction" }>`
|
|
50
50
|
));
|
|
51
51
|
CommentAccessibilityHelpNLS.addComment = ( localize(
|
|
52
|
-
|
|
52
|
+
5365,
|
|
53
53
|
"- Add Comment on Current Selection{0}.",
|
|
54
54
|
`<keybinding:${"workbench.action.addComment" }>`
|
|
55
55
|
));
|
|
56
56
|
CommentAccessibilityHelpNLS.submitComment = ( localize(
|
|
57
|
-
|
|
57
|
+
5366,
|
|
58
58
|
"- Submit Comment{0}.",
|
|
59
59
|
`<keybinding:${"editor.action.submitComment" }>`
|
|
60
60
|
));
|
|
@@ -794,7 +794,7 @@ let CommentController = class CommentController {
|
|
|
794
794
|
const commentRangeEnd = range?.getEndPosition().lineNumber;
|
|
795
795
|
if (commentRangeStart && commentRangeEnd) {
|
|
796
796
|
const oneLine = commentRangeStart === commentRangeEnd;
|
|
797
|
-
oneLine ? status(( localize(
|
|
797
|
+
oneLine ? status(( localize(5349, "Line {0}", commentRangeStart))) : status(( localize(5350, "Lines {0} to {1}", commentRangeStart, commentRangeEnd)));
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
}
|
|
@@ -966,20 +966,20 @@ let CommentController = class CommentController {
|
|
|
966
966
|
const keybinding = this.keybindingService.lookupKeybinding("editor.action.accessibilityHelp" )?.getAriaLabel();
|
|
967
967
|
if (keybinding) {
|
|
968
968
|
status(( localize(
|
|
969
|
-
|
|
969
|
+
5351,
|
|
970
970
|
"Editor has commenting ranges, run the command Open Accessibility Help ({0}), for more information.",
|
|
971
971
|
keybinding
|
|
972
972
|
)));
|
|
973
973
|
}
|
|
974
974
|
else {
|
|
975
975
|
status(( localize(
|
|
976
|
-
|
|
976
|
+
5352,
|
|
977
977
|
"Editor has commenting ranges, run the command Open Accessibility Help, which is currently not triggerable via keybinding, for more information."
|
|
978
978
|
)));
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
else {
|
|
982
|
-
status(( localize(
|
|
982
|
+
status(( localize(5353, "Editor has commenting ranges.")));
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
985
|
}
|
|
@@ -1132,7 +1132,7 @@ let CommentController = class CommentController {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
else {
|
|
1134
1134
|
const picks = this.getCommentProvidersQuickPicks(newCommentInfos);
|
|
1135
|
-
return this.quickInputService.pick(picks, { placeHolder: ( localize(
|
|
1135
|
+
return this.quickInputService.pick(picks, { placeHolder: ( localize(5354, "Select Comment Provider")), matchOnDescription: true }).then(pick => {
|
|
1136
1136
|
if (!pick) {
|
|
1137
1137
|
return;
|
|
1138
1138
|
}
|
|
@@ -92,7 +92,7 @@ class CommentsModel extends Disposable {
|
|
|
92
92
|
}
|
|
93
93
|
getMessage() {
|
|
94
94
|
if (!this._resourceCommentThreads.length) {
|
|
95
|
-
return ( localize(
|
|
95
|
+
return ( localize(5304, "There are no comments in this workspace yet."));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
return '';
|
|
@@ -31,7 +31,7 @@ import { IKeybindingService } from '../../../../platform/keybinding/common/keybi
|
|
|
31
31
|
import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
|
|
32
32
|
const COMMENTS_VIEW_ID = 'workbench.panel.comments';
|
|
33
33
|
const COMMENTS_VIEW_STORAGE_ID = 'Comments';
|
|
34
|
-
const COMMENTS_VIEW_TITLE = ( localize2(
|
|
34
|
+
const COMMENTS_VIEW_TITLE = ( localize2(5322, "Comments"));
|
|
35
35
|
class CommentsModelVirtualDelegate {
|
|
36
36
|
static { this.RESOURCE_ID = 'resource-with-comments'; }
|
|
37
37
|
static { this.COMMENT_ID = 'comment-node'; }
|
|
@@ -170,13 +170,13 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
170
170
|
}
|
|
171
171
|
getCountString(commentCount) {
|
|
172
172
|
if (commentCount > 2) {
|
|
173
|
-
return ( localize(
|
|
173
|
+
return ( localize(5323, "{0} replies", commentCount - 1));
|
|
174
174
|
}
|
|
175
175
|
else if (commentCount === 2) {
|
|
176
|
-
return ( localize(
|
|
176
|
+
return ( localize(5324, "1 reply"));
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
179
|
-
return ( localize(
|
|
179
|
+
return ( localize(5325, "1 comment"));
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
getRenderedComment(commentBody, disposables) {
|
|
@@ -191,7 +191,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
191
191
|
for (let i = 0; i < images.length; i++) {
|
|
192
192
|
const image = images[i];
|
|
193
193
|
const textDescription = $('');
|
|
194
|
-
textDescription.textContent = image.alt ? ( localize(
|
|
194
|
+
textDescription.textContent = image.alt ? ( localize(5326, "Image: {0}", image.alt)) : ( localize(5327, "Image"));
|
|
195
195
|
image.parentNode.replaceChild(textDescription, image);
|
|
196
196
|
}
|
|
197
197
|
while ((renderedComment.element.children.length > 1) && (renderedComment.element.firstElementChild?.tagName === 'HR')) {
|
|
@@ -212,7 +212,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
212
212
|
const commentCount = node.element.replies.length + 1;
|
|
213
213
|
if (node.element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
214
214
|
templateData.threadMetadata.relevance.style.display = '';
|
|
215
|
-
templateData.threadMetadata.relevance.innerText = ( localize(
|
|
215
|
+
templateData.threadMetadata.relevance.innerText = ( localize(5328, "Outdated"));
|
|
216
216
|
templateData.threadMetadata.separator.style.display = 'none';
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
@@ -246,11 +246,11 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
246
246
|
}
|
|
247
247
|
if (node.element.range) {
|
|
248
248
|
if (node.element.range.startLineNumber === node.element.range.endLineNumber) {
|
|
249
|
-
templateData.threadMetadata.range.textContent = ( localize(
|
|
249
|
+
templateData.threadMetadata.range.textContent = ( localize(5329, "[Ln {0}]", node.element.range.startLineNumber));
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
252
252
|
templateData.threadMetadata.range.textContent = ( localize(
|
|
253
|
-
|
|
253
|
+
5330,
|
|
254
254
|
"[Ln {0}-{1}]",
|
|
255
255
|
node.element.range.startLineNumber,
|
|
256
256
|
node.element.range.endLineNumber
|
|
@@ -271,7 +271,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
271
271
|
templateData.repliesMetadata.container.style.display = '';
|
|
272
272
|
templateData.repliesMetadata.count.textContent = this.getCountString(commentCount);
|
|
273
273
|
const lastComment = node.element.replies[node.element.replies.length - 1].comment;
|
|
274
|
-
templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(
|
|
274
|
+
templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(5331, "Last reply from {0}", lastComment.userName));
|
|
275
275
|
templateData.repliesMetadata.timestamp.setTimestamp(lastComment.timestamp ? ( (new Date(lastComment.timestamp))) : undefined);
|
|
276
276
|
}
|
|
277
277
|
getCommentThreadWidgetStateColor(state, theme) {
|
|
@@ -106,8 +106,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
106
106
|
super({
|
|
107
107
|
...options,
|
|
108
108
|
filterOptions: {
|
|
109
|
-
placeholder: ( localize(
|
|
110
|
-
ariaLabel: ( localize(
|
|
109
|
+
placeholder: ( localize(5332, "Filter (e.g. text, author)")),
|
|
110
|
+
ariaLabel: ( localize(5333, "Filter comments")),
|
|
111
111
|
history: viewState['filterHistory'] || [],
|
|
112
112
|
text: viewState['filter'] || '',
|
|
113
113
|
focusContextKey: CommentsViewFilterFocusContextKey.key
|
|
@@ -197,7 +197,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
197
197
|
this.tree?.filterComments();
|
|
198
198
|
this.cachedFilterStats = undefined;
|
|
199
199
|
const { total, filtered } = this.getFilterStats();
|
|
200
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
200
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5334, "Showing {0} of {1}", filtered, total)));
|
|
201
201
|
this.filterWidget.checkMoreFilters(!this.filters.showResolved || !this.filters.showUnresolved);
|
|
202
202
|
}
|
|
203
203
|
renderBody(container) {
|
|
@@ -278,8 +278,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
278
278
|
let accessibleViewHint = '';
|
|
279
279
|
if (forAriaLabel && this.configurationService.getValue("accessibility.verbosity.comments" )) {
|
|
280
280
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
|
|
281
|
-
accessibleViewHint = kbLabel ? ( localize(
|
|
282
|
-
|
|
281
|
+
accessibleViewHint = kbLabel ? ( localize(5335, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
|
|
282
|
+
5336,
|
|
283
283
|
"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
|
|
284
284
|
));
|
|
285
285
|
}
|
|
@@ -297,7 +297,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
297
297
|
if (element.range) {
|
|
298
298
|
if (element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
299
299
|
return accessibleViewHint + ( localize(
|
|
300
|
-
|
|
300
|
+
5337,
|
|
301
301
|
"Outdated from {0} at line {1} column {2} in {3}{4}\nComment: {5}{6}",
|
|
302
302
|
element.comment.userName,
|
|
303
303
|
element.range.startLineNumber,
|
|
@@ -310,7 +310,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
310
310
|
}
|
|
311
311
|
else {
|
|
312
312
|
return accessibleViewHint + ( localize(
|
|
313
|
-
|
|
313
|
+
5338,
|
|
314
314
|
"{0} at line {1} column {2} in {3} {4}\nComment: {5}{6}",
|
|
315
315
|
element.comment.userName,
|
|
316
316
|
element.range.startLineNumber,
|
|
@@ -325,7 +325,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
325
325
|
else {
|
|
326
326
|
if (element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
327
327
|
return accessibleViewHint + ( localize(
|
|
328
|
-
|
|
328
|
+
5339,
|
|
329
329
|
"Outdated from {0} in {1} {2}\nComment: {3}{4}{5}",
|
|
330
330
|
element.comment.userName,
|
|
331
331
|
basename(element.resource),
|
|
@@ -335,7 +335,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
337
337
|
return accessibleViewHint + ( localize(
|
|
338
|
-
|
|
338
|
+
5340,
|
|
339
339
|
"{0} in {1} {2}\nComment: {3}{4}",
|
|
340
340
|
element.comment.userName,
|
|
341
341
|
basename(element.resource),
|
|
@@ -351,14 +351,14 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
351
351
|
return '';
|
|
352
352
|
}
|
|
353
353
|
return '\n' + ( (node.replies.map(reply => ( localize(
|
|
354
|
-
|
|
354
|
+
5341,
|
|
355
355
|
"{0} {1}",
|
|
356
356
|
reply.comment.userName,
|
|
357
357
|
(typeof reply.comment.body === 'string') ? reply.comment.body : reply.comment.body.value
|
|
358
358
|
))))).join('\n');
|
|
359
359
|
}
|
|
360
360
|
getReplyCountAsString(node, forAriaLabel) {
|
|
361
|
-
return node.replies.length && !forAriaLabel ? ( localize(
|
|
361
|
+
return node.replies.length && !forAriaLabel ? ( localize(5342, " {0} replies,", node.replies.length)) : '';
|
|
362
362
|
}
|
|
363
363
|
createTree() {
|
|
364
364
|
this.treeLabels = this._register(this.instantiationService.createInstance(ResourceLabels, this));
|
|
@@ -397,11 +397,11 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
397
397
|
accessibilityProvider: {
|
|
398
398
|
getAriaLabel: (element) => {
|
|
399
399
|
if (element instanceof CommentsModel) {
|
|
400
|
-
return ( localize(
|
|
400
|
+
return ( localize(5343, "Comments for current workspace"));
|
|
401
401
|
}
|
|
402
402
|
if (element instanceof ResourceWithCommentThreads) {
|
|
403
403
|
return ( localize(
|
|
404
|
-
|
|
404
|
+
5344,
|
|
405
405
|
"Comments in {0}, full path {1}",
|
|
406
406
|
basename(element.resource),
|
|
407
407
|
element.resource.fsPath
|
|
@@ -3,20 +3,20 @@ import { RawContextKey } from '../../../../platform/contextkey/common/contextkey
|
|
|
3
3
|
var CommentContextKeys;
|
|
4
4
|
( ((function(CommentContextKeys) {
|
|
5
5
|
CommentContextKeys.activeCursorHasCommentingRange = ( (new RawContextKey('activeCursorHasCommentingRange', false, {
|
|
6
|
-
description: ( localize(
|
|
6
|
+
description: ( localize(5294, "Whether the position at the active cursor has a commenting range")),
|
|
7
7
|
type: 'boolean'
|
|
8
8
|
})));
|
|
9
9
|
CommentContextKeys.activeCursorHasComment = ( (new RawContextKey('activeCursorHasComment', false, {
|
|
10
|
-
description: ( localize(
|
|
10
|
+
description: ( localize(5295, "Whether the position at the active cursor has a comment")),
|
|
11
11
|
type: 'boolean'
|
|
12
12
|
})));
|
|
13
13
|
CommentContextKeys.activeEditorHasCommentingRange = ( (new RawContextKey('activeEditorHasCommentingRange', false, {
|
|
14
|
-
description: ( localize(
|
|
14
|
+
description: ( localize(5296, "Whether the active editor has a commenting range")),
|
|
15
15
|
type: 'boolean'
|
|
16
16
|
})));
|
|
17
17
|
CommentContextKeys.WorkspaceHasCommenting = ( (new RawContextKey('workspaceHasCommenting', false, {
|
|
18
18
|
description: ( localize(
|
|
19
|
-
|
|
19
|
+
5297,
|
|
20
20
|
"Whether the open workspace has either comments or commenting ranges."
|
|
21
21
|
)),
|
|
22
22
|
type: 'boolean'
|
|
@@ -24,16 +24,16 @@ var CommentContextKeys;
|
|
|
24
24
|
CommentContextKeys.commentThreadIsEmpty = ( (new RawContextKey(
|
|
25
25
|
'commentThreadIsEmpty',
|
|
26
26
|
false,
|
|
27
|
-
{ type: 'boolean', description: ( localize(
|
|
27
|
+
{ type: 'boolean', description: ( localize(5298, "Set when the comment thread has no comments")) }
|
|
28
28
|
)));
|
|
29
|
-
CommentContextKeys.commentIsEmpty = ( (new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(
|
|
30
|
-
CommentContextKeys.commentContext = ( (new RawContextKey('comment', undefined, { type: 'string', description: ( localize(
|
|
31
|
-
CommentContextKeys.commentThreadContext = ( (new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(
|
|
29
|
+
CommentContextKeys.commentIsEmpty = ( (new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(5299, "Set when the comment has no input")) })));
|
|
30
|
+
CommentContextKeys.commentContext = ( (new RawContextKey('comment', undefined, { type: 'string', description: ( localize(5300, "The context value of the comment")) })));
|
|
31
|
+
CommentContextKeys.commentThreadContext = ( (new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(5301, "The context value of the comment thread")) })));
|
|
32
32
|
CommentContextKeys.commentControllerContext = ( (new RawContextKey(
|
|
33
33
|
'commentController',
|
|
34
34
|
undefined,
|
|
35
|
-
{ type: 'string', description: ( localize(
|
|
35
|
+
{ type: 'string', description: ( localize(5302, "The comment controller id associated with a comment thread")) }
|
|
36
36
|
)));
|
|
37
|
-
CommentContextKeys.commentFocused = ( (new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(
|
|
37
|
+
CommentContextKeys.commentFocused = ( (new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(5303, "Set when the comment is focused")) })));
|
|
38
38
|
})(CommentContextKeys || (CommentContextKeys = {}))));
|
|
39
39
|
export { CommentContextKeys };
|