@codingame/monaco-vscode-api 1.83.4 → 1.83.6
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/lifecycle.js +3 -1
- package/missing-services.js +32 -28
- package/monaco-editor-treemending.patch +786 -760
- package/monaco.js +1 -0
- package/package.json +1 -1
- package/service-override/extensions.js +5 -5
- package/service-override/files.js +37 -13
- package/service-override/keybindings.js +10 -4
- package/service-override/layout.js +1 -3
- package/services.d.ts +13 -2
- package/services.js +35 -5
- package/vscode/src/vs/base/browser/broadcast.js +52 -0
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +6 -1
- package/vscode/src/vs/base/common/date.js +244 -54
- package/vscode/src/vs/base/common/jsonErrorMessages.js +45 -9
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.d.ts +65 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +33 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +165 -32
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +30 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +0 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +6 -1
- package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +404 -0
- package/vscode/src/vs/platform/files/common/fileService.js +13 -2
- package/vscode/src/vs/platform/files/common/files.js +25 -5
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +15 -3
- package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +38 -7
- package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +7 -1
- package/vscode/src/vs/platform/request/common/request.js +1 -1
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +210 -42
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +73 -13
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +5 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +11 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +5 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +70 -35
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +108 -20
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +17 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +5 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +5 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +7 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +14 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +12 -14
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +6 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +32 -5
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +0 -60
- package/vscode/src/vs/workbench/api/common/extHostChat.js +11 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +12 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +9 -1
- package/vscode/src/vs/workbench/api/common/extHostProgress.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +11 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +10 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +7 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +49 -9
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +397 -274
- package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +30 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +85 -31
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +56 -102
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +5 -1
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +55 -11
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +63 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +7 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +15 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +205 -41
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +617 -139
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +578 -114
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +96 -20
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +30 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +46 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +30 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +309 -59
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +5 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +5 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +16 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +35 -7
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +185 -33
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +90 -57
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +5 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +16 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +26 -6
- package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +35 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +6 -6
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +918 -185
- package/vscode/src/vs/workbench/common/configuration.js +25 -11
- package/vscode/src/vs/workbench/common/contextkeys.js +244 -228
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +7 -1
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +7 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +6 -1
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +23 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +26 -1
- package/vscode/src/vs/workbench/common/editor.js +26 -5
- package/vscode/src/vs/workbench/common/theme.js +676 -136
- package/vscode/src/vs/workbench/common/views.js +8 -3
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +71 -14
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +21 -2
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +133 -21
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +36 -8
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +96 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +0 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +22 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +22 -4
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +41 -8
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +25 -5
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +30 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +34 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +44 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +10 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +320 -63
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +12 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +15 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +30 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +25 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +10 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +20 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +10 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +10 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +25 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +30 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +25 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +16 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +8 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +23 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +15 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +18 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +142 -26
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +33 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +45 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +63 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +45 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +16 -8
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +41 -21
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +5 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +60 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +275 -55
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +7 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +255 -94
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +120 -24
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +22 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +21 -4
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +39 -51
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +394 -75
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +17 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +190 -32
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +5 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +21 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +26 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +81 -14
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +26 -5
- package/vscode/src/vs/workbench/contrib/files/common/files.js +70 -26
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +5 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +20 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +75 -111
- package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +5 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +6 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +151 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +10 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -42
- package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +115 -23
- package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +17 -3
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +49 -9
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +66 -13
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +52 -10
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +10 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +110 -26
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +21 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +15 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +56 -9
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +25 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +16 -26
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +7 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +20 -4
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +35 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +106 -21
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +81 -21
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +6 -2
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +592 -112
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +5 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +6 -32
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +5 -1
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +5 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +5 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +15 -3
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +58 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +5 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +392 -80
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +28 -5
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +10 -2
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +129 -24
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +10 -2
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +20 -10
- package/vscode/src/vs/workbench/services/language/common/languageService.js +122 -22
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +28 -9
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +6 -1
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +48 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +5 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +7 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +6 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +81 -16
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +1 -50
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +126 -25
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -5
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +6 -14
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +6 -1
|
@@ -10,270 +10,431 @@ const BREAKPOINTS_VIEW_ID = 'workbench.debug.breakPointsView';
|
|
|
10
10
|
const DISASSEMBLY_VIEW_ID = 'workbench.debug.disassemblyView';
|
|
11
11
|
const DEBUG_PANEL_ID = 'workbench.panel.repl';
|
|
12
12
|
const REPL_VIEW_ID = 'workbench.panel.repl.view';
|
|
13
|
-
const CONTEXT_DEBUG_TYPE = ( new RawContextKey(
|
|
13
|
+
const CONTEXT_DEBUG_TYPE = ( new RawContextKey('debugType', undefined, { type: 'string', description: ( nls.localizeWithPath(
|
|
14
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
14
15
|
'debugType',
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
));
|
|
16
|
+
"Debug type of the active debug session. For example 'python'."
|
|
17
|
+
)) }));
|
|
18
18
|
const CONTEXT_DEBUG_CONFIGURATION_TYPE = ( new RawContextKey(
|
|
19
19
|
'debugConfigurationType',
|
|
20
20
|
undefined,
|
|
21
|
-
{ type: 'string', description: nls.localizeWithPath(
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
{ type: 'string', description: ( nls.localizeWithPath(
|
|
22
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
23
|
+
'debugConfigurationType',
|
|
24
|
+
"Debug type of the selected launch configuration. For example 'python'."
|
|
25
|
+
)) }
|
|
26
|
+
));
|
|
27
|
+
const CONTEXT_DEBUG_STATE = ( new RawContextKey('debugState', 'inactive', { type: 'string', description: ( nls.localizeWithPath(
|
|
28
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
24
29
|
'debugState',
|
|
25
|
-
'inactive',
|
|
26
|
-
|
|
27
|
-
));
|
|
30
|
+
"State that the focused debug session is in. One of the following: 'inactive', 'initializing', 'stopped' or 'running'."
|
|
31
|
+
)) }));
|
|
28
32
|
const CONTEXT_DEBUG_UX_KEY = 'debugUx';
|
|
29
33
|
const CONTEXT_DEBUG_UX = ( new RawContextKey(
|
|
30
34
|
CONTEXT_DEBUG_UX_KEY,
|
|
31
35
|
'default',
|
|
32
|
-
{ type: 'string', description: nls.localizeWithPath(
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
{ type: 'string', description: ( nls.localizeWithPath(
|
|
37
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
38
|
+
'debugUX',
|
|
39
|
+
"Debug UX state. When there are no debug configurations it is 'simple', otherwise 'default'. Used to decide when to show welcome views in the debug viewlet."
|
|
40
|
+
)) }
|
|
41
|
+
));
|
|
42
|
+
const CONTEXT_HAS_DEBUGGED = ( new RawContextKey('hasDebugged', false, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
43
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
35
44
|
'hasDebugged',
|
|
36
|
-
false
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
"True when a debug session has been started at least once, false otherwise."
|
|
46
|
+
)) }));
|
|
47
|
+
const CONTEXT_IN_DEBUG_MODE = ( new RawContextKey('inDebugMode', false, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
48
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
40
49
|
'inDebugMode',
|
|
41
|
-
false
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
50
|
+
"True when debugging, false otherwise."
|
|
51
|
+
)) }));
|
|
52
|
+
const CONTEXT_IN_DEBUG_REPL = ( new RawContextKey('inDebugRepl', false, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
53
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
45
54
|
'inDebugRepl',
|
|
46
|
-
false
|
|
47
|
-
|
|
48
|
-
));
|
|
55
|
+
"True when focus is in the debug console, false otherwise."
|
|
56
|
+
)) }));
|
|
49
57
|
const CONTEXT_BREAKPOINT_WIDGET_VISIBLE = ( new RawContextKey(
|
|
50
58
|
'breakpointWidgetVisible',
|
|
51
59
|
false,
|
|
52
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
60
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
61
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
62
|
+
'breakpointWidgetVisibile',
|
|
63
|
+
"True when breakpoint editor zone widget is visible, false otherwise."
|
|
64
|
+
)) }
|
|
53
65
|
));
|
|
54
66
|
const CONTEXT_IN_BREAKPOINT_WIDGET = ( new RawContextKey(
|
|
55
67
|
'inBreakpointWidget',
|
|
56
68
|
false,
|
|
57
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
69
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
70
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
71
|
+
'inBreakpointWidget',
|
|
72
|
+
"True when focus is in the breakpoint editor zone widget, false otherwise."
|
|
73
|
+
)) }
|
|
58
74
|
));
|
|
59
|
-
const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey(
|
|
75
|
+
const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey('breakpointsFocused', true, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
76
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
60
77
|
'breakpointsFocused',
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
));
|
|
78
|
+
"True when the BREAKPOINTS view is focused, false otherwise."
|
|
79
|
+
)) }));
|
|
64
80
|
const CONTEXT_WATCH_EXPRESSIONS_FOCUSED = ( new RawContextKey(
|
|
65
81
|
'watchExpressionsFocused',
|
|
66
82
|
true,
|
|
67
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
83
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
84
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
85
|
+
'watchExpressionsFocused',
|
|
86
|
+
"True when the WATCH view is focused, false otherwsie."
|
|
87
|
+
)) }
|
|
68
88
|
));
|
|
69
89
|
const CONTEXT_WATCH_EXPRESSIONS_EXIST = ( new RawContextKey(
|
|
70
90
|
'watchExpressionsExist',
|
|
71
91
|
false,
|
|
72
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
92
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
93
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
94
|
+
'watchExpressionsExist',
|
|
95
|
+
"True when at least one watch expression exists, false otherwise."
|
|
96
|
+
)) }
|
|
73
97
|
));
|
|
74
|
-
const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey(
|
|
98
|
+
const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey('variablesFocused', true, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
99
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
75
100
|
'variablesFocused',
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
));
|
|
101
|
+
"True when the VARIABLES views is focused, false otherwsie"
|
|
102
|
+
)) }));
|
|
79
103
|
const CONTEXT_EXPRESSION_SELECTED = ( new RawContextKey(
|
|
80
104
|
'expressionSelected',
|
|
81
105
|
false,
|
|
82
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
106
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
107
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
108
|
+
'expressionSelected',
|
|
109
|
+
"True when an expression input box is open in either the WATCH or the VARIABLES view, false otherwise."
|
|
110
|
+
)) }
|
|
83
111
|
));
|
|
84
112
|
const CONTEXT_BREAKPOINT_INPUT_FOCUSED = ( new RawContextKey(
|
|
85
113
|
'breakpointInputFocused',
|
|
86
114
|
false,
|
|
87
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
115
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
116
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
117
|
+
'breakpointInputFocused',
|
|
118
|
+
"True when the input box has focus in the BREAKPOINTS view."
|
|
119
|
+
)) }
|
|
88
120
|
));
|
|
89
121
|
const CONTEXT_CALLSTACK_ITEM_TYPE = ( new RawContextKey(
|
|
90
122
|
'callStackItemType',
|
|
91
123
|
undefined,
|
|
92
|
-
{ type: 'string', description: nls.localizeWithPath(
|
|
124
|
+
{ type: 'string', description: ( nls.localizeWithPath(
|
|
125
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
126
|
+
'callStackItemType',
|
|
127
|
+
"Represents the item type of the focused element in the CALL STACK view. For example: 'session', 'thread', 'stackFrame'"
|
|
128
|
+
)) }
|
|
93
129
|
));
|
|
94
130
|
const CONTEXT_CALLSTACK_SESSION_IS_ATTACH = ( new RawContextKey(
|
|
95
131
|
'callStackSessionIsAttach',
|
|
96
132
|
false,
|
|
97
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
133
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
134
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
135
|
+
'callStackSessionIsAttach',
|
|
136
|
+
"True when the session in the CALL STACK view is attach, false otherwise. Used internally for inline menus in the CALL STACK view."
|
|
137
|
+
)) }
|
|
98
138
|
));
|
|
99
139
|
const CONTEXT_CALLSTACK_ITEM_STOPPED = ( new RawContextKey(
|
|
100
140
|
'callStackItemStopped',
|
|
101
141
|
false,
|
|
102
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
142
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
143
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
144
|
+
'callStackItemStopped',
|
|
145
|
+
"True when the focused item in the CALL STACK is stopped. Used internaly for inline menus in the CALL STACK view."
|
|
146
|
+
)) }
|
|
103
147
|
));
|
|
104
148
|
const CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD = ( new RawContextKey(
|
|
105
149
|
'callStackSessionHasOneThread',
|
|
106
150
|
false,
|
|
107
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
151
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
152
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
153
|
+
'callStackSessionHasOneThread',
|
|
154
|
+
"True when the focused session in the CALL STACK view has exactly one thread. Used internally for inline menus in the CALL STACK view."
|
|
155
|
+
)) }
|
|
108
156
|
));
|
|
109
|
-
const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey(
|
|
157
|
+
const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey('watchItemType', undefined, { type: 'string', description: ( nls.localizeWithPath(
|
|
158
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
110
159
|
'watchItemType',
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
160
|
+
"Represents the item type of the focused element in the WATCH view. For example: 'expression', 'variable'"
|
|
161
|
+
)) }));
|
|
162
|
+
const CONTEXT_CAN_VIEW_MEMORY = ( new RawContextKey('canViewMemory', undefined, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
163
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
115
164
|
'canViewMemory',
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
));
|
|
165
|
+
"Indicates whether the item in the view has an associated memory refrence."
|
|
166
|
+
)) }));
|
|
119
167
|
const CONTEXT_BREAKPOINT_ITEM_TYPE = ( new RawContextKey(
|
|
120
168
|
'breakpointItemType',
|
|
121
169
|
undefined,
|
|
122
|
-
{ type: 'string', description: nls.localizeWithPath(
|
|
170
|
+
{ type: 'string', description: ( nls.localizeWithPath(
|
|
171
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
172
|
+
'breakpointItemType',
|
|
173
|
+
"Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'"
|
|
174
|
+
)) }
|
|
123
175
|
));
|
|
124
176
|
const CONTEXT_BREAKPOINT_SUPPORTS_CONDITION = ( new RawContextKey(
|
|
125
177
|
'breakpointSupportsCondition',
|
|
126
178
|
false,
|
|
127
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
179
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
180
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
181
|
+
'breakpointSupportsCondition',
|
|
182
|
+
"True when the focused breakpoint supports conditions."
|
|
183
|
+
)) }
|
|
128
184
|
));
|
|
129
185
|
const CONTEXT_LOADED_SCRIPTS_SUPPORTED = ( new RawContextKey(
|
|
130
186
|
'loadedScriptsSupported',
|
|
131
187
|
false,
|
|
132
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
188
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
189
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
190
|
+
'loadedScriptsSupported',
|
|
191
|
+
"True when the focused sessions supports the LOADED SCRIPTS view"
|
|
192
|
+
)) }
|
|
133
193
|
));
|
|
134
194
|
const CONTEXT_LOADED_SCRIPTS_ITEM_TYPE = ( new RawContextKey(
|
|
135
195
|
'loadedScriptsItemType',
|
|
136
196
|
undefined,
|
|
137
|
-
{ type: 'string', description: nls.localizeWithPath(
|
|
197
|
+
{ type: 'string', description: ( nls.localizeWithPath(
|
|
198
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
199
|
+
'loadedScriptsItemType',
|
|
200
|
+
"Represents the item type of the focused element in the LOADED SCRIPTS view."
|
|
201
|
+
)) }
|
|
138
202
|
));
|
|
139
203
|
const CONTEXT_FOCUSED_SESSION_IS_ATTACH = ( new RawContextKey(
|
|
140
204
|
'focusedSessionIsAttach',
|
|
141
205
|
false,
|
|
142
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
206
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
207
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
208
|
+
'focusedSessionIsAttach',
|
|
209
|
+
"True when the focused session is 'attach'."
|
|
210
|
+
)) }
|
|
143
211
|
));
|
|
144
|
-
const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey(
|
|
212
|
+
const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey('stepBackSupported', false, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
213
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
145
214
|
'stepBackSupported',
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
));
|
|
215
|
+
"True when the focused session supports 'stepBack' requests."
|
|
216
|
+
)) }));
|
|
149
217
|
const CONTEXT_RESTART_FRAME_SUPPORTED = ( new RawContextKey(
|
|
150
218
|
'restartFrameSupported',
|
|
151
219
|
false,
|
|
152
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
220
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
221
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
222
|
+
'restartFrameSupported',
|
|
223
|
+
"True when the focused session supports 'restartFrame' requests."
|
|
224
|
+
)) }
|
|
153
225
|
));
|
|
154
226
|
const CONTEXT_STACK_FRAME_SUPPORTS_RESTART = ( new RawContextKey(
|
|
155
227
|
'stackFrameSupportsRestart',
|
|
156
228
|
false,
|
|
157
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
229
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
230
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
231
|
+
'stackFrameSupportsRestart',
|
|
232
|
+
"True when the focused stack frame suppots 'restartFrame'."
|
|
233
|
+
)) }
|
|
158
234
|
));
|
|
159
235
|
const CONTEXT_JUMP_TO_CURSOR_SUPPORTED = ( new RawContextKey(
|
|
160
236
|
'jumpToCursorSupported',
|
|
161
237
|
false,
|
|
162
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
238
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
239
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
240
|
+
'jumpToCursorSupported',
|
|
241
|
+
"True when the focused session supports 'jumpToCursor' request."
|
|
242
|
+
)) }
|
|
163
243
|
));
|
|
164
244
|
const CONTEXT_STEP_INTO_TARGETS_SUPPORTED = ( new RawContextKey(
|
|
165
245
|
'stepIntoTargetsSupported',
|
|
166
246
|
false,
|
|
167
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
247
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
248
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
249
|
+
'stepIntoTargetsSupported',
|
|
250
|
+
"True when the focused session supports 'stepIntoTargets' request."
|
|
251
|
+
)) }
|
|
168
252
|
));
|
|
169
|
-
const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey(
|
|
253
|
+
const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey('breakpointsExist', false, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
254
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
170
255
|
'breakpointsExist',
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
));
|
|
256
|
+
"True when at least one breakpoint exists."
|
|
257
|
+
)) }));
|
|
174
258
|
const CONTEXT_DEBUGGERS_AVAILABLE = ( new RawContextKey(
|
|
175
259
|
'debuggersAvailable',
|
|
176
260
|
false,
|
|
177
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
261
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
262
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
263
|
+
'debuggersAvailable',
|
|
264
|
+
"True when there is at least one debug extensions active."
|
|
265
|
+
)) }
|
|
178
266
|
));
|
|
179
267
|
const CONTEXT_DEBUG_EXTENSION_AVAILABLE = ( new RawContextKey(
|
|
180
268
|
'debugExtensionAvailable',
|
|
181
269
|
true,
|
|
182
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
270
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
271
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
272
|
+
'debugExtensionsAvailable',
|
|
273
|
+
"True when there is at least one debug extension installed and enabled."
|
|
274
|
+
)) }
|
|
183
275
|
));
|
|
184
276
|
const CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT = ( new RawContextKey(
|
|
185
277
|
'debugProtocolVariableMenuContext',
|
|
186
278
|
undefined,
|
|
187
|
-
{ type: 'string', description: nls.localizeWithPath(
|
|
279
|
+
{ type: 'string', description: ( nls.localizeWithPath(
|
|
280
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
281
|
+
'debugProtocolVariableMenuContext',
|
|
282
|
+
"Represents the context the debug adapter sets on the focused variable in the VARIABLES view."
|
|
283
|
+
)) }
|
|
188
284
|
));
|
|
189
285
|
const CONTEXT_SET_VARIABLE_SUPPORTED = ( new RawContextKey(
|
|
190
286
|
'debugSetVariableSupported',
|
|
191
287
|
false,
|
|
192
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
288
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
289
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
290
|
+
'debugSetVariableSupported',
|
|
291
|
+
"True when the focused session supports 'setVariable' request."
|
|
292
|
+
)) }
|
|
193
293
|
));
|
|
194
294
|
const CONTEXT_SET_EXPRESSION_SUPPORTED = ( new RawContextKey(
|
|
195
295
|
'debugSetExpressionSupported',
|
|
196
296
|
false,
|
|
197
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
297
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
298
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
299
|
+
'debugSetExpressionSupported',
|
|
300
|
+
"True when the focused session supports 'setExpression' request."
|
|
301
|
+
)) }
|
|
198
302
|
));
|
|
199
303
|
const CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED = ( new RawContextKey(
|
|
200
304
|
'breakWhenValueChangesSupported',
|
|
201
305
|
false,
|
|
202
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
306
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
307
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
308
|
+
'breakWhenValueChangesSupported',
|
|
309
|
+
"True when the focused session supports to break when value changes."
|
|
310
|
+
)) }
|
|
203
311
|
));
|
|
204
312
|
const CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED = ( new RawContextKey(
|
|
205
313
|
'breakWhenValueIsAccessedSupported',
|
|
206
314
|
false,
|
|
207
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
315
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
316
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
317
|
+
'breakWhenValueIsAccessedSupported',
|
|
318
|
+
"True when the focused breakpoint supports to break when value is accessed."
|
|
319
|
+
)) }
|
|
208
320
|
));
|
|
209
321
|
const CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED = ( new RawContextKey(
|
|
210
322
|
'breakWhenValueIsReadSupported',
|
|
211
323
|
false,
|
|
212
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
324
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
325
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
326
|
+
'breakWhenValueIsReadSupported',
|
|
327
|
+
"True when the focused breakpoint supports to break when value is read."
|
|
328
|
+
)) }
|
|
213
329
|
));
|
|
214
330
|
const CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED = ( new RawContextKey(
|
|
215
331
|
'terminateDebuggeeSupported',
|
|
216
332
|
false,
|
|
217
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
333
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
334
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
335
|
+
'terminateDebuggeeSupported',
|
|
336
|
+
"True when the focused session supports the terminate debuggee capability."
|
|
337
|
+
)) }
|
|
218
338
|
));
|
|
219
339
|
const CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED = ( new RawContextKey(
|
|
220
340
|
'suspendDebuggeeSupported',
|
|
221
341
|
false,
|
|
222
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
342
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
343
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
344
|
+
'suspendDebuggeeSupported',
|
|
345
|
+
"True when the focused session supports the suspend debuggee capability."
|
|
346
|
+
)) }
|
|
223
347
|
));
|
|
224
348
|
const CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT = ( new RawContextKey(
|
|
225
349
|
'variableEvaluateNamePresent',
|
|
226
350
|
false,
|
|
227
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
351
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
352
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
353
|
+
'variableEvaluateNamePresent',
|
|
354
|
+
"True when the focused variable has an 'evalauteName' field set."
|
|
355
|
+
)) }
|
|
228
356
|
));
|
|
229
357
|
const CONTEXT_VARIABLE_IS_READONLY = ( new RawContextKey(
|
|
230
358
|
'variableIsReadonly',
|
|
231
359
|
false,
|
|
232
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
360
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
361
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
362
|
+
'variableIsReadonly',
|
|
363
|
+
"True when the focused variable is read-only."
|
|
364
|
+
)) }
|
|
233
365
|
));
|
|
234
366
|
const CONTEXT_EXCEPTION_WIDGET_VISIBLE = ( new RawContextKey(
|
|
235
367
|
'exceptionWidgetVisible',
|
|
236
368
|
false,
|
|
237
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
369
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
370
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
371
|
+
'exceptionWidgetVisible',
|
|
372
|
+
"True when the exception widget is visible."
|
|
373
|
+
)) }
|
|
238
374
|
));
|
|
239
|
-
const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey(
|
|
375
|
+
const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey('multiSessionRepl', false, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
376
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
240
377
|
'multiSessionRepl',
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
378
|
+
"True when there is more than 1 debug console."
|
|
379
|
+
)) }));
|
|
380
|
+
const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey('multiSessionDebug', false, { type: 'boolean', description: ( nls.localizeWithPath(
|
|
381
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
245
382
|
'multiSessionDebug',
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
));
|
|
383
|
+
"True when there is more than 1 active debug session."
|
|
384
|
+
)) }));
|
|
249
385
|
const CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED = ( new RawContextKey(
|
|
250
386
|
'disassembleRequestSupported',
|
|
251
387
|
false,
|
|
252
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
388
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
389
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
390
|
+
'disassembleRequestSupported',
|
|
391
|
+
"True when the focused sessions supports disassemble request."
|
|
392
|
+
)) }
|
|
253
393
|
));
|
|
254
394
|
const CONTEXT_DISASSEMBLY_VIEW_FOCUS = ( new RawContextKey(
|
|
255
395
|
'disassemblyViewFocus',
|
|
256
396
|
false,
|
|
257
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
397
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
398
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
399
|
+
'disassemblyViewFocus',
|
|
400
|
+
"True when the Disassembly View is focused."
|
|
401
|
+
)) }
|
|
258
402
|
));
|
|
259
403
|
const CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST = ( new RawContextKey(
|
|
260
404
|
'languageSupportsDisassembleRequest',
|
|
261
405
|
false,
|
|
262
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
406
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
407
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
408
|
+
'languageSupportsDisassembleRequest',
|
|
409
|
+
"True when the language in the current editor supports disassemble request."
|
|
410
|
+
)) }
|
|
263
411
|
));
|
|
264
412
|
const CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE = ( new RawContextKey(
|
|
265
413
|
'focusedStackFrameHasInstructionReference',
|
|
266
414
|
false,
|
|
267
|
-
{ type: 'boolean', description: nls.localizeWithPath(
|
|
415
|
+
{ type: 'boolean', description: ( nls.localizeWithPath(
|
|
416
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
417
|
+
'focusedStackFrameHasInstructionReference',
|
|
418
|
+
"True when the focused stack frame has instruction pointer reference."
|
|
419
|
+
)) }
|
|
420
|
+
));
|
|
421
|
+
const debuggerDisabledMessage = (debugType) => ( nls.localizeWithPath(
|
|
422
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
423
|
+
'debuggerDisabled',
|
|
424
|
+
"Configured debug type '{0}' is installed but not supported in this environment.",
|
|
425
|
+
debugType
|
|
268
426
|
));
|
|
269
|
-
const debuggerDisabledMessage = (debugType) => nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debuggerDisabled', "Configured debug type '{0}' is installed but not supported in this environment.", debugType);
|
|
270
427
|
const EDITOR_CONTRIBUTION_ID = 'editor.contrib.debug';
|
|
271
428
|
const BREAKPOINT_EDITOR_CONTRIBUTION_ID = 'editor.contrib.breakpoint';
|
|
272
429
|
const DEBUG_SCHEME = 'debug';
|
|
273
430
|
const INTERNAL_CONSOLE_OPTIONS_SCHEMA = {
|
|
274
431
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart'],
|
|
275
432
|
default: 'openOnFirstSessionStart',
|
|
276
|
-
description: nls.localizeWithPath(
|
|
433
|
+
description: ( nls.localizeWithPath(
|
|
434
|
+
'vs/workbench/contrib/debug/common/debug',
|
|
435
|
+
'internalConsoleOptions',
|
|
436
|
+
"Controls when the internal Debug Console should open."
|
|
437
|
+
))
|
|
277
438
|
};
|
|
278
439
|
function getStateLabel(state) {
|
|
279
440
|
switch (state) {
|