@codingame/monaco-vscode-api 25.0.1 → 25.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/jumpToView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +1 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +1 -0
- package/vscode/src/vs/platform/userDataSync/common/globalStateSync.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +1 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +47 -47
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +9 -9
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +86 -86
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- 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 +4 -4
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/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/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "25.0
|
|
3
|
+
"version": "25.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-base-service-override": "25.0
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "25.0
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "25.0
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "25.0
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "25.0
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "25.0
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "25.0
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "25.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "25.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "25.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "25.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "25.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "25.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "25.1.0",
|
|
25
25
|
"@vscode/iconv-lite-umd": "0.7.1",
|
|
26
26
|
"dompurify": "3.3.1",
|
|
27
27
|
"jschardet": "3.1.4",
|
package/services.js
CHANGED
|
@@ -409,10 +409,10 @@ export { ISCMRepositorySelectionMode } from './vscode/src/vs/workbench/contrib/s
|
|
|
409
409
|
export { IAgentSessionsService } from './vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service.js';
|
|
410
410
|
export { IUserAttentionService } from './vscode/src/vs/workbench/services/userAttention/common/userAttentionService.service.js';
|
|
411
411
|
|
|
412
|
-
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.108.
|
|
413
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.108.
|
|
412
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.108.2-2db5cd56-cdf7-4d6a-9d65-8237f1c870cc") {
|
|
413
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.108.2-2db5cd56-cdf7-4d6a-9d65-8237f1c870cc"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
414
414
|
}
|
|
415
|
-
window.monacoVscodeApiBuildId = "1.108.
|
|
415
|
+
window.monacoVscodeApiBuildId = "1.108.2-2db5cd56-cdf7-4d6a-9d65-8237f1c870cc";
|
|
416
416
|
function registerCommands(options) {
|
|
417
417
|
function asMenuId(menu) {
|
|
418
418
|
switch (menu) {
|
|
@@ -25,7 +25,7 @@ import { ILabelService } from '../../../../platform/label/common/label.service.j
|
|
|
25
25
|
import { MarkerSeverity } from '../../../../platform/markers/common/markers.js';
|
|
26
26
|
import { IOpenerService } from '../../../../platform/opener/common/opener.service.js';
|
|
27
27
|
import { SeverityIcon } from '../../../../base/browser/ui/severityIcon/severityIcon.js';
|
|
28
|
-
import {
|
|
28
|
+
import { oneOf, registerColor, transparent } from '../../../../platform/theme/common/colorUtils.js';
|
|
29
29
|
import { contrastBorder } from '../../../../platform/theme/common/colors/baseColors.js';
|
|
30
30
|
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
31
31
|
import { editorErrorForeground, editorErrorBorder, editorWarningForeground, editorWarningBorder, editorInfoForeground, editorInfoBorder, editorBackground } from '../../../../platform/theme/common/colors/editorColors.js';
|
|
@@ -18,8 +18,8 @@ import { getEditorBlendedColor, inlineEditIndicatorPrimaryBorder, inlineEditIndi
|
|
|
18
18
|
import { rectToProps } from '../utils/utils.js';
|
|
19
19
|
import { derived } from '../../../../../../../base/common/observableInternal/observables/derived.js';
|
|
20
20
|
import { constObservable } from '../../../../../../../base/common/observableInternal/observables/constObservable.js';
|
|
21
|
-
import { DebugLocation } from '../../../../../../../base/common/observableInternal/debugLocation.js';
|
|
22
21
|
import { observableFromEvent } from '../../../../../../../base/common/observableInternal/observables/observableFromEvent.js';
|
|
22
|
+
import { DebugLocation } from '../../../../../../../base/common/observableInternal/debugLocation.js';
|
|
23
23
|
import { autorun } from '../../../../../../../base/common/observableInternal/reactions/autorun.js';
|
|
24
24
|
|
|
25
25
|
let JumpToView = class JumpToView extends Disposable {
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js
CHANGED
|
@@ -22,9 +22,9 @@ import { RangeMapping } from '../../../../../../common/diff/rangeMapping.js';
|
|
|
22
22
|
import { indentOfLine } from '../../../../../../common/model/textModel.js';
|
|
23
23
|
import { BugIndicatingError } from '../../../../../../../base/common/errors.js';
|
|
24
24
|
import { Size2D } from '../../../../../../common/core/2d/size.js';
|
|
25
|
-
import { DebugLocation } from '../../../../../../../base/common/observableInternal/debugLocation.js';
|
|
26
25
|
import { derivedObservableWithCache } from '../../../../../../../base/common/observableInternal/utils/utils.js';
|
|
27
26
|
import { derived, derivedOpts } from '../../../../../../../base/common/observableInternal/observables/derived.js';
|
|
27
|
+
import { DebugLocation } from '../../../../../../../base/common/observableInternal/debugLocation.js';
|
|
28
28
|
import { observableValue } from '../../../../../../../base/common/observableInternal/observables/observableValue.js';
|
|
29
29
|
import { observableSignalFromEvent } from '../../../../../../../base/common/observableInternal/observables/observableSignalFromEvent.js';
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
-
import { onDidRegisterWindow, trackActiveElement,
|
|
3
|
+
import { onDidRegisterWindow, trackActiveElement, isEditableElement, getActiveElement, trackFocus, getActiveDocument } from '../../../base/browser/dom.js';
|
|
4
4
|
import { mainWindow } from '../../../base/browser/window.js';
|
|
5
5
|
import { PauseableEmitter, Event } from '../../../base/common/event.js';
|
|
6
6
|
import { Iterable } from '../../../base/common/iterator.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { DisposableStore } from '../../../base/common/lifecycle.js';
|
|
3
3
|
import '../../../base/common/observableInternal/index.js';
|
|
4
|
-
import { DebugLocation } from '../../../base/common/observableInternal/debugLocation.js';
|
|
5
4
|
import { observableFromEventOpts } from '../../../base/common/observableInternal/observables/observableFromEvent.js';
|
|
5
|
+
import { DebugLocation } from '../../../base/common/observableInternal/debugLocation.js';
|
|
6
6
|
import { derivedOpts } from '../../../base/common/observableInternal/observables/derived.js';
|
|
7
7
|
|
|
8
8
|
function observableConfigValue(key, defaultValue, configurationService, debugLocation = DebugLocation.ofCaller()) {
|
|
@@ -4,9 +4,9 @@ import productJson from '../../../../../product.json.js';
|
|
|
4
4
|
var product = {
|
|
5
5
|
...productJson,
|
|
6
6
|
quality: 'stable',
|
|
7
|
-
version: '1.108.
|
|
8
|
-
commit: '
|
|
9
|
-
date: '2026-01-
|
|
7
|
+
version: '1.108.2',
|
|
8
|
+
commit: 'c9d77990917f3102ada88be140d28b038d1dd7c7',
|
|
9
|
+
date: '2026-01-29T17:58:00.766Z',
|
|
10
10
|
...(globalThis._VSCODE_PRODUCT_JSON ?? {})
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@ import { IInstantiationService } from '../../instantiation/common/instantiation.
|
|
|
8
8
|
import { ILayoutService } from '../../layout/browser/layoutService.service.js';
|
|
9
9
|
import { IOpenerService } from '../../opener/common/opener.service.js';
|
|
10
10
|
import { QuickAccessController } from './quickAccess.js';
|
|
11
|
-
import {
|
|
11
|
+
import { defaultKeybindingLabelStyles, defaultProgressBarStyles, defaultButtonStyles, defaultCountBadgeStyles, defaultToggleStyles, defaultInputBoxStyles, getListStyles } from '../../theme/browser/defaultStyles.js';
|
|
12
12
|
import { asCssVariable } from '../../theme/common/colorUtils.js';
|
|
13
13
|
import { activeContrastBorder } from '../../theme/common/colors/baseColors.js';
|
|
14
14
|
import '../../theme/common/colors/chartsColors.js';
|
|
@@ -92,6 +92,7 @@ export declare enum TerminalSettingId {
|
|
|
92
92
|
PersistentSessionReviveProcess = "terminal.integrated.persistentSessionReviveProcess",
|
|
93
93
|
HideOnStartup = "terminal.integrated.hideOnStartup",
|
|
94
94
|
HideOnLastClosed = "terminal.integrated.hideOnLastClosed",
|
|
95
|
+
PreserveDrawingBuffer = "terminal.integrated.preserveDrawingBuffer",
|
|
95
96
|
CustomGlyphs = "terminal.integrated.customGlyphs",
|
|
96
97
|
RescaleOverlappingGlyphs = "terminal.integrated.rescaleOverlappingGlyphs",
|
|
97
98
|
PersistentSessionScrollback = "terminal.integrated.persistentSessionScrollback",
|
|
@@ -85,6 +85,7 @@ var TerminalSettingId;
|
|
|
85
85
|
TerminalSettingId["PersistentSessionReviveProcess"] = "terminal.integrated.persistentSessionReviveProcess";
|
|
86
86
|
TerminalSettingId["HideOnStartup"] = "terminal.integrated.hideOnStartup";
|
|
87
87
|
TerminalSettingId["HideOnLastClosed"] = "terminal.integrated.hideOnLastClosed";
|
|
88
|
+
TerminalSettingId["PreserveDrawingBuffer"] = "terminal.integrated.preserveDrawingBuffer";
|
|
88
89
|
TerminalSettingId["CustomGlyphs"] = "terminal.integrated.customGlyphs";
|
|
89
90
|
TerminalSettingId["RescaleOverlappingGlyphs"] = "terminal.integrated.rescaleOverlappingGlyphs";
|
|
90
91
|
TerminalSettingId["PersistentSessionScrollback"] = "terminal.integrated.persistentSessionScrollback";
|
|
@@ -19,7 +19,7 @@ import { IUriIdentityService } from '../../uriIdentity/common/uriIdentity.servic
|
|
|
19
19
|
import { AbstractSynchroniser, getSyncResourceLogLabel, AbstractInitializer, isSyncData } from './abstractSynchronizer.js';
|
|
20
20
|
import { edit } from './content.js';
|
|
21
21
|
import { merge } from './globalStateMerge.js';
|
|
22
|
-
import { SyncResource, USER_DATA_SYNC_SCHEME, Change,
|
|
22
|
+
import { SyncResource, USER_DATA_SYNC_SCHEME, Change, SYNC_SERVICE_URL_TYPE, ALL_SYNC_RESOURCES, getEnablementKey, createSyncHeaders, UserDataSyncError, UserDataSyncErrorCode } from './userDataSync.js';
|
|
23
23
|
import { IUserDataSyncStoreService, IUserDataSyncLocalStoreService, IUserDataSyncLogService, IUserDataSyncEnablementService } from './userDataSync.service.js';
|
|
24
24
|
import { IUserDataProfilesService } from '../../userDataProfile/common/userDataProfile.service.js';
|
|
25
25
|
import { IUserDataProfileStorageService } from '../../userDataProfile/common/userDataProfileStorageService.service.js';
|
|
@@ -6,11 +6,11 @@ import { isLocationLink } from '../../../editor/common/languages.js';
|
|
|
6
6
|
import { decodeSemanticTokensDto } from '../../../editor/common/services/semanticTokensDto.js';
|
|
7
7
|
import { validateWhenClauses } from '../../../platform/contextkey/common/contextkey.js';
|
|
8
8
|
import { ApiCommand, ApiCommandArgument, ApiCommandResult } from './extHostCommands.js';
|
|
9
|
-
import { DocumentHighlight, SymbolKind, Range, TextEdit, location, Hover, Position as Position$1, WorkspaceSymbol, CallHierarchyItem, CallHierarchyIncomingCall, CallHierarchyOutgoingCall, WorkspaceEdit, DocumentLink, CompletionItem, SignatureHelp, Selection, Color, ColorPresentation, InlayHint, FoldingRange, NotebookExclusiveDocumentPattern, InlineValueContext, InlineValue, ViewColumn, TextEditorOpenOptions, TypeHierarchyItem, DefinitionLink } from './extHostTypeConverters.js';
|
|
9
|
+
import { DocumentHighlight, SymbolKind, Range, TextEdit, location, Hover, Position as Position$1, WorkspaceSymbol, CallHierarchyItem, CallHierarchyIncomingCall, CallHierarchyOutgoingCall, WorkspaceEdit, DocumentLink, CompletionItem, SignatureHelp, Selection as Selection$1, Color, ColorPresentation, InlayHint, FoldingRange, NotebookExclusiveDocumentPattern, InlineValueContext, InlineValue, ViewColumn, TextEditorOpenOptions, TypeHierarchyItem, DefinitionLink } from './extHostTypeConverters.js';
|
|
10
10
|
import { SelectionRange, SemanticTokensLegend, SemanticTokens, CompletionList, CodeLens, CodeAction, ColorInformation, Color as Color$1 } from './extHostTypes.js';
|
|
11
11
|
import { Position } from './extHostTypes/position.js';
|
|
12
12
|
import { Range as Range$1 } from './extHostTypes/range.js';
|
|
13
|
-
import { Selection
|
|
13
|
+
import { Selection } from './extHostTypes/selection.js';
|
|
14
14
|
import { SymbolInformation } from './extHostTypes/symbolInformation.js';
|
|
15
15
|
import { Location } from './extHostTypes/location.js';
|
|
16
16
|
import { CodeActionKind } from './extHostTypes/codeActionKind.js';
|
|
@@ -440,7 +440,7 @@ const newCommands = [
|
|
|
440
440
|
'rangeOrSelection',
|
|
441
441
|
'Range in a text document. Some refactoring provider requires Selection object.',
|
|
442
442
|
v => Range$1.isRange(v),
|
|
443
|
-
v => Selection
|
|
443
|
+
v => Selection.isSelection(v) ? Selection$1.from(v) : Range.from(v)
|
|
444
444
|
)),
|
|
445
445
|
ApiCommandArgument.String.with('kind', 'Code action kind to return code actions for').optional(),
|
|
446
446
|
ApiCommandArgument.Number.with('itemResolveCount', 'Number of code actions to resolve (too large numbers slow down code actions)').optional()
|
|
@@ -748,7 +748,7 @@ const newCommands = [
|
|
|
748
748
|
}
|
|
749
749
|
return {
|
|
750
750
|
initialRange: v.initialRange ? Range.from(v.initialRange) : undefined,
|
|
751
|
-
initialSelection: Selection
|
|
751
|
+
initialSelection: Selection.isSelection(v.initialSelection) ? Selection$1.from(v.initialSelection) : undefined,
|
|
752
752
|
message: v.message,
|
|
753
753
|
attachments: v.attachments,
|
|
754
754
|
autoSend: v.autoSend,
|
|
@@ -17,7 +17,7 @@ import { MarkdownString, ChatAgentRequest, Location, Diagnostic, ChatResponsePar
|
|
|
17
17
|
import { Disposable as Disposable$1, ChatRequestTurn, ChatReferenceDiagnostic } from './extHostTypes.js';
|
|
18
18
|
import { IDiagnosticVariableEntryFilterData, PromptFileVariableKind } from '../../contrib/chat/common/attachments/chatVariableEntries.js';
|
|
19
19
|
import { basename } from '../../../base/common/resources.js';
|
|
20
|
-
import {
|
|
20
|
+
import { SymbolKind, SymbolKinds } from '../../../editor/common/languages.js';
|
|
21
21
|
import { Location as Location$1 } from './extHostTypes/location.js';
|
|
22
22
|
|
|
23
23
|
var ExtHostChatSessions_1;
|
|
@@ -13,14 +13,14 @@ import { URI } from '../../../base/common/uri.js';
|
|
|
13
13
|
import { generateUuid } from '../../../base/common/uuid.js';
|
|
14
14
|
import { Range as Range$1 } from '../../../editor/common/core/range.js';
|
|
15
15
|
import { Selection } from '../../../editor/common/core/selection.js';
|
|
16
|
-
import { NewSymbolNameTriggerKind as NewSymbolNameTriggerKind$1, CompletionItemInsertTextRule, InlineCompletionTriggerKind as InlineCompletionTriggerKind$1, InlineCompletionHintStyle
|
|
16
|
+
import { NewSymbolNameTriggerKind as NewSymbolNameTriggerKind$1, CompletionItemInsertTextRule, InlineCompletionTriggerKind as InlineCompletionTriggerKind$1, InlineCompletionHintStyle } from '../../../editor/common/languages.js';
|
|
17
17
|
import { encodeSemanticTokensDto } from '../../../editor/common/services/semanticTokensDto.js';
|
|
18
18
|
import { localize } from '../../../nls.js';
|
|
19
19
|
import { ExtensionIdentifier } from '../../../platform/extensions/common/extensions.js';
|
|
20
20
|
import { isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
21
21
|
import { Cache } from './cache.js';
|
|
22
22
|
import { ISuggestResultDtoField, ISuggestDataDtoField, MainContext } from './extHost.protocol.js';
|
|
23
|
-
import { DocumentSymbol as DocumentSymbol$1, Range, SymbolTag, SymbolKind, DefinitionLink, Position, Hover, EvaluatableExpression, InlineValueContext, InlineValue, DocumentHighlight, MultiDocumentHighlight, location, Selection as Selection$1, CodeActionTriggerKind, WorkspaceEdit, Diagnostic, DataTransfer, DataTransferItem, TextEdit, WorkspaceSymbol, CompletionContext, MarkdownString, CompletionItemTag, CompletionItemKind, CompletionCommand, IconPath, InlineCompletionHintStyle, PartialAcceptInfo, InlineCompletionEndOfLifeReason, SignatureHelp, InlayHintKind, DocumentLink, Color, ColorPresentation, FoldingRange, SelectionRange, CallHierarchyItem, TypeHierarchyItem, DocumentSelector } from './extHostTypeConverters.js';
|
|
23
|
+
import { DocumentSymbol as DocumentSymbol$1, Range, SymbolTag, SymbolKind, DefinitionLink, Position, Hover, EvaluatableExpression, InlineValueContext, InlineValue, DocumentHighlight, MultiDocumentHighlight, location, Selection as Selection$1, CodeActionTriggerKind, WorkspaceEdit, Diagnostic, DataTransfer, DataTransferItem, TextEdit, WorkspaceSymbol, CompletionContext, MarkdownString, CompletionItemTag, CompletionItemKind, CompletionCommand, IconPath, InlineCompletionHintStyle as InlineCompletionHintStyle$1, PartialAcceptInfo, InlineCompletionEndOfLifeReason, SignatureHelp, InlayHintKind, DocumentLink, Color, ColorPresentation, FoldingRange, SelectionRange, CallHierarchyItem, TypeHierarchyItem, DocumentSelector } from './extHostTypeConverters.js';
|
|
24
24
|
import { DocumentSymbol, CodeAction, InternalDataTransferItem, DataTransfer as DataTransfer$1, DocumentDropOrPasteEditKind, NewSymbolNameTriggerKind, SemanticTokens, SemanticTokensEdits, SemanticTokensEdit, CompletionList, InlineCompletionTriggerKind, InlineCompletionsDisposeReasonKind, Disposable as Disposable$1, SyntaxTokenType } from './extHostTypes.js';
|
|
25
25
|
import { Emitter } from '../../../base/common/event.js';
|
|
26
26
|
import { Range as Range$2 } from './extHostTypes/range.js';
|
|
@@ -1178,7 +1178,7 @@ class InlineCompletionAdapter {
|
|
|
1178
1178
|
hint: (item.displayLocation && this._isAdditionsProposedApiEnabled) ? {
|
|
1179
1179
|
range: Range.from(item.displayLocation.range),
|
|
1180
1180
|
content: item.displayLocation.label,
|
|
1181
|
-
style: item.displayLocation.kind ? InlineCompletionHintStyle.from(item.displayLocation.kind) : InlineCompletionHintStyle
|
|
1181
|
+
style: item.displayLocation.kind ? InlineCompletionHintStyle$1.from(item.displayLocation.kind) : InlineCompletionHintStyle.Code,
|
|
1182
1182
|
} : undefined,
|
|
1183
1183
|
warning: (item.warning && this._isAdditionsProposedApiEnabled) ? {
|
|
1184
1184
|
message: MarkdownString.from(item.warning.message),
|
|
@@ -13,7 +13,7 @@ import { FileOperationError, FileOperationResult, etag, FilePermission, FileType
|
|
|
13
13
|
import { Cache } from './cache.js';
|
|
14
14
|
import { MainContext } from './extHost.protocol.js';
|
|
15
15
|
import { ApiCommandArgument, ApiCommand, ApiCommandResult } from './extHostCommands.js';
|
|
16
|
-
import { NotebookExclusiveDocumentPattern, NotebookData,
|
|
16
|
+
import { NotebookExclusiveDocumentPattern, NotebookData, NotebookRange, ViewColumn, NotebookStatusBarItem, NotebookDocumentContentOptions } from './extHostTypeConverters.js';
|
|
17
17
|
import { Disposable } from './extHostTypes.js';
|
|
18
18
|
import { SerializableObjectWithBuffers } from '../../services/extensions/common/proxyIdentifier.js';
|
|
19
19
|
import { ExtHostNotebookDocument, ExtHostCell } from './extHostNotebookDocument.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
-
import {
|
|
3
|
+
import { Separator, toAction } from '../../../base/common/actions.js';
|
|
4
4
|
import { localize } from '../../../nls.js';
|
|
5
5
|
import { IWorkbenchLayoutService } from '../../services/layout/browser/layoutService.service.js';
|
|
6
6
|
import { IContextMenuService } from '../../../platform/contextview/browser/contextView.service.js';
|
|
@@ -30,7 +30,7 @@ import { assertReturnsDefined } from '../../../../base/common/types.js';
|
|
|
30
30
|
import { CustomMenubarControl } from '../titlebar/menubarControl.js';
|
|
31
31
|
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
32
32
|
import { MenuSettings, getMenuBarVisibility } from '../../../../platform/window/common/window.js';
|
|
33
|
-
import {
|
|
33
|
+
import { Separator, toAction, SubmenuAction } from '../../../../base/common/actions.js';
|
|
34
34
|
import { StandardKeyboardEvent } from '../../../../base/browser/keyboardEvent.js';
|
|
35
35
|
import { KeyCode } from '../../../../base/common/keyCodes.js';
|
|
36
36
|
import { HoverPosition } from '../../../../base/browser/ui/hover/hoverWidget.js';
|
|
@@ -14,7 +14,7 @@ import { CompositeBarActionViewItem, CompositeBarAction } from './compositeBarAc
|
|
|
14
14
|
import { Codicon } from '../../../base/common/codicons.js';
|
|
15
15
|
import { ThemeIcon } from '../../../base/common/themables.js';
|
|
16
16
|
import { registerIcon } from '../../../platform/theme/common/iconRegistry.js';
|
|
17
|
-
import { Action,
|
|
17
|
+
import { Action, Separator, toAction, SubmenuAction } from '../../../base/common/actions.js';
|
|
18
18
|
import { MenuId } from '../../../platform/actions/common/actions.js';
|
|
19
19
|
import { IMenuService } from '../../../platform/actions/common/actions.service.js';
|
|
20
20
|
import { $, addDisposableListener, EventType, EventHelper, getWindow, runWhenWindowIdle, append, clearNode, hide, show } from '../../../base/browser/dom.js';
|
|
@@ -32,6 +32,13 @@ export interface IChatSessionProviderOptionGroup {
|
|
|
32
32
|
name: string;
|
|
33
33
|
description?: string;
|
|
34
34
|
items: IChatSessionProviderOptionItem[];
|
|
35
|
+
/**
|
|
36
|
+
* A context key expression that controls visibility of this option group picker.
|
|
37
|
+
* When specified, the picker is only visible when the expression evaluates to true.
|
|
38
|
+
* The expression can reference other option group values via `chatSessionOption.<groupId>`.
|
|
39
|
+
* Example: `"chatSessionOption.models == 'gpt-4'"`
|
|
40
|
+
*/
|
|
41
|
+
when?: string;
|
|
35
42
|
}
|
|
36
43
|
export interface IChatSessionsExtensionPoint {
|
|
37
44
|
readonly type: string;
|
|
@@ -27,7 +27,7 @@ import { AllowedExtensionsConfigKey, WEB_EXTENSION_TAG, EXTENSION_INSTALL_SKIP_P
|
|
|
27
27
|
import { IExtensionGalleryService, IAllowedExtensionsService } from '../../../../platform/extensionManagement/common/extensionManagement.service.js';
|
|
28
28
|
import { getGalleryExtensionTelemetryData, getLocalExtensionTelemetryData, findMatchingMaliciousEntry, areSameExtensions, groupByExtension, getGalleryExtensionId } from '../../../../platform/extensionManagement/common/extensionManagementUtil.js';
|
|
29
29
|
import { ExtensionType, TargetPlatform, ExtensionIdentifier, isApplicationScopedExtension } from '../../../../platform/extensions/common/extensions.js';
|
|
30
|
-
import {
|
|
30
|
+
import { isEngineValid, areApiProposalsCompatible } from '../../../../platform/extensions/common/extensionValidator.js';
|
|
31
31
|
import { IFileService } from '../../../../platform/files/common/files.service.js';
|
|
32
32
|
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
33
33
|
import { getLocale } from '../../../../platform/languagePacks/common/languagePacks.js';
|
|
@@ -12,7 +12,7 @@ import { NOTEBOOK_ACTIONS_CATEGORY, SELECT_KERNEL_ID } from '../controller/coreA
|
|
|
12
12
|
import { getNotebookEditorFromEditorPane } from '../notebookBrowser.js';
|
|
13
13
|
import { selectKernelIcon } from '../notebookIcons.js';
|
|
14
14
|
import { KernelPickerMRUStrategy } from './notebookKernelQuickPickStrategy.js';
|
|
15
|
-
import {
|
|
15
|
+
import { NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_KERNEL_COUNT } from '../../common/notebookContextKeys.js';
|
|
16
16
|
import { INotebookKernelService, INotebookKernelHistoryService } from '../../common/notebookKernelService.service.js';
|
|
17
17
|
import { IEditorService } from '../../../../services/editor/common/editorService.service.js';
|
|
18
18
|
import { createElement } from '../../../../../base/browser/dom.js';
|
|
@@ -3,7 +3,7 @@ import { registerCss } from '../../../../../../../css.js';
|
|
|
3
3
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
4
4
|
import * as tunnelView from './media/tunnelView.css';
|
|
5
5
|
import { localize, localize2 } from '../../../../nls.js';
|
|
6
|
-
import { append, $, addStandardDisposableListener,
|
|
6
|
+
import { append, $, addStandardDisposableListener, EventType, addDisposableListener, clearNode } from '../../../../base/browser/dom.js';
|
|
7
7
|
import { IViewDescriptorService } from '../../../common/views.service.js';
|
|
8
8
|
import { IViewsService } from '../../../services/views/common/viewsService.service.js';
|
|
9
9
|
import { IKeybindingService } from '../../../../platform/keybinding/common/keybinding.service.js';
|
|
@@ -43,17 +43,17 @@ var TerminalContextKeyStrings;
|
|
|
43
43
|
var TerminalContextKeys;
|
|
44
44
|
(function (TerminalContextKeys) {
|
|
45
45
|
TerminalContextKeys.isOpen = ( new RawContextKey(TerminalContextKeyStrings.IsOpen, false, true));
|
|
46
|
-
TerminalContextKeys.focus = ( new RawContextKey(TerminalContextKeyStrings.Focus, false, ( localize(
|
|
46
|
+
TerminalContextKeys.focus = ( new RawContextKey(TerminalContextKeyStrings.Focus, false, ( localize(11896, "Whether the terminal is focused."))));
|
|
47
47
|
TerminalContextKeys.focusInAny = ( new RawContextKey(TerminalContextKeyStrings.FocusInAny, false, ( localize(
|
|
48
|
-
|
|
48
|
+
11897,
|
|
49
49
|
"Whether any terminal is focused, including detached terminals used in other UI."
|
|
50
50
|
))));
|
|
51
|
-
TerminalContextKeys.editorFocus = ( new RawContextKey(TerminalContextKeyStrings.EditorFocus, false, ( localize(
|
|
52
|
-
TerminalContextKeys.count = ( new RawContextKey(TerminalContextKeyStrings.Count, 0, ( localize(
|
|
51
|
+
TerminalContextKeys.editorFocus = ( new RawContextKey(TerminalContextKeyStrings.EditorFocus, false, ( localize(11898, "Whether a terminal in the editor area is focused."))));
|
|
52
|
+
TerminalContextKeys.count = ( new RawContextKey(TerminalContextKeyStrings.Count, 0, ( localize(11899, "The current number of terminals."))));
|
|
53
53
|
TerminalContextKeys.groupCount = ( new RawContextKey(TerminalContextKeyStrings.GroupCount, 0, true));
|
|
54
54
|
TerminalContextKeys.tabsNarrow = ( new RawContextKey(TerminalContextKeyStrings.TabsNarrow, false, true));
|
|
55
55
|
TerminalContextKeys.terminalHasFixedWidth = ( new RawContextKey(TerminalContextKeyStrings.HasFixedWidth, false, true));
|
|
56
|
-
TerminalContextKeys.tabsFocus = ( new RawContextKey(TerminalContextKeyStrings.TabsFocus, false, ( localize(
|
|
56
|
+
TerminalContextKeys.tabsFocus = ( new RawContextKey(TerminalContextKeyStrings.TabsFocus, false, ( localize(11900, "Whether the terminal tabs widget is focused."))));
|
|
57
57
|
TerminalContextKeys.webExtensionContributedProfile = ( new RawContextKey(TerminalContextKeyStrings.WebExtensionContributedProfile, false, true));
|
|
58
58
|
TerminalContextKeys.terminalHasBeenCreated = ( new RawContextKey(TerminalContextKeyStrings.TerminalHasBeenCreated, false, true));
|
|
59
59
|
TerminalContextKeys.terminalEditorActive = ( new RawContextKey(TerminalContextKeyStrings.TerminalEditorActive, false, true));
|
|
@@ -62,16 +62,16 @@ var TerminalContextKeys;
|
|
|
62
62
|
TerminalContextKeyStrings.ShellType,
|
|
63
63
|
undefined,
|
|
64
64
|
{ type: 'string', description: ( localize(
|
|
65
|
-
|
|
65
|
+
11901,
|
|
66
66
|
"The shell type of the active terminal, this is set if the type can be detected."
|
|
67
67
|
)) }
|
|
68
68
|
));
|
|
69
|
-
TerminalContextKeys.altBufferActive = ( new RawContextKey(TerminalContextKeyStrings.AltBufferActive, false, ( localize(
|
|
70
|
-
TerminalContextKeys.suggestWidgetVisible = ( new RawContextKey(TerminalContextKeyStrings.SuggestWidgetVisible, false, ( localize(
|
|
69
|
+
TerminalContextKeys.altBufferActive = ( new RawContextKey(TerminalContextKeyStrings.AltBufferActive, false, ( localize(11902, "Whether the terminal's alt buffer is active."))));
|
|
70
|
+
TerminalContextKeys.suggestWidgetVisible = ( new RawContextKey(TerminalContextKeyStrings.SuggestWidgetVisible, false, ( localize(11903, "Whether the terminal's suggest widget is visible."))));
|
|
71
71
|
TerminalContextKeys.notFocus = ( TerminalContextKeys.focus.toNegated());
|
|
72
|
-
TerminalContextKeys.viewShowing = ( new RawContextKey(TerminalContextKeyStrings.ViewShowing, false, ( localize(
|
|
73
|
-
TerminalContextKeys.textSelected = ( new RawContextKey(TerminalContextKeyStrings.TextSelected, false, ( localize(
|
|
74
|
-
TerminalContextKeys.textSelectedInFocused = ( new RawContextKey(TerminalContextKeyStrings.TextSelectedInFocused, false, ( localize(
|
|
72
|
+
TerminalContextKeys.viewShowing = ( new RawContextKey(TerminalContextKeyStrings.ViewShowing, false, ( localize(11904, "Whether the terminal view is showing"))));
|
|
73
|
+
TerminalContextKeys.textSelected = ( new RawContextKey(TerminalContextKeyStrings.TextSelected, false, ( localize(11905, "Whether text is selected in the active terminal."))));
|
|
74
|
+
TerminalContextKeys.textSelectedInFocused = ( new RawContextKey(TerminalContextKeyStrings.TextSelectedInFocused, false, ( localize(11906, "Whether text is selected in a focused terminal."))));
|
|
75
75
|
TerminalContextKeys.notTextSelected = ( TerminalContextKeys.textSelected.toNegated());
|
|
76
76
|
TerminalContextKeys.findVisible = ( new RawContextKey(TerminalContextKeyStrings.FindVisible, false, true));
|
|
77
77
|
TerminalContextKeys.notFindVisible = ( TerminalContextKeys.findVisible.toNegated());
|
|
@@ -79,21 +79,21 @@ var TerminalContextKeys;
|
|
|
79
79
|
TerminalContextKeys.findFocus = ( new RawContextKey(TerminalContextKeyStrings.FindFocused, false, true));
|
|
80
80
|
TerminalContextKeys.notFindFocus = ( TerminalContextKeys.findInputFocus.toNegated());
|
|
81
81
|
TerminalContextKeys.processSupported = ( new RawContextKey(TerminalContextKeyStrings.ProcessSupported, false, ( localize(
|
|
82
|
-
|
|
82
|
+
11907,
|
|
83
83
|
"Whether terminal processes can be launched in the current workspace."
|
|
84
84
|
))));
|
|
85
|
-
TerminalContextKeys.tabsSingularSelection = ( new RawContextKey(TerminalContextKeyStrings.TabsSingularSelection, false, ( localize(
|
|
86
|
-
TerminalContextKeys.splitTerminalTabFocused = ( new RawContextKey(TerminalContextKeyStrings.SplitTerminal, false, ( localize(
|
|
87
|
-
TerminalContextKeys.splitTerminalActive = ( new RawContextKey(TerminalContextKeyStrings.SplitPaneActive, false, ( localize(
|
|
85
|
+
TerminalContextKeys.tabsSingularSelection = ( new RawContextKey(TerminalContextKeyStrings.TabsSingularSelection, false, ( localize(11908, "Whether one terminal is selected in the terminal tabs list."))));
|
|
86
|
+
TerminalContextKeys.splitTerminalTabFocused = ( new RawContextKey(TerminalContextKeyStrings.SplitTerminal, false, ( localize(11909, "Whether the focused tab's terminal is a split terminal."))));
|
|
87
|
+
TerminalContextKeys.splitTerminalActive = ( new RawContextKey(TerminalContextKeyStrings.SplitPaneActive, false, ( localize(11910, "Whether the active terminal is a split pane."))));
|
|
88
88
|
TerminalContextKeys.inTerminalRunCommandPicker = ( new RawContextKey(
|
|
89
89
|
TerminalContextKeyStrings.InTerminalRunCommandPicker,
|
|
90
90
|
false,
|
|
91
|
-
( localize(
|
|
91
|
+
( localize(11911, "Whether the terminal run command picker is currently open."))
|
|
92
92
|
));
|
|
93
93
|
TerminalContextKeys.terminalShellIntegrationEnabled = ( new RawContextKey(
|
|
94
94
|
TerminalContextKeyStrings.TerminalShellIntegrationEnabled,
|
|
95
95
|
false,
|
|
96
|
-
( localize(
|
|
96
|
+
( localize(11912, "Whether shell integration is enabled in the active terminal"))
|
|
97
97
|
));
|
|
98
98
|
TerminalContextKeys.terminalDictationInProgress = ( new RawContextKey(TerminalContextKeyStrings.DictationInProgress, false));
|
|
99
99
|
TerminalContextKeys.shouldShowViewInlineActions = ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', TERMINAL_VIEW_ID)), ( ContextKeyExpr.notEquals(`config.${TerminalSettingId.TabsHideCondition}`, 'never')), ContextKeyExpr.not(TerminalContribContextKeyStrings.ChatHasHiddenTerminals), ( ContextKeyExpr.or(
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
import { localize2, localize } from '../../../../nls.js';
|
|
3
3
|
|
|
4
4
|
const terminalStrings = {
|
|
5
|
-
terminal: ( localize(
|
|
6
|
-
new: ( localize(
|
|
7
|
-
currentSessionCategory: ( localize(
|
|
8
|
-
previousSessionCategory: ( localize(
|
|
9
|
-
typeTask: ( localize(
|
|
10
|
-
typeLocal: ( localize(
|
|
11
|
-
actionCategory: ( localize2(
|
|
12
|
-
focus: ( localize2(
|
|
5
|
+
terminal: ( localize(11913, "Terminal")),
|
|
6
|
+
new: ( localize(11914, "New Terminal")),
|
|
7
|
+
currentSessionCategory: ( localize(11915, 'current session')),
|
|
8
|
+
previousSessionCategory: ( localize(11916, 'previous session')),
|
|
9
|
+
typeTask: ( localize(11917, "Task")),
|
|
10
|
+
typeLocal: ( localize(11918, "Local")),
|
|
11
|
+
actionCategory: ( localize2(11919, "Terminal")),
|
|
12
|
+
focus: ( localize2(11920, "Focus Terminal")),
|
|
13
13
|
kill: {
|
|
14
|
-
...( localize2(
|
|
15
|
-
short: ( localize(
|
|
14
|
+
...( localize2(11921, "Kill Terminal")),
|
|
15
|
+
short: ( localize(11922, "Kill")),
|
|
16
16
|
},
|
|
17
|
-
moveToEditor: ( localize2(
|
|
18
|
-
moveIntoNewWindow: ( localize2(
|
|
19
|
-
newInNewWindow: ( localize2(
|
|
20
|
-
moveToTerminalPanel: ( localize2(
|
|
21
|
-
changeIcon: ( localize2(
|
|
22
|
-
changeColor: ( localize2(
|
|
17
|
+
moveToEditor: ( localize2(11923, "Move Terminal into Editor Area")),
|
|
18
|
+
moveIntoNewWindow: ( localize2(11924, "Move Terminal into New Window")),
|
|
19
|
+
newInNewWindow: ( localize2(11925, "New Terminal Window")),
|
|
20
|
+
moveToTerminalPanel: ( localize2(11926, "Move Terminal into Panel")),
|
|
21
|
+
changeIcon: ( localize2(11927, "Change Icon...")),
|
|
22
|
+
changeColor: ( localize2(11928, "Change Color...")),
|
|
23
23
|
split: {
|
|
24
|
-
...( localize2(
|
|
25
|
-
short: ( localize(
|
|
24
|
+
...( localize2(11929, "Split Terminal")),
|
|
25
|
+
short: ( localize(11930, "Split")),
|
|
26
26
|
},
|
|
27
|
-
unsplit: ( localize2(
|
|
28
|
-
rename: ( localize2(
|
|
29
|
-
toggleSizeToContentWidth: ( localize2(
|
|
30
|
-
focusHover: ( localize2(
|
|
31
|
-
newWithCwd: ( localize2(
|
|
32
|
-
renameWithArgs: ( localize2(
|
|
33
|
-
scrollToPreviousCommand: ( localize2(
|
|
34
|
-
scrollToNextCommand: ( localize2(
|
|
27
|
+
unsplit: ( localize2(11931, "Unsplit Terminal")),
|
|
28
|
+
rename: ( localize2(11932, "Rename...")),
|
|
29
|
+
toggleSizeToContentWidth: ( localize2(11933, "Toggle Size to Content Width")),
|
|
30
|
+
focusHover: ( localize2(11934, "Focus Hover")),
|
|
31
|
+
newWithCwd: ( localize2(11935, "Create New Terminal Starting in a Custom Working Directory")),
|
|
32
|
+
renameWithArgs: ( localize2(11936, "Rename the Currently Active Terminal")),
|
|
33
|
+
scrollToPreviousCommand: ( localize2(11937, "Scroll to Previous Command")),
|
|
34
|
+
scrollToNextCommand: ( localize2(11938, "Scroll to Next Command"))};
|
|
35
35
|
|
|
36
36
|
export { terminalStrings };
|
|
@@ -9,14 +9,14 @@ var TerminalAccessibilitySettingId;
|
|
|
9
9
|
const terminalAccessibilityConfiguration = {
|
|
10
10
|
[TerminalAccessibilitySettingId.AccessibleViewPreserveCursorPosition]: {
|
|
11
11
|
markdownDescription: ( localize(
|
|
12
|
-
|
|
12
|
+
11964,
|
|
13
13
|
"Preserve the cursor position on reopen of the terminal's accessible view rather than setting it to the bottom of the buffer."
|
|
14
14
|
)),
|
|
15
15
|
type: 'boolean',
|
|
16
16
|
default: false
|
|
17
17
|
},
|
|
18
18
|
[TerminalAccessibilitySettingId.AccessibleViewFocusOnCommandExecution]: {
|
|
19
|
-
markdownDescription: ( localize(
|
|
19
|
+
markdownDescription: ( localize(11965, "Focus the terminal accessible view when a command is executed.")),
|
|
20
20
|
type: 'boolean',
|
|
21
21
|
default: false
|
|
22
22
|
},
|
|
@@ -8,7 +8,7 @@ var TerminalAutoRepliesSettingId;
|
|
|
8
8
|
const terminalAutoRepliesConfiguration = {
|
|
9
9
|
[TerminalAutoRepliesSettingId.AutoReplies]: {
|
|
10
10
|
markdownDescription: ( localize(
|
|
11
|
-
|
|
11
|
+
11966,
|
|
12
12
|
"A set of messages that, when encountered in the terminal, will be automatically responded to. Provided the message is specific enough, this can help automate away common responses.\n\nRemarks:\n\n- Use {0} to automatically respond to the terminate batch job prompt on Windows.\n- The message includes escape sequences so the reply might not happen with styled text.\n- Each reply can only happen once every second.\n- Use {1} in the reply to mean the enter key.\n- To unset a default key, set the value to null.\n- Restart VS Code if new don't apply.",
|
|
13
13
|
'`"Terminate batch job (Y/N)": "Y\\r"`',
|
|
14
14
|
'`"\\r"`'
|
|
@@ -17,7 +17,7 @@ const terminalAutoRepliesConfiguration = {
|
|
|
17
17
|
additionalProperties: {
|
|
18
18
|
oneOf: [{
|
|
19
19
|
type: 'string',
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(11967, "The reply to send to the process."))
|
|
21
21
|
},
|
|
22
22
|
{ type: 'null' }]
|
|
23
23
|
},
|