@codingame/monaco-vscode-api 10.0.1 → 10.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/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/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- 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/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- 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/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- 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/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- 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/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/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- 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/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- 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/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- 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/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/suggest/browser/suggestController.js +10 -10
- 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/wordHighlighter.js +45 -26
- 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/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- 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/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- 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/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- 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/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/editor.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/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- 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/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- 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/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +13 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- 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/debugExpressionRenderer.js +1 -1
- 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/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +11 -9
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +19 -19
- 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/inlineChat/common/inlineChat.js +41 -41
- 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/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- 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/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- 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/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- 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/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
|
-
const extensionsViewIcon = registerIcon('extensions-view-icon', Codicon.extensions, ( localize(
|
|
5
|
-
const manageExtensionIcon = registerIcon('extensions-manage', Codicon.gear, ( localize(
|
|
4
|
+
const extensionsViewIcon = registerIcon('extensions-view-icon', Codicon.extensions, ( localize(9586, 'View icon of the extensions view.')));
|
|
5
|
+
const manageExtensionIcon = registerIcon('extensions-manage', Codicon.gear, ( localize(9587, 'Icon for the \'Manage\' action in the extensions view.')));
|
|
6
6
|
const clearSearchResultsIcon = registerIcon('extensions-clear-search-results', Codicon.clearAll, ( localize(
|
|
7
|
-
|
|
7
|
+
9588,
|
|
8
8
|
'Icon for the \'Clear Search Result\' action in the extensions view.'
|
|
9
9
|
)));
|
|
10
|
-
const refreshIcon = registerIcon('extensions-refresh', Codicon.refresh, ( localize(
|
|
11
|
-
const filterIcon = registerIcon('extensions-filter', Codicon.filter, ( localize(
|
|
10
|
+
const refreshIcon = registerIcon('extensions-refresh', Codicon.refresh, ( localize(9589, 'Icon for the \'Refresh\' action in the extensions view.')));
|
|
11
|
+
const filterIcon = registerIcon('extensions-filter', Codicon.filter, ( localize(9590, 'Icon for the \'Filter\' action in the extensions view.')));
|
|
12
12
|
const installLocalInRemoteIcon = registerIcon('extensions-install-local-in-remote', Codicon.cloudDownload, ( localize(
|
|
13
|
-
|
|
13
|
+
9591,
|
|
14
14
|
'Icon for the \'Install Local Extension in Remote\' action in the extensions view.'
|
|
15
15
|
)));
|
|
16
16
|
const installWorkspaceRecommendedIcon = registerIcon('extensions-install-workspace-recommended', Codicon.cloudDownload, ( localize(
|
|
17
|
-
|
|
17
|
+
9592,
|
|
18
18
|
'Icon for the \'Install Workspace Recommended Extensions\' action in the extensions view.'
|
|
19
19
|
)));
|
|
20
20
|
const configureRecommendedIcon = registerIcon('extensions-configure-recommended', Codicon.pencil, ( localize(
|
|
21
|
-
|
|
21
|
+
9593,
|
|
22
22
|
'Icon for the \'Configure Recommended Extensions\' action in the extensions view.'
|
|
23
23
|
)));
|
|
24
|
-
const syncEnabledIcon = registerIcon('extensions-sync-enabled', Codicon.sync, ( localize(
|
|
25
|
-
const syncIgnoredIcon = registerIcon('extensions-sync-ignored', Codicon.syncIgnored, ( localize(
|
|
24
|
+
const syncEnabledIcon = registerIcon('extensions-sync-enabled', Codicon.sync, ( localize(9594, 'Icon to indicate that an extension is synced.')));
|
|
25
|
+
const syncIgnoredIcon = registerIcon('extensions-sync-ignored', Codicon.syncIgnored, ( localize(9595, 'Icon to indicate that an extension is ignored when syncing.')));
|
|
26
26
|
const remoteIcon = registerIcon('extensions-remote', Codicon.remote, ( localize(
|
|
27
|
-
|
|
27
|
+
9596,
|
|
28
28
|
'Icon to indicate that an extension is remote in the extensions view and editor.'
|
|
29
29
|
)));
|
|
30
30
|
const installCountIcon = registerIcon('extensions-install-count', Codicon.cloudDownload, ( localize(
|
|
31
|
-
|
|
31
|
+
9597,
|
|
32
32
|
'Icon shown along with the install count in the extensions view and editor.'
|
|
33
33
|
)));
|
|
34
34
|
const ratingIcon = registerIcon('extensions-rating', Codicon.star, ( localize(
|
|
35
|
-
|
|
35
|
+
9598,
|
|
36
36
|
'Icon shown along with the rating in the extensions view and editor.'
|
|
37
37
|
)));
|
|
38
38
|
const verifiedPublisherIcon = registerIcon('extensions-verified-publisher', Codicon.verifiedFilled, ( localize(
|
|
39
|
-
|
|
39
|
+
9599,
|
|
40
40
|
'Icon used for the verified extension publisher in the extensions view and editor.'
|
|
41
41
|
)));
|
|
42
42
|
const preReleaseIcon = registerIcon('extensions-pre-release', Codicon.versions, ( localize(
|
|
43
|
-
|
|
43
|
+
9600,
|
|
44
44
|
'Icon shown for extensions having pre-release versions in extensions view and editor.'
|
|
45
45
|
)));
|
|
46
46
|
const sponsorIcon = registerIcon('extensions-sponsor', Codicon.heartFilled, ( localize(
|
|
47
|
-
|
|
47
|
+
9601,
|
|
48
48
|
'Icon used for sponsoring extensions in the extensions view and editor.'
|
|
49
49
|
)));
|
|
50
|
-
const starFullIcon = registerIcon('extensions-star-full', Codicon.starFull, ( localize(
|
|
51
|
-
const starHalfIcon = registerIcon('extensions-star-half', Codicon.starHalf, ( localize(
|
|
52
|
-
const starEmptyIcon = registerIcon('extensions-star-empty', Codicon.starEmpty, ( localize(
|
|
53
|
-
const errorIcon = registerIcon('extensions-error-message', Codicon.error, ( localize(
|
|
54
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
55
|
-
const infoIcon = registerIcon('extensions-info-message', Codicon.info, ( localize(
|
|
56
|
-
const trustIcon = registerIcon('extension-workspace-trust', Codicon.shield, ( localize(
|
|
57
|
-
const activationTimeIcon = registerIcon('extension-activation-time', Codicon.history, ( localize(
|
|
50
|
+
const starFullIcon = registerIcon('extensions-star-full', Codicon.starFull, ( localize(9602, 'Full star icon used for the rating in the extensions editor.')));
|
|
51
|
+
const starHalfIcon = registerIcon('extensions-star-half', Codicon.starHalf, ( localize(9603, 'Half star icon used for the rating in the extensions editor.')));
|
|
52
|
+
const starEmptyIcon = registerIcon('extensions-star-empty', Codicon.starEmpty, ( localize(9604, 'Empty star icon used for the rating in the extensions editor.')));
|
|
53
|
+
const errorIcon = registerIcon('extensions-error-message', Codicon.error, ( localize(9605, 'Icon shown with a error message in the extensions editor.')));
|
|
54
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(9606, 'Icon shown with a warning message in the extensions editor.')));
|
|
55
|
+
const infoIcon = registerIcon('extensions-info-message', Codicon.info, ( localize(9607, 'Icon shown with an info message in the extensions editor.')));
|
|
56
|
+
const trustIcon = registerIcon('extension-workspace-trust', Codicon.shield, ( localize(9608, 'Icon shown with a workspace trust message in the extension editor.')));
|
|
57
|
+
const activationTimeIcon = registerIcon('extension-activation-time', Codicon.history, ( localize(9609, 'Icon shown with a activation time message in the extension editor.')));
|
|
58
58
|
export { activationTimeIcon, clearSearchResultsIcon, configureRecommendedIcon, errorIcon, extensionsViewIcon, filterIcon, infoIcon, installCountIcon, installLocalInRemoteIcon, installWorkspaceRecommendedIcon, manageExtensionIcon, preReleaseIcon, ratingIcon, refreshIcon, remoteIcon, sponsorIcon, starEmptyIcon, starFullIcon, starHalfIcon, syncEnabledIcon, syncIgnoredIcon, trustIcon, verifiedPublisherIcon, warningIcon };
|
|
@@ -6,31 +6,31 @@ const ExtensionsConfigurationSchema = {
|
|
|
6
6
|
allowComments: true,
|
|
7
7
|
allowTrailingCommas: true,
|
|
8
8
|
type: 'object',
|
|
9
|
-
title: ( localize(
|
|
9
|
+
title: ( localize(9512, "Extensions")),
|
|
10
10
|
additionalProperties: false,
|
|
11
11
|
properties: {
|
|
12
12
|
recommendations: {
|
|
13
13
|
type: 'array',
|
|
14
14
|
description: ( localize(
|
|
15
|
-
|
|
15
|
+
9513,
|
|
16
16
|
"List of extensions which should be recommended for users of this workspace. The identifier of an extension is always '${publisher}.${name}'. For example: 'vscode.csharp'."
|
|
17
17
|
)),
|
|
18
18
|
items: {
|
|
19
19
|
type: 'string',
|
|
20
20
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
21
|
-
errorMessage: ( localize(
|
|
21
|
+
errorMessage: ( localize(9514, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
unwantedRecommendations: {
|
|
25
25
|
type: 'array',
|
|
26
26
|
description: ( localize(
|
|
27
|
-
|
|
27
|
+
9515,
|
|
28
28
|
"List of extensions recommended by VS Code that should not be recommended for users of this workspace. The identifier of an extension is always '${publisher}.${name}'. For example: 'vscode.csharp'."
|
|
29
29
|
)),
|
|
30
30
|
items: {
|
|
31
31
|
type: 'string',
|
|
32
32
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
33
|
-
errorMessage: ( localize(
|
|
33
|
+
errorMessage: ( localize(9514, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
}
|
|
@@ -6,7 +6,7 @@ import { areSameExtensions } from '../../../../platform/extensionManagement/comm
|
|
|
6
6
|
import { join } from '../../../../base/common/path.js';
|
|
7
7
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
8
8
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
9
|
-
const ExtensionEditorIcon = registerIcon('extensions-editor-label-icon', Codicon.extensions, ( localize(
|
|
9
|
+
const ExtensionEditorIcon = registerIcon('extensions-editor-label-icon', Codicon.extensions, ( localize(7579, 'Icon of the extensions editor label.')));
|
|
10
10
|
class ExtensionsInput extends EditorInput {
|
|
11
11
|
static { this.ID = 'workbench.extensions.input2'; }
|
|
12
12
|
get typeId() {
|
|
@@ -29,7 +29,7 @@ class ExtensionsInput extends EditorInput {
|
|
|
29
29
|
}
|
|
30
30
|
get extension() { return this._extension; }
|
|
31
31
|
getName() {
|
|
32
|
-
return ( localize(
|
|
32
|
+
return ( localize(7580, "Extension: {0}", this._extension.displayName));
|
|
33
33
|
}
|
|
34
34
|
getIcon() {
|
|
35
35
|
return ExtensionEditorIcon;
|
|
@@ -45,14 +45,14 @@ let KeymapExtensions = class KeymapExtensions extends Disposable {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
this.notificationService.prompt(Severity$1.Info, ( localize(
|
|
48
|
-
|
|
48
|
+
7926,
|
|
49
49
|
"Disable other keymaps ({0}) to avoid conflicts between keybindings?",
|
|
50
50
|
( (oldKeymaps.map(k => `'${k.local.manifest.displayName}'`))).join(', ')
|
|
51
51
|
)), [{
|
|
52
|
-
label: ( localize(
|
|
52
|
+
label: ( localize(7927, "Yes")),
|
|
53
53
|
run: () => onPrompt(true)
|
|
54
54
|
}, {
|
|
55
|
-
label: ( localize(
|
|
55
|
+
label: ( localize(7928, "No")),
|
|
56
56
|
run: () => onPrompt(false)
|
|
57
57
|
}]);
|
|
58
58
|
}
|
|
@@ -58,7 +58,7 @@ let BinaryFileEditor = class BinaryFileEditor extends BaseBinaryResourceEditor {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
getTitle() {
|
|
61
|
-
return this.input ? this.input.getName() : ( localize(
|
|
61
|
+
return this.input ? this.input.getName() : ( localize(9886, "Binary File Viewer"));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
BinaryFileEditor = BinaryFileEditor_1 = ( (__decorate([
|
|
@@ -62,7 +62,7 @@ let TextFileEditor = class TextFileEditor extends AbstractTextCodeEditor {
|
|
|
62
62
|
if (this.input) {
|
|
63
63
|
return this.input.getName();
|
|
64
64
|
}
|
|
65
|
-
return ( localize(
|
|
65
|
+
return ( localize(9887, "Text File Editor"));
|
|
66
66
|
}
|
|
67
67
|
get input() {
|
|
68
68
|
return this._input;
|
|
@@ -110,20 +110,20 @@ let TextFileEditor = class TextFileEditor extends AbstractTextCodeEditor {
|
|
|
110
110
|
if (error.fileOperationResult === 0 ) {
|
|
111
111
|
const actions = [];
|
|
112
112
|
actions.push(toAction({
|
|
113
|
-
id: 'workbench.files.action.openFolder', label: ( localize(
|
|
113
|
+
id: 'workbench.files.action.openFolder', label: ( localize(9888, "Open Folder")), run: async () => {
|
|
114
114
|
return this.hostService.openWindow([{ folderUri: input.resource }], { forceNewWindow: true });
|
|
115
115
|
}
|
|
116
116
|
}));
|
|
117
117
|
if (this.contextService.isInsideWorkspace(input.preferredResource)) {
|
|
118
118
|
actions.push(toAction({
|
|
119
|
-
id: 'workbench.files.action.reveal', label: ( localize(
|
|
119
|
+
id: 'workbench.files.action.reveal', label: ( localize(9889, "Reveal Folder")), run: async () => {
|
|
120
120
|
await this.paneCompositeService.openPaneComposite(VIEWLET_ID, 0 , true);
|
|
121
121
|
return this.explorerService.select(input.preferredResource, true);
|
|
122
122
|
}
|
|
123
123
|
}));
|
|
124
124
|
}
|
|
125
125
|
throw createEditorOpenError(localize(
|
|
126
|
-
|
|
126
|
+
9890,
|
|
127
127
|
"The file is not displayed in the text editor because it is a directory."
|
|
128
128
|
), actions, { forceMessage: true });
|
|
129
129
|
}
|
|
@@ -131,14 +131,14 @@ let TextFileEditor = class TextFileEditor extends AbstractTextCodeEditor {
|
|
|
131
131
|
let message;
|
|
132
132
|
if (error instanceof TooLargeFileOperationError) {
|
|
133
133
|
message = ( localize(
|
|
134
|
-
|
|
134
|
+
9891,
|
|
135
135
|
"The file is not displayed in the text editor because it is very large ({0}).",
|
|
136
136
|
ByteSize.formatSize(error.size)
|
|
137
137
|
));
|
|
138
138
|
}
|
|
139
139
|
else {
|
|
140
140
|
message = ( localize(
|
|
141
|
-
|
|
141
|
+
9892,
|
|
142
142
|
"The file is not displayed in the text editor because it is very large."
|
|
143
143
|
));
|
|
144
144
|
}
|
|
@@ -147,9 +147,9 @@ let TextFileEditor = class TextFileEditor extends AbstractTextCodeEditor {
|
|
|
147
147
|
if (error.fileOperationResult === 1 &&
|
|
148
148
|
!this.filesConfigurationService.isReadonly(input.preferredResource) &&
|
|
149
149
|
(await this.pathService.hasValidBasename(input.preferredResource))) {
|
|
150
|
-
const fileNotFoundError = createEditorOpenError(( (new FileOperationError(( localize(
|
|
150
|
+
const fileNotFoundError = createEditorOpenError(( (new FileOperationError(( localize(9893, "The editor could not be opened because the file was not found.")), 1 ))), [
|
|
151
151
|
toAction({
|
|
152
|
-
id: 'workbench.files.action.createMissingFile', label: ( localize(
|
|
152
|
+
id: 'workbench.files.action.createMissingFile', label: ( localize(9894, "Create File")), run: async () => {
|
|
153
153
|
await this.textFileService.create([{ resource: input.preferredResource }]);
|
|
154
154
|
return this.editorService.openEditor({
|
|
155
155
|
resource: input.preferredResource,
|
|
@@ -32,7 +32,7 @@ var EmptyView_1;
|
|
|
32
32
|
let EmptyView = class EmptyView extends ViewPane {
|
|
33
33
|
static { EmptyView_1 = this; }
|
|
34
34
|
static { this.ID = 'workbench.explorer.emptyView'; }
|
|
35
|
-
static { this.NAME = ( localize2(
|
|
35
|
+
static { this.NAME = ( localize2(10194, "No Folder Opened")); }
|
|
36
36
|
constructor(options, themeService, viewDescriptorService, instantiationService, keybindingService, contextMenuService, contextService, configurationService, labelService, contextKeyService, openerService, telemetryService, hoverService) {
|
|
37
37
|
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
38
38
|
this.contextService = contextService;
|
|
@@ -50,6 +50,7 @@ import { basename, relativePath } from '../../../../../base/common/resources.js'
|
|
|
50
50
|
import { IFilesConfigurationService } from '../../../../services/filesConfiguration/common/filesConfigurationService.service.js';
|
|
51
51
|
import { getExcludes } from '../../../../services/search/common/search.js';
|
|
52
52
|
import { ISearchService } from '../../../../services/search/common/search.service.js';
|
|
53
|
+
import { Schemas } from '../../../../../base/common/network.js';
|
|
53
54
|
var ExplorerView_1;
|
|
54
55
|
function hasExpandedRootChild(tree, treeInput) {
|
|
55
56
|
for (const folder of treeInput) {
|
|
@@ -134,7 +135,7 @@ let ExplorerFindProvider = class ExplorerFindProvider {
|
|
|
134
135
|
this.progressService = progressService;
|
|
135
136
|
this.explorerService = explorerService;
|
|
136
137
|
this.toggles = [explorerFuzzyMatch];
|
|
137
|
-
this.placeholder = ( localize(
|
|
138
|
+
this.placeholder = ( localize(10186, "Type to search files"));
|
|
138
139
|
}
|
|
139
140
|
async *getFindResults(pattern, sessionId, token, toggleStates) {
|
|
140
141
|
const isFuzzyMatch = toggleStates.find(t => t.id === explorerFuzzyMatch.id)?.isChecked;
|
|
@@ -291,7 +292,7 @@ let ExplorerView = class ExplorerView extends ViewPane {
|
|
|
291
292
|
const setHeader = () => {
|
|
292
293
|
titleElement.textContent = this.name;
|
|
293
294
|
this.updateTitle(this.name);
|
|
294
|
-
this.ariaHeaderLabel = ( localize(
|
|
295
|
+
this.ariaHeaderLabel = ( localize(10187, "Explorer Section: {0}", this.name));
|
|
295
296
|
titleElement.setAttribute('aria-label', this.ariaHeaderLabel);
|
|
296
297
|
};
|
|
297
298
|
this._register(this.contextService.onDidChangeWorkspaceName(setHeader));
|
|
@@ -417,6 +418,7 @@ let ExplorerView = class ExplorerView extends ViewPane {
|
|
|
417
418
|
this._register(createFileIconThemableTreeContainerScope(container, this.themeService));
|
|
418
419
|
const isCompressionEnabled = () => this.configurationService.getValue('explorer.compactFolders');
|
|
419
420
|
const getFileNestingSettings = (item) => this.configurationService.getValue({ resource: item?.root.resource }).explorer.fileNesting;
|
|
421
|
+
const rootsSupportFindProvider = this.explorerService.roots.every(root => root.resource.scheme === Schemas.file || root.resource.scheme === Schemas.vscodeRemote);
|
|
420
422
|
this.tree = this.instantiationService.createInstance(WorkbenchCompressibleAsyncDataTree, 'FileExplorer', container, ( (new ExplorerDelegate())), ( (new ExplorerCompressionDelegate())), [this.renderer], this.instantiationService.createInstance(ExplorerDataSource, this.filter), {
|
|
421
423
|
compressionEnabled: isCompressionEnabled(),
|
|
422
424
|
accessibilityProvider: this.renderer,
|
|
@@ -461,7 +463,7 @@ let ExplorerView = class ExplorerView extends ViewPane {
|
|
|
461
463
|
},
|
|
462
464
|
paddingBottom: ExplorerDelegate.ITEM_HEIGHT,
|
|
463
465
|
overrideStyles: this.getLocationBasedColors().listOverrideStyles,
|
|
464
|
-
findResultsProvider: this.instantiationService.createInstance(ExplorerFindProvider),
|
|
466
|
+
findResultsProvider: rootsSupportFindProvider ? this.instantiationService.createInstance(ExplorerFindProvider) : undefined,
|
|
465
467
|
});
|
|
466
468
|
this._register(this.tree);
|
|
467
469
|
this._register(this.themeService.onDidColorThemeChange(() => this.tree.rerender()));
|
|
@@ -882,7 +884,7 @@ registerAction2(class extends Action2 {
|
|
|
882
884
|
constructor() {
|
|
883
885
|
super({
|
|
884
886
|
id: 'workbench.files.action.createFileFromExplorer',
|
|
885
|
-
title: ( localize(
|
|
887
|
+
title: ( localize(10188, "New File...")),
|
|
886
888
|
f1: false,
|
|
887
889
|
icon: Codicon.newFile,
|
|
888
890
|
precondition: ExplorerResourceNotReadonlyContext,
|
|
@@ -903,7 +905,7 @@ registerAction2(class extends Action2 {
|
|
|
903
905
|
constructor() {
|
|
904
906
|
super({
|
|
905
907
|
id: 'workbench.files.action.createFolderFromExplorer',
|
|
906
|
-
title: ( localize(
|
|
908
|
+
title: ( localize(10189, "New Folder...")),
|
|
907
909
|
f1: false,
|
|
908
910
|
icon: Codicon.newFolder,
|
|
909
911
|
precondition: ExplorerResourceNotReadonlyContext,
|
|
@@ -924,7 +926,7 @@ registerAction2(class extends Action2 {
|
|
|
924
926
|
constructor() {
|
|
925
927
|
super({
|
|
926
928
|
id: 'workbench.files.action.refreshFilesExplorer',
|
|
927
|
-
title: ( localize2(
|
|
929
|
+
title: ( localize2(10190, "Refresh Explorer")),
|
|
928
930
|
f1: true,
|
|
929
931
|
icon: Codicon.refresh,
|
|
930
932
|
menu: {
|
|
@@ -934,7 +936,7 @@ registerAction2(class extends Action2 {
|
|
|
934
936
|
order: 30
|
|
935
937
|
},
|
|
936
938
|
metadata: {
|
|
937
|
-
description: ( localize2(
|
|
939
|
+
description: ( localize2(10191, "Forces a refresh of the Explorer."))
|
|
938
940
|
}
|
|
939
941
|
});
|
|
940
942
|
}
|
|
@@ -949,7 +951,7 @@ registerAction2(class extends Action2 {
|
|
|
949
951
|
constructor() {
|
|
950
952
|
super({
|
|
951
953
|
id: 'workbench.files.action.collapseExplorerFolders',
|
|
952
|
-
title: ( localize2(
|
|
954
|
+
title: ( localize2(10192, "Collapse Folders in Explorer")),
|
|
953
955
|
f1: true,
|
|
954
956
|
icon: Codicon.collapseAll,
|
|
955
957
|
menu: {
|
|
@@ -959,7 +961,7 @@ registerAction2(class extends Action2 {
|
|
|
959
961
|
order: 40
|
|
960
962
|
},
|
|
961
963
|
metadata: {
|
|
962
|
-
description: ( localize2(
|
|
964
|
+
description: ( localize2(10193, "Folds all folders in the Explorer."))
|
|
963
965
|
}
|
|
964
966
|
});
|
|
965
967
|
}
|
|
@@ -58,10 +58,10 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
|
|
|
58
58
|
if (msg.indexOf('ENOSPC') >= 0) {
|
|
59
59
|
reason = 'ENOSPC';
|
|
60
60
|
this.notificationService.prompt(Severity$1.Warning, ( localize(
|
|
61
|
-
|
|
61
|
+
9895,
|
|
62
62
|
"Unable to watch for file changes. Please follow the instructions link to resolve this issue."
|
|
63
63
|
)), [{
|
|
64
|
-
label: ( localize(
|
|
64
|
+
label: ( localize(9896, "Instructions")),
|
|
65
65
|
run: () => this.openerService.open(( (URI.parse('https://go.microsoft.com/fwlink/?linkid=867693'))))
|
|
66
66
|
}], {
|
|
67
67
|
sticky: true,
|
|
@@ -71,10 +71,10 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
|
|
|
71
71
|
else if (msg.indexOf('EUNKNOWN') >= 0) {
|
|
72
72
|
reason = 'EUNKNOWN';
|
|
73
73
|
this.notificationService.prompt(Severity$1.Warning, ( localize(
|
|
74
|
-
|
|
74
|
+
9897,
|
|
75
75
|
"File changes watcher stopped unexpectedly. A reload of the window may enable the watcher again unless the workspace cannot be watched for file changes."
|
|
76
76
|
)), [{
|
|
77
|
-
label: ( localize(
|
|
77
|
+
label: ( localize(9898, "Reload")),
|
|
78
78
|
run: () => this.hostService.reload()
|
|
79
79
|
}], {
|
|
80
80
|
sticky: true,
|
|
@@ -34,7 +34,7 @@ let DirtyFilesIndicator = class DirtyFilesIndicator extends Disposable {
|
|
|
34
34
|
const dirtyCount = this.lastKnownDirtyCount = this.workingCopyService.dirtyCount;
|
|
35
35
|
if (dirtyCount > 0) {
|
|
36
36
|
this.badgeHandle.value = this.activityService.showViewContainerActivity(VIEWLET_ID, {
|
|
37
|
-
badge: ( (new NumberBadge(dirtyCount, num => num === 1 ? ( localize(
|
|
37
|
+
badge: ( (new NumberBadge(dirtyCount, num => num === 1 ? ( localize(9899, "1 unsaved file")) : ( localize(9900, "{0} unsaved files", dirtyCount))))),
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
@@ -22,12 +22,12 @@ import { IChatService } from '../../chat/common/chatService.service.js';
|
|
|
22
22
|
import { CONTEXT_CHAT_INPUT_HAS_TEXT, CONTEXT_IN_CHAT_INPUT } from '../../chat/common/chatContextKeys.js';
|
|
23
23
|
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
|
|
24
24
|
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
|
|
25
|
-
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(
|
|
25
|
+
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(7306, 'Icon which spawns the inline chat from the editor toolbar.')));
|
|
26
26
|
class StartSessionAction extends EditorAction2 {
|
|
27
27
|
constructor() {
|
|
28
28
|
super({
|
|
29
29
|
id: 'inlineChat.start',
|
|
30
|
-
title: ( localize2(
|
|
30
|
+
title: ( localize2(7307, 'Editor Inline Chat')),
|
|
31
31
|
category: AbstractInlineChatAction.category,
|
|
32
32
|
f1: true,
|
|
33
33
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -66,7 +66,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
super({
|
|
68
68
|
id: 'inlineChat.unstash',
|
|
69
|
-
title: ( localize2(
|
|
69
|
+
title: ( localize2(7308, "Resume Last Dismissed Inline Chat")),
|
|
70
70
|
category: AbstractInlineChatAction.category,
|
|
71
71
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_STASHED_SESSION, EditorContextKeys.writable))),
|
|
72
72
|
keybinding: {
|
|
@@ -89,7 +89,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
class AbstractInlineChatAction extends EditorAction2 {
|
|
92
|
-
static { this.category = ( localize2(
|
|
92
|
+
static { this.category = ( localize2(7309, "Inline Chat")); }
|
|
93
93
|
constructor(desc) {
|
|
94
94
|
super({
|
|
95
95
|
...desc,
|
|
@@ -135,7 +135,7 @@ class ArrowOutUpAction extends AbstractInlineChatAction {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'inlineChat.arrowOutUp',
|
|
138
|
-
title: ( localize(
|
|
138
|
+
title: ( localize(7310, 'Cursor Up')),
|
|
139
139
|
precondition: ( (ContextKeyExpr.and(
|
|
140
140
|
CTX_INLINE_CHAT_FOCUSED,
|
|
141
141
|
CTX_INLINE_CHAT_INNER_CURSOR_FIRST,
|
|
@@ -156,7 +156,7 @@ class ArrowOutDownAction extends AbstractInlineChatAction {
|
|
|
156
156
|
constructor() {
|
|
157
157
|
super({
|
|
158
158
|
id: 'inlineChat.arrowOutDown',
|
|
159
|
-
title: ( localize(
|
|
159
|
+
title: ( localize(7311, 'Cursor Down')),
|
|
160
160
|
precondition: ( (ContextKeyExpr.and(
|
|
161
161
|
CTX_INLINE_CHAT_FOCUSED,
|
|
162
162
|
CTX_INLINE_CHAT_INNER_CURSOR_LAST,
|
|
@@ -177,7 +177,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
177
177
|
constructor() {
|
|
178
178
|
super({
|
|
179
179
|
id: 'inlineChat.focus',
|
|
180
|
-
title: ( localize2(
|
|
180
|
+
title: ( localize2(7312, "Focus Input")),
|
|
181
181
|
f1: true,
|
|
182
182
|
category: AbstractInlineChatAction.category,
|
|
183
183
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -211,7 +211,7 @@ class DiscardAction extends AbstractInlineChatAction {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: 'inlineChat.discard',
|
|
214
|
-
title: ( localize(
|
|
214
|
+
title: ( localize(7313, 'Discard')),
|
|
215
215
|
icon: Codicon.discard,
|
|
216
216
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
217
217
|
keybinding: {
|
|
@@ -229,8 +229,8 @@ class AcceptChanges extends AbstractInlineChatAction {
|
|
|
229
229
|
constructor() {
|
|
230
230
|
super({
|
|
231
231
|
id: ACTION_ACCEPT_CHANGES,
|
|
232
|
-
title: ( localize2(
|
|
233
|
-
shortTitle: ( localize(
|
|
232
|
+
title: ( localize2(7314, "Accept Changes")),
|
|
233
|
+
shortTitle: ( localize(7315, 'Accept')),
|
|
234
234
|
icon: Codicon.check,
|
|
235
235
|
f1: true,
|
|
236
236
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, (ContextKeyExpr.or(
|
|
@@ -265,7 +265,7 @@ class DiscardHunkAction extends AbstractInlineChatAction {
|
|
|
265
265
|
constructor() {
|
|
266
266
|
super({
|
|
267
267
|
id: ACTION_DISCARD_CHANGES,
|
|
268
|
-
title: ( localize(
|
|
268
|
+
title: ( localize(7313, 'Discard')),
|
|
269
269
|
icon: Codicon.chromeClose,
|
|
270
270
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
271
271
|
menu: [{
|
|
@@ -298,8 +298,8 @@ class RerunAction extends AbstractInlineChatAction {
|
|
|
298
298
|
constructor() {
|
|
299
299
|
super({
|
|
300
300
|
id: ACTION_REGENERATE_RESPONSE,
|
|
301
|
-
title: ( localize2(
|
|
302
|
-
shortTitle: ( localize(
|
|
301
|
+
title: ( localize2(7316, "Rerun Request")),
|
|
302
|
+
shortTitle: ( localize(7317, 'Rerun')),
|
|
303
303
|
f1: false,
|
|
304
304
|
icon: Codicon.refresh,
|
|
305
305
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
@@ -332,7 +332,7 @@ class CloseAction extends AbstractInlineChatAction {
|
|
|
332
332
|
constructor() {
|
|
333
333
|
super({
|
|
334
334
|
id: 'inlineChat.close',
|
|
335
|
-
title: ( localize(
|
|
335
|
+
title: ( localize(7318, 'Close')),
|
|
336
336
|
icon: Codicon.close,
|
|
337
337
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
338
338
|
keybinding: {
|
|
@@ -361,7 +361,7 @@ class ConfigureInlineChatAction extends AbstractInlineChatAction {
|
|
|
361
361
|
constructor() {
|
|
362
362
|
super({
|
|
363
363
|
id: 'inlineChat.configure',
|
|
364
|
-
title: ( localize2(
|
|
364
|
+
title: ( localize2(7319, 'Configure Inline Chat')),
|
|
365
365
|
icon: Codicon.settingsGear,
|
|
366
366
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
367
367
|
f1: true,
|
|
@@ -380,7 +380,7 @@ class MoveToNextHunk extends AbstractInlineChatAction {
|
|
|
380
380
|
constructor() {
|
|
381
381
|
super({
|
|
382
382
|
id: 'inlineChat.moveToNextHunk',
|
|
383
|
-
title: ( localize2(
|
|
383
|
+
title: ( localize2(7320, 'Move to Next Change')),
|
|
384
384
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
385
385
|
f1: true,
|
|
386
386
|
keybinding: {
|
|
@@ -397,7 +397,7 @@ class MoveToPreviousHunk extends AbstractInlineChatAction {
|
|
|
397
397
|
constructor() {
|
|
398
398
|
super({
|
|
399
399
|
id: 'inlineChat.moveToPreviousHunk',
|
|
400
|
-
title: ( localize2(
|
|
400
|
+
title: ( localize2(7321, 'Move to Previous Change')),
|
|
401
401
|
f1: true,
|
|
402
402
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
403
403
|
keybinding: {
|
|
@@ -414,7 +414,7 @@ class ViewInChatAction extends AbstractInlineChatAction {
|
|
|
414
414
|
constructor() {
|
|
415
415
|
super({
|
|
416
416
|
id: ACTION_VIEW_IN_CHAT,
|
|
417
|
-
title: ( localize(
|
|
417
|
+
title: ( localize(7322, 'View in Chat')),
|
|
418
418
|
icon: Codicon.commentDiscussion,
|
|
419
419
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
420
420
|
menu: [{
|
|
@@ -452,7 +452,7 @@ class ToggleDiffForChange extends AbstractInlineChatAction {
|
|
|
452
452
|
(CTX_INLINE_CHAT_EDIT_MODE.isEqualTo("live" )),
|
|
453
453
|
CTX_INLINE_CHAT_CHANGE_HAS_DIFF
|
|
454
454
|
))),
|
|
455
|
-
title: ( localize2(
|
|
455
|
+
title: ( localize2(7323, 'Toggle Changes')),
|
|
456
456
|
icon: Codicon.diffSingle,
|
|
457
457
|
toggled: {
|
|
458
458
|
condition: CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF,
|
|
@@ -216,14 +216,14 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
216
216
|
delete options.position;
|
|
217
217
|
}
|
|
218
218
|
const widgetPosition = this._showWidget(options.headless ?? session?.headless, true, initPosition);
|
|
219
|
-
let errorMessage = ( localize(
|
|
219
|
+
let errorMessage = ( localize(5710, "Failed to start editor chat"));
|
|
220
220
|
if (!session) {
|
|
221
221
|
const createSessionCts = ( (new CancellationTokenSource()));
|
|
222
222
|
const msgListener = Event.once(this._messages.event)(m => {
|
|
223
223
|
this._log('state=_createSession) message received', m);
|
|
224
224
|
if (m === 32 ) {
|
|
225
225
|
options.autoSend = true;
|
|
226
|
-
this._ui.value.widget.updateInfo(( localize(
|
|
226
|
+
this._ui.value.widget.updateInfo(( localize(5711, "Getting ready...")));
|
|
227
227
|
}
|
|
228
228
|
else {
|
|
229
229
|
createSessionCts.cancel();
|
|
@@ -541,7 +541,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
541
541
|
let newPosition;
|
|
542
542
|
if (response.result?.errorDetails) ;
|
|
543
543
|
else if (response.response.value.length === 0) {
|
|
544
|
-
const status = ( localize(
|
|
544
|
+
const status = ( localize(5712, "No results, please refine your input and try again"));
|
|
545
545
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
546
546
|
}
|
|
547
547
|
else {
|
|
@@ -575,7 +575,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
575
575
|
await this._strategy.apply();
|
|
576
576
|
}
|
|
577
577
|
catch (err) {
|
|
578
|
-
this._dialogService.error(( localize(
|
|
578
|
+
this._dialogService.error(( localize(5713, "Failed to apply changes.", toErrorMessage(err))));
|
|
579
579
|
this._log('FAILED to apply changes');
|
|
580
580
|
this._log(err);
|
|
581
581
|
}
|
|
@@ -595,7 +595,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
595
595
|
undoCancelEdits = this._strategy.cancel();
|
|
596
596
|
}
|
|
597
597
|
catch (err) {
|
|
598
|
-
this._dialogService.error(( localize(
|
|
598
|
+
this._dialogService.error(( localize(5714, "Failed to discard changes.", toErrorMessage(err))));
|
|
599
599
|
this._log('FAILED to discard changes');
|
|
600
600
|
this._log(err);
|
|
601
601
|
}
|
|
@@ -721,7 +721,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
721
721
|
if (!this._session) {
|
|
722
722
|
return;
|
|
723
723
|
}
|
|
724
|
-
const status = ( localize(
|
|
724
|
+
const status = ( localize(5715, "Accept or discard changes to continue saving."));
|
|
725
725
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
726
726
|
if (this._ui.value.position) {
|
|
727
727
|
this._editor.revealLineInCenterIfOutsideViewport(this._ui.value.position.lineNumber);
|
|
@@ -183,7 +183,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
183
183
|
this.widget.reset();
|
|
184
184
|
this.widget.chatWidget.setVisible(false);
|
|
185
185
|
super.hide();
|
|
186
|
-
status(( localize(
|
|
186
|
+
status(( localize(10242, 'Closed inline chat widget')));
|
|
187
187
|
scrollState.restore(this.editor);
|
|
188
188
|
}
|
|
189
189
|
};
|