@codingame/monaco-vscode-api 1.83.1 → 1.83.3-next.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/extensions.d.ts +3 -3
- package/extensions.js +31 -33
- package/l10n.d.ts +4 -0
- package/l10n.js +10 -0
- package/missing-services.js +4 -2
- package/monaco-editor-treemending.patch +12268 -1070
- package/monaco-treemending.js +8 -2
- package/package.json +8 -1
- package/service-override/extensions.js +2 -2
- package/service-override/layout.js +2 -2
- package/tools/l10n.js +177 -0
- package/tools.js +22 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +2 -2
- package/vscode/src/vs/base/common/date.js +55 -55
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -10
- package/vscode/src/vs/base/common/tfIdf.js +137 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +23 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +115 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +112 -0
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +334 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +10 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -2
- package/vscode/src/vs/platform/files/common/fileService.js +28 -37
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/files/common/io.js +2 -2
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardConfig.js +3 -9
- package/vscode/src/vs/platform/quickinput/browser/commandsQuickAccess.js +300 -0
- package/vscode/src/vs/platform/quickinput/browser/helpQuickAccess.js +59 -0
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +212 -0
- package/vscode/src/vs/platform/request/common/request.js +2 -2
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -63
- package/vscode/src/vs/platform/workspaces/common/workspaces.js +15 -15
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +13 -32
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +50 -52
- package/vscode/src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +58 -69
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +4 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +38 -50
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystem.js +23 -23
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +21 -53
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +4 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +6 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -12
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +15 -9
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +16 -20
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +6 -28
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +60 -0
- package/vscode/src/vs/workbench/api/common/extHostChat.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +59 -65
- package/vscode/src/vs/workbench/api/common/extHostConsoleForwarder.js +8 -8
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +150 -222
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostProgress.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +54 -58
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +3 -7
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +55 -57
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +28 -28
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +265 -277
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +2 -7
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +17 -19
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +9 -34
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +5 -5
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +898 -68
- package/vscode/src/vs/workbench/browser/actions/quickAccessActions.js +7 -7
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +32 -38
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +103 -13
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +2 -2
- package/vscode/src/vs/workbench/browser/editor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +12 -27
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +2 -7
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +4 -7
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +42 -90
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +140 -272
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +115 -148
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +21 -33
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +7 -19
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -26
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +7 -17
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +60 -81
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +27 -33
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +19 -32
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +69 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +58 -34
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -9
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +7 -11
- package/vscode/src/vs/workbench/browser/quickaccess.js +7 -3
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +186 -683
- package/vscode/src/vs/workbench/common/configuration.js +12 -15
- package/vscode/src/vs/workbench/common/contextkeys.js +272 -90
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +2 -7
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +2 -6
- package/vscode/src/vs/workbench/common/editor.js +5 -5
- package/vscode/src/vs/workbench/common/theme.js +137 -527
- package/vscode/src/vs/workbench/common/views.js +4 -8
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +15 -55
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +3 -8
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +22 -60
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +9 -15
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.js +18 -48
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkFileEdits.js +58 -74
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +5 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +5 -13
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +8 -27
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +5 -17
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +7 -20
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint.js +63 -216
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +4 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoLineQuickAccess.js +5 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +8 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +5 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +3 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +3 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +10 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +6 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +3 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +19 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +26 -77
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -17
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +31 -40
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +10 -29
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +8 -8
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +25 -21
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +56 -98
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +96 -180
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -79
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -15
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -8
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +56 -19
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +76 -230
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -5
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -103
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +228 -99
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +5 -9
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +15 -35
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +5 -8
- package/vscode/src/vs/workbench/contrib/files/common/files.js +27 -48
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -6
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +5 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +112 -52
- package/vscode/src/vs/workbench/contrib/keybindings/browser/keybindings.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +30 -96
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +73 -126
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +42 -0
- package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +23 -29
- package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +3 -3
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/commandsQuickAccess.js +13 -16
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/quickAccess.contribution.js +15 -34
- package/vscode/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.js +12 -17
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +26 -75
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +4 -19
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +4 -4
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +60 -99
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -14
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +26 -13
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +88 -96
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +5 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -28
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +21 -78
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +21 -53
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +2 -5
- package/vscode/src/vs/workbench/services/actions/common/menusExtensionPoint.js +113 -348
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +2 -5
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -1
- package/vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js +1 -4
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -5
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +4 -4
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +27 -29
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +104 -141
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +35 -39
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.js +25 -25
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +80 -296
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +6 -21
- package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +3 -6
- package/vscode/src/vs/workbench/services/keybinding/browser/keybindingService.js +24 -81
- package/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.js +2 -2
- package/vscode/src/vs/workbench/services/keybinding/common/keybindingEditing.js +11 -17
- package/vscode/src/vs/workbench/services/keybinding/common/macLinuxKeyboardMapper.js +30 -32
- package/vscode/src/vs/workbench/services/language/common/languageService.js +23 -98
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +83 -95
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -5
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +11 -23
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -32
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +2 -7
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +2 -2
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +16 -53
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +50 -1
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +25 -99
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +16 -16
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +6 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +15 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopySaveParticipant.js +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +32 -42
|
@@ -10,354 +10,270 @@ 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(
|
|
14
14
|
'debugType',
|
|
15
|
-
|
|
16
|
-
)
|
|
15
|
+
undefined,
|
|
16
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugType', "Debug type of the active debug session. For example 'python'.") }
|
|
17
|
+
));
|
|
17
18
|
const CONTEXT_DEBUG_CONFIGURATION_TYPE = ( new RawContextKey(
|
|
18
19
|
'debugConfigurationType',
|
|
19
20
|
undefined,
|
|
20
|
-
{ type: 'string', description: (
|
|
21
|
-
'debugConfigurationType',
|
|
22
|
-
"Debug type of the selected launch configuration. For example 'python'."
|
|
23
|
-
)) }
|
|
21
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugConfigurationType', "Debug type of the selected launch configuration. For example 'python'.") }
|
|
24
22
|
));
|
|
25
|
-
const CONTEXT_DEBUG_STATE = ( new RawContextKey(
|
|
23
|
+
const CONTEXT_DEBUG_STATE = ( new RawContextKey(
|
|
26
24
|
'debugState',
|
|
27
|
-
|
|
28
|
-
)
|
|
25
|
+
'inactive',
|
|
26
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugState', "State that the focused debug session is in. One of the following: 'inactive', 'initializing', 'stopped' or 'running'.") }
|
|
27
|
+
));
|
|
29
28
|
const CONTEXT_DEBUG_UX_KEY = 'debugUx';
|
|
30
29
|
const CONTEXT_DEBUG_UX = ( new RawContextKey(
|
|
31
30
|
CONTEXT_DEBUG_UX_KEY,
|
|
32
31
|
'default',
|
|
33
|
-
{ type: 'string', description: (
|
|
34
|
-
'debugUX',
|
|
35
|
-
"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."
|
|
36
|
-
)) }
|
|
32
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugUX', "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.") }
|
|
37
33
|
));
|
|
38
|
-
const CONTEXT_HAS_DEBUGGED = ( new RawContextKey(
|
|
34
|
+
const CONTEXT_HAS_DEBUGGED = ( new RawContextKey(
|
|
39
35
|
'hasDebugged',
|
|
40
|
-
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
const
|
|
36
|
+
false,
|
|
37
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'hasDebugged', "True when a debug session has been started at least once, false otherwise.") }
|
|
38
|
+
));
|
|
39
|
+
const CONTEXT_IN_DEBUG_MODE = ( new RawContextKey(
|
|
40
|
+
'inDebugMode',
|
|
41
|
+
false,
|
|
42
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'inDebugMode', "True when debugging, false otherwise.") }
|
|
43
|
+
));
|
|
44
|
+
const CONTEXT_IN_DEBUG_REPL = ( new RawContextKey(
|
|
45
|
+
'inDebugRepl',
|
|
46
|
+
false,
|
|
47
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'inDebugRepl', "True when focus is in the debug console, false otherwise.") }
|
|
48
|
+
));
|
|
44
49
|
const CONTEXT_BREAKPOINT_WIDGET_VISIBLE = ( new RawContextKey(
|
|
45
50
|
'breakpointWidgetVisible',
|
|
46
51
|
false,
|
|
47
|
-
{ type: 'boolean', description: (
|
|
48
|
-
'breakpointWidgetVisibile',
|
|
49
|
-
"True when breakpoint editor zone widget is visible, false otherwise."
|
|
50
|
-
)) }
|
|
52
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointWidgetVisibile', "True when breakpoint editor zone widget is visible, false otherwise.") }
|
|
51
53
|
));
|
|
52
54
|
const CONTEXT_IN_BREAKPOINT_WIDGET = ( new RawContextKey(
|
|
53
55
|
'inBreakpointWidget',
|
|
54
56
|
false,
|
|
55
|
-
{ type: 'boolean', description: (
|
|
56
|
-
'inBreakpointWidget',
|
|
57
|
-
"True when focus is in the breakpoint editor zone widget, false otherwise."
|
|
58
|
-
)) }
|
|
57
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'inBreakpointWidget', "True when focus is in the breakpoint editor zone widget, false otherwise.") }
|
|
59
58
|
));
|
|
60
|
-
const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey(
|
|
59
|
+
const CONTEXT_BREAKPOINTS_FOCUSED = ( new RawContextKey(
|
|
61
60
|
'breakpointsFocused',
|
|
62
|
-
|
|
63
|
-
)
|
|
61
|
+
true,
|
|
62
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointsFocused', "True when the BREAKPOINTS view is focused, false otherwise.") }
|
|
63
|
+
));
|
|
64
64
|
const CONTEXT_WATCH_EXPRESSIONS_FOCUSED = ( new RawContextKey(
|
|
65
65
|
'watchExpressionsFocused',
|
|
66
66
|
true,
|
|
67
|
-
{ type: 'boolean', description: (
|
|
68
|
-
'watchExpressionsFocused',
|
|
69
|
-
"True when the WATCH view is focused, false otherwsie."
|
|
70
|
-
)) }
|
|
67
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchExpressionsFocused', "True when the WATCH view is focused, false otherwsie.") }
|
|
71
68
|
));
|
|
72
69
|
const CONTEXT_WATCH_EXPRESSIONS_EXIST = ( new RawContextKey(
|
|
73
70
|
'watchExpressionsExist',
|
|
74
71
|
false,
|
|
75
|
-
{ type: 'boolean', description: (
|
|
76
|
-
'watchExpressionsExist',
|
|
77
|
-
"True when at least one watch expression exists, false otherwise."
|
|
78
|
-
)) }
|
|
72
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchExpressionsExist', "True when at least one watch expression exists, false otherwise.") }
|
|
79
73
|
));
|
|
80
|
-
const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey(
|
|
74
|
+
const CONTEXT_VARIABLES_FOCUSED = ( new RawContextKey(
|
|
81
75
|
'variablesFocused',
|
|
82
|
-
|
|
83
|
-
)
|
|
76
|
+
true,
|
|
77
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variablesFocused', "True when the VARIABLES views is focused, false otherwsie") }
|
|
78
|
+
));
|
|
84
79
|
const CONTEXT_EXPRESSION_SELECTED = ( new RawContextKey(
|
|
85
80
|
'expressionSelected',
|
|
86
81
|
false,
|
|
87
|
-
{ type: 'boolean', description: (
|
|
88
|
-
'expressionSelected',
|
|
89
|
-
"True when an expression input box is open in either the WATCH or the VARIABLES view, false otherwise."
|
|
90
|
-
)) }
|
|
82
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'expressionSelected', "True when an expression input box is open in either the WATCH or the VARIABLES view, false otherwise.") }
|
|
91
83
|
));
|
|
92
84
|
const CONTEXT_BREAKPOINT_INPUT_FOCUSED = ( new RawContextKey(
|
|
93
85
|
'breakpointInputFocused',
|
|
94
86
|
false,
|
|
95
|
-
{ type: 'boolean', description: (
|
|
96
|
-
'breakpointInputFocused',
|
|
97
|
-
"True when the input box has focus in the BREAKPOINTS view."
|
|
98
|
-
)) }
|
|
87
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointInputFocused', "True when the input box has focus in the BREAKPOINTS view.") }
|
|
99
88
|
));
|
|
100
89
|
const CONTEXT_CALLSTACK_ITEM_TYPE = ( new RawContextKey(
|
|
101
90
|
'callStackItemType',
|
|
102
91
|
undefined,
|
|
103
|
-
{ type: 'string', description: (
|
|
104
|
-
'callStackItemType',
|
|
105
|
-
"Represents the item type of the focused element in the CALL STACK view. For example: 'session', 'thread', 'stackFrame'"
|
|
106
|
-
)) }
|
|
92
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackItemType', "Represents the item type of the focused element in the CALL STACK view. For example: 'session', 'thread', 'stackFrame'") }
|
|
107
93
|
));
|
|
108
94
|
const CONTEXT_CALLSTACK_SESSION_IS_ATTACH = ( new RawContextKey(
|
|
109
95
|
'callStackSessionIsAttach',
|
|
110
96
|
false,
|
|
111
|
-
{ type: 'boolean', description: (
|
|
112
|
-
'callStackSessionIsAttach',
|
|
113
|
-
"True when the session in the CALL STACK view is attach, false otherwise. Used internally for inline menus in the CALL STACK view."
|
|
114
|
-
)) }
|
|
97
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackSessionIsAttach', "True when the session in the CALL STACK view is attach, false otherwise. Used internally for inline menus in the CALL STACK view.") }
|
|
115
98
|
));
|
|
116
99
|
const CONTEXT_CALLSTACK_ITEM_STOPPED = ( new RawContextKey(
|
|
117
100
|
'callStackItemStopped',
|
|
118
101
|
false,
|
|
119
|
-
{ type: 'boolean', description: (
|
|
120
|
-
'callStackItemStopped',
|
|
121
|
-
"True when the focused item in the CALL STACK is stopped. Used internaly for inline menus in the CALL STACK view."
|
|
122
|
-
)) }
|
|
102
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackItemStopped', "True when the focused item in the CALL STACK is stopped. Used internaly for inline menus in the CALL STACK view.") }
|
|
123
103
|
));
|
|
124
104
|
const CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD = ( new RawContextKey(
|
|
125
105
|
'callStackSessionHasOneThread',
|
|
126
106
|
false,
|
|
127
|
-
{ type: 'boolean', description: (
|
|
128
|
-
'callStackSessionHasOneThread',
|
|
129
|
-
"True when the focused session in the CALL STACK view has exactly one thread. Used internally for inline menus in the CALL STACK view."
|
|
130
|
-
)) }
|
|
107
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'callStackSessionHasOneThread', "True when the focused session in the CALL STACK view has exactly one thread. Used internally for inline menus in the CALL STACK view.") }
|
|
131
108
|
));
|
|
132
|
-
const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey(
|
|
109
|
+
const CONTEXT_WATCH_ITEM_TYPE = ( new RawContextKey(
|
|
133
110
|
'watchItemType',
|
|
134
|
-
|
|
135
|
-
)
|
|
136
|
-
|
|
111
|
+
undefined,
|
|
112
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'watchItemType', "Represents the item type of the focused element in the WATCH view. For example: 'expression', 'variable'") }
|
|
113
|
+
));
|
|
114
|
+
const CONTEXT_CAN_VIEW_MEMORY = ( new RawContextKey(
|
|
137
115
|
'canViewMemory',
|
|
138
|
-
|
|
139
|
-
)
|
|
116
|
+
undefined,
|
|
117
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'canViewMemory', "Indicates whether the item in the view has an associated memory refrence.") }
|
|
118
|
+
));
|
|
140
119
|
const CONTEXT_BREAKPOINT_ITEM_TYPE = ( new RawContextKey(
|
|
141
120
|
'breakpointItemType',
|
|
142
121
|
undefined,
|
|
143
|
-
{ type: 'string', description: (
|
|
144
|
-
'breakpointItemType',
|
|
145
|
-
"Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'"
|
|
146
|
-
)) }
|
|
122
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointItemType', "Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'") }
|
|
147
123
|
));
|
|
148
124
|
const CONTEXT_BREAKPOINT_SUPPORTS_CONDITION = ( new RawContextKey(
|
|
149
125
|
'breakpointSupportsCondition',
|
|
150
126
|
false,
|
|
151
|
-
{ type: 'boolean', description: (
|
|
152
|
-
'breakpointSupportsCondition',
|
|
153
|
-
"True when the focused breakpoint supports conditions."
|
|
154
|
-
)) }
|
|
127
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointSupportsCondition', "True when the focused breakpoint supports conditions.") }
|
|
155
128
|
));
|
|
156
129
|
const CONTEXT_LOADED_SCRIPTS_SUPPORTED = ( new RawContextKey(
|
|
157
130
|
'loadedScriptsSupported',
|
|
158
131
|
false,
|
|
159
|
-
{ type: 'boolean', description:
|
|
160
|
-
'loadedScriptsSupported',
|
|
161
|
-
"True when the focused sessions supports the LOADED SCRIPTS view"
|
|
162
|
-
)) }
|
|
132
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'loadedScriptsSupported', "True when the focused sessions supports the LOADED SCRIPTS view") }
|
|
163
133
|
));
|
|
164
134
|
const CONTEXT_LOADED_SCRIPTS_ITEM_TYPE = ( new RawContextKey(
|
|
165
135
|
'loadedScriptsItemType',
|
|
166
136
|
undefined,
|
|
167
|
-
{ type: 'string', description: (
|
|
168
|
-
'loadedScriptsItemType',
|
|
169
|
-
"Represents the item type of the focused element in the LOADED SCRIPTS view."
|
|
170
|
-
)) }
|
|
137
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'loadedScriptsItemType', "Represents the item type of the focused element in the LOADED SCRIPTS view.") }
|
|
171
138
|
));
|
|
172
139
|
const CONTEXT_FOCUSED_SESSION_IS_ATTACH = ( new RawContextKey(
|
|
173
140
|
'focusedSessionIsAttach',
|
|
174
141
|
false,
|
|
175
|
-
{ type: 'boolean', description:
|
|
142
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'focusedSessionIsAttach', "True when the focused session is 'attach'.") }
|
|
176
143
|
));
|
|
177
|
-
const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey(
|
|
144
|
+
const CONTEXT_STEP_BACK_SUPPORTED = ( new RawContextKey(
|
|
178
145
|
'stepBackSupported',
|
|
179
|
-
|
|
180
|
-
)
|
|
146
|
+
false,
|
|
147
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stepBackSupported', "True when the focused session supports 'stepBack' requests.") }
|
|
148
|
+
));
|
|
181
149
|
const CONTEXT_RESTART_FRAME_SUPPORTED = ( new RawContextKey(
|
|
182
150
|
'restartFrameSupported',
|
|
183
151
|
false,
|
|
184
|
-
{ type: 'boolean', description: (
|
|
185
|
-
'restartFrameSupported',
|
|
186
|
-
"True when the focused session supports 'restartFrame' requests."
|
|
187
|
-
)) }
|
|
152
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'restartFrameSupported', "True when the focused session supports 'restartFrame' requests.") }
|
|
188
153
|
));
|
|
189
154
|
const CONTEXT_STACK_FRAME_SUPPORTS_RESTART = ( new RawContextKey(
|
|
190
155
|
'stackFrameSupportsRestart',
|
|
191
156
|
false,
|
|
192
|
-
{ type: 'boolean', description: (
|
|
193
|
-
'stackFrameSupportsRestart',
|
|
194
|
-
"True when the focused stack frame suppots 'restartFrame'."
|
|
195
|
-
)) }
|
|
157
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stackFrameSupportsRestart', "True when the focused stack frame suppots 'restartFrame'.") }
|
|
196
158
|
));
|
|
197
159
|
const CONTEXT_JUMP_TO_CURSOR_SUPPORTED = ( new RawContextKey(
|
|
198
160
|
'jumpToCursorSupported',
|
|
199
161
|
false,
|
|
200
|
-
{ type: 'boolean', description: (
|
|
201
|
-
'jumpToCursorSupported',
|
|
202
|
-
"True when the focused session supports 'jumpToCursor' request."
|
|
203
|
-
)) }
|
|
162
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'jumpToCursorSupported', "True when the focused session supports 'jumpToCursor' request.") }
|
|
204
163
|
));
|
|
205
164
|
const CONTEXT_STEP_INTO_TARGETS_SUPPORTED = ( new RawContextKey(
|
|
206
165
|
'stepIntoTargetsSupported',
|
|
207
166
|
false,
|
|
208
|
-
{ type: 'boolean', description: (
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
167
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'stepIntoTargetsSupported', "True when the focused session supports 'stepIntoTargets' request.") }
|
|
168
|
+
));
|
|
169
|
+
const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey(
|
|
170
|
+
'breakpointsExist',
|
|
171
|
+
false,
|
|
172
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakpointsExist', "True when at least one breakpoint exists.") }
|
|
212
173
|
));
|
|
213
|
-
const CONTEXT_BREAKPOINTS_EXIST = ( new RawContextKey('breakpointsExist', false, { type: 'boolean', description: ( nls.localize('breakpointsExist', "True when at least one breakpoint exists.")) }));
|
|
214
174
|
const CONTEXT_DEBUGGERS_AVAILABLE = ( new RawContextKey(
|
|
215
175
|
'debuggersAvailable',
|
|
216
176
|
false,
|
|
217
|
-
{ type: 'boolean', description: (
|
|
218
|
-
'debuggersAvailable',
|
|
219
|
-
"True when there is at least one debug extensions active."
|
|
220
|
-
)) }
|
|
177
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debuggersAvailable', "True when there is at least one debug extensions active.") }
|
|
221
178
|
));
|
|
222
179
|
const CONTEXT_DEBUG_EXTENSION_AVAILABLE = ( new RawContextKey(
|
|
223
180
|
'debugExtensionAvailable',
|
|
224
181
|
true,
|
|
225
|
-
{ type: 'boolean', description: (
|
|
226
|
-
'debugExtensionsAvailable',
|
|
227
|
-
"True when there is at least one debug extension installed and enabled."
|
|
228
|
-
)) }
|
|
182
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugExtensionsAvailable', "True when there is at least one debug extension installed and enabled.") }
|
|
229
183
|
));
|
|
230
184
|
const CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT = ( new RawContextKey(
|
|
231
185
|
'debugProtocolVariableMenuContext',
|
|
232
186
|
undefined,
|
|
233
|
-
{ type: 'string', description: (
|
|
234
|
-
'debugProtocolVariableMenuContext',
|
|
235
|
-
"Represents the context the debug adapter sets on the focused variable in the VARIABLES view."
|
|
236
|
-
)) }
|
|
187
|
+
{ type: 'string', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugProtocolVariableMenuContext', "Represents the context the debug adapter sets on the focused variable in the VARIABLES view.") }
|
|
237
188
|
));
|
|
238
189
|
const CONTEXT_SET_VARIABLE_SUPPORTED = ( new RawContextKey(
|
|
239
190
|
'debugSetVariableSupported',
|
|
240
191
|
false,
|
|
241
|
-
{ type: 'boolean', description: (
|
|
242
|
-
'debugSetVariableSupported',
|
|
243
|
-
"True when the focused session supports 'setVariable' request."
|
|
244
|
-
)) }
|
|
192
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugSetVariableSupported', "True when the focused session supports 'setVariable' request.") }
|
|
245
193
|
));
|
|
246
194
|
const CONTEXT_SET_EXPRESSION_SUPPORTED = ( new RawContextKey(
|
|
247
195
|
'debugSetExpressionSupported',
|
|
248
196
|
false,
|
|
249
|
-
{ type: 'boolean', description: (
|
|
250
|
-
'debugSetExpressionSupported',
|
|
251
|
-
"True when the focused session supports 'setExpression' request."
|
|
252
|
-
)) }
|
|
197
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'debugSetExpressionSupported', "True when the focused session supports 'setExpression' request.") }
|
|
253
198
|
));
|
|
254
199
|
const CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED = ( new RawContextKey(
|
|
255
200
|
'breakWhenValueChangesSupported',
|
|
256
201
|
false,
|
|
257
|
-
{ type: 'boolean', description: (
|
|
258
|
-
'breakWhenValueChangesSupported',
|
|
259
|
-
"True when the focused session supports to break when value changes."
|
|
260
|
-
)) }
|
|
202
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakWhenValueChangesSupported', "True when the focused session supports to break when value changes.") }
|
|
261
203
|
));
|
|
262
204
|
const CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED = ( new RawContextKey(
|
|
263
205
|
'breakWhenValueIsAccessedSupported',
|
|
264
206
|
false,
|
|
265
|
-
{ type: 'boolean', description: (
|
|
266
|
-
'breakWhenValueIsAccessedSupported',
|
|
267
|
-
"True when the focused breakpoint supports to break when value is accessed."
|
|
268
|
-
)) }
|
|
207
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakWhenValueIsAccessedSupported', "True when the focused breakpoint supports to break when value is accessed.") }
|
|
269
208
|
));
|
|
270
209
|
const CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED = ( new RawContextKey(
|
|
271
210
|
'breakWhenValueIsReadSupported',
|
|
272
211
|
false,
|
|
273
|
-
{ type: 'boolean', description: (
|
|
274
|
-
'breakWhenValueIsReadSupported',
|
|
275
|
-
"True when the focused breakpoint supports to break when value is read."
|
|
276
|
-
)) }
|
|
212
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'breakWhenValueIsReadSupported', "True when the focused breakpoint supports to break when value is read.") }
|
|
277
213
|
));
|
|
278
214
|
const CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED = ( new RawContextKey(
|
|
279
215
|
'terminateDebuggeeSupported',
|
|
280
216
|
false,
|
|
281
|
-
{ type: 'boolean', description: (
|
|
282
|
-
'terminateDebuggeeSupported',
|
|
283
|
-
"True when the focused session supports the terminate debuggee capability."
|
|
284
|
-
)) }
|
|
217
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'terminateDebuggeeSupported', "True when the focused session supports the terminate debuggee capability.") }
|
|
285
218
|
));
|
|
286
219
|
const CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED = ( new RawContextKey(
|
|
287
220
|
'suspendDebuggeeSupported',
|
|
288
221
|
false,
|
|
289
|
-
{ type: 'boolean', description: (
|
|
290
|
-
'suspendDebuggeeSupported',
|
|
291
|
-
"True when the focused session supports the suspend debuggee capability."
|
|
292
|
-
)) }
|
|
222
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'suspendDebuggeeSupported', "True when the focused session supports the suspend debuggee capability.") }
|
|
293
223
|
));
|
|
294
224
|
const CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT = ( new RawContextKey(
|
|
295
225
|
'variableEvaluateNamePresent',
|
|
296
226
|
false,
|
|
297
|
-
{ type: 'boolean', description: (
|
|
298
|
-
'variableEvaluateNamePresent',
|
|
299
|
-
"True when the focused variable has an 'evalauteName' field set."
|
|
300
|
-
)) }
|
|
227
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variableEvaluateNamePresent', "True when the focused variable has an 'evalauteName' field set.") }
|
|
301
228
|
));
|
|
302
229
|
const CONTEXT_VARIABLE_IS_READONLY = ( new RawContextKey(
|
|
303
230
|
'variableIsReadonly',
|
|
304
231
|
false,
|
|
305
|
-
{ type: 'boolean', description:
|
|
232
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'variableIsReadonly', "True when the focused variable is read-only.") }
|
|
306
233
|
));
|
|
307
234
|
const CONTEXT_EXCEPTION_WIDGET_VISIBLE = ( new RawContextKey(
|
|
308
235
|
'exceptionWidgetVisible',
|
|
309
236
|
false,
|
|
310
|
-
{ type: 'boolean', description:
|
|
237
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'exceptionWidgetVisible', "True when the exception widget is visible.") }
|
|
238
|
+
));
|
|
239
|
+
const CONTEXT_MULTI_SESSION_REPL = ( new RawContextKey(
|
|
240
|
+
'multiSessionRepl',
|
|
241
|
+
false,
|
|
242
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'multiSessionRepl', "True when there is more than 1 debug console.") }
|
|
311
243
|
));
|
|
312
|
-
const
|
|
313
|
-
const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey('multiSessionDebug', false, { type: 'boolean', description: ( nls.localize(
|
|
244
|
+
const CONTEXT_MULTI_SESSION_DEBUG = ( new RawContextKey(
|
|
314
245
|
'multiSessionDebug',
|
|
315
|
-
|
|
316
|
-
)
|
|
246
|
+
false,
|
|
247
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'multiSessionDebug', "True when there is more than 1 active debug session.") }
|
|
248
|
+
));
|
|
317
249
|
const CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED = ( new RawContextKey(
|
|
318
250
|
'disassembleRequestSupported',
|
|
319
251
|
false,
|
|
320
|
-
{ type: 'boolean', description: (
|
|
321
|
-
'disassembleRequestSupported',
|
|
322
|
-
"True when the focused sessions supports disassemble request."
|
|
323
|
-
)) }
|
|
252
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'disassembleRequestSupported', "True when the focused sessions supports disassemble request.") }
|
|
324
253
|
));
|
|
325
254
|
const CONTEXT_DISASSEMBLY_VIEW_FOCUS = ( new RawContextKey(
|
|
326
255
|
'disassemblyViewFocus',
|
|
327
256
|
false,
|
|
328
|
-
{ type: 'boolean', description:
|
|
257
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'disassemblyViewFocus', "True when the Disassembly View is focused.") }
|
|
329
258
|
));
|
|
330
259
|
const CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST = ( new RawContextKey(
|
|
331
260
|
'languageSupportsDisassembleRequest',
|
|
332
261
|
false,
|
|
333
|
-
{ type: 'boolean', description: (
|
|
334
|
-
'languageSupportsDisassembleRequest',
|
|
335
|
-
"True when the language in the current editor supports disassemble request."
|
|
336
|
-
)) }
|
|
262
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'languageSupportsDisassembleRequest', "True when the language in the current editor supports disassemble request.") }
|
|
337
263
|
));
|
|
338
264
|
const CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE = ( new RawContextKey(
|
|
339
265
|
'focusedStackFrameHasInstructionReference',
|
|
340
266
|
false,
|
|
341
|
-
{ type: 'boolean', description: (
|
|
342
|
-
'focusedStackFrameHasInstructionReference',
|
|
343
|
-
"True when the focused stack frame has instruction pointer reference."
|
|
344
|
-
)) }
|
|
345
|
-
));
|
|
346
|
-
const debuggerDisabledMessage = (debugType) => ( nls.localize(
|
|
347
|
-
'debuggerDisabled',
|
|
348
|
-
"Configured debug type '{0}' is installed but not supported in this environment.",
|
|
349
|
-
debugType
|
|
267
|
+
{ type: 'boolean', description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'focusedStackFrameHasInstructionReference', "True when the focused stack frame has instruction pointer reference.") }
|
|
350
268
|
));
|
|
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);
|
|
351
270
|
const EDITOR_CONTRIBUTION_ID = 'editor.contrib.debug';
|
|
352
271
|
const BREAKPOINT_EDITOR_CONTRIBUTION_ID = 'editor.contrib.breakpoint';
|
|
353
272
|
const DEBUG_SCHEME = 'debug';
|
|
354
273
|
const INTERNAL_CONSOLE_OPTIONS_SCHEMA = {
|
|
355
274
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart'],
|
|
356
275
|
default: 'openOnFirstSessionStart',
|
|
357
|
-
description: (
|
|
358
|
-
'internalConsoleOptions',
|
|
359
|
-
"Controls when the internal Debug Console should open."
|
|
360
|
-
))
|
|
276
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/common/debug', 'internalConsoleOptions', "Controls when the internal Debug Console should open.")
|
|
361
277
|
};
|
|
362
278
|
function getStateLabel(state) {
|
|
363
279
|
switch (state) {
|
|
@@ -1,82 +1,28 @@
|
|
|
1
1
|
import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
2
|
-
import {
|
|
2
|
+
import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
|
|
3
3
|
import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
|
|
4
|
-
registerIcon('extensions-view-icon', Codicon.extensions, (
|
|
5
|
-
const manageExtensionIcon = registerIcon('extensions-manage', Codicon.gear, (
|
|
6
|
-
'
|
|
7
|
-
'Icon for the \'
|
|
8
|
-
))
|
|
9
|
-
registerIcon('extensions-
|
|
10
|
-
'
|
|
11
|
-
'Icon for the \'
|
|
12
|
-
))
|
|
13
|
-
registerIcon('extensions-
|
|
14
|
-
|
|
15
|
-
registerIcon('extensions-install-
|
|
16
|
-
'
|
|
17
|
-
'Icon for the
|
|
18
|
-
))
|
|
19
|
-
registerIcon('extensions-
|
|
20
|
-
'
|
|
21
|
-
|
|
22
|
-
))
|
|
23
|
-
registerIcon('extensions-
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
))
|
|
27
|
-
|
|
28
|
-
const syncIgnoredIcon = registerIcon('extensions-sync-ignored', Codicon.syncIgnored, ( localize(
|
|
29
|
-
'syncIgnoredIcon',
|
|
30
|
-
'Icon to indicate that an extension is ignored when syncing.'
|
|
31
|
-
)));
|
|
32
|
-
registerIcon('extensions-remote', Codicon.remote, ( localize(
|
|
33
|
-
'remoteIcon',
|
|
34
|
-
'Icon to indicate that an extension is remote in the extensions view and editor.'
|
|
35
|
-
)));
|
|
36
|
-
registerIcon('extensions-install-count', Codicon.cloudDownload, ( localize(
|
|
37
|
-
'installCountIcon',
|
|
38
|
-
'Icon shown along with the install count in the extensions view and editor.'
|
|
39
|
-
)));
|
|
40
|
-
registerIcon('extensions-rating', Codicon.star, ( localize(
|
|
41
|
-
'ratingIcon',
|
|
42
|
-
'Icon shown along with the rating in the extensions view and editor.'
|
|
43
|
-
)));
|
|
44
|
-
registerIcon('extensions-verified-publisher', Codicon.verifiedFilled, ( localize(
|
|
45
|
-
'verifiedPublisher',
|
|
46
|
-
'Icon used for the verified extension publisher in the extensions view and editor.'
|
|
47
|
-
)));
|
|
48
|
-
const preReleaseIcon = registerIcon('extensions-pre-release', Codicon.versions, ( localize(
|
|
49
|
-
'preReleaseIcon',
|
|
50
|
-
'Icon shown for extensions having pre-release versions in extensions view and editor.'
|
|
51
|
-
)));
|
|
52
|
-
registerIcon('extensions-sponsor', Codicon.heartFilled, ( localize(
|
|
53
|
-
'sponsorIcon',
|
|
54
|
-
'Icon used for sponsoring extensions in the extensions view and editor.'
|
|
55
|
-
)));
|
|
56
|
-
registerIcon('extensions-star-full', Codicon.starFull, ( localize(
|
|
57
|
-
'starFullIcon',
|
|
58
|
-
'Full star icon used for the rating in the extensions editor.'
|
|
59
|
-
)));
|
|
60
|
-
registerIcon('extensions-star-half', Codicon.starHalf, ( localize(
|
|
61
|
-
'starHalfIcon',
|
|
62
|
-
'Half star icon used for the rating in the extensions editor.'
|
|
63
|
-
)));
|
|
64
|
-
registerIcon('extensions-star-empty', Codicon.starEmpty, ( localize(
|
|
65
|
-
'starEmptyIcon',
|
|
66
|
-
'Empty star icon used for the rating in the extensions editor.'
|
|
67
|
-
)));
|
|
68
|
-
const errorIcon = registerIcon('extensions-error-message', Codicon.error, ( localize('errorIcon', 'Icon shown with a error message in the extensions editor.')));
|
|
69
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, ( localize(
|
|
70
|
-
'warningIcon',
|
|
71
|
-
'Icon shown with a warning message in the extensions editor.'
|
|
72
|
-
)));
|
|
73
|
-
const infoIcon = registerIcon('extensions-info-message', Codicon.info, ( localize('infoIcon', 'Icon shown with an info message in the extensions editor.')));
|
|
74
|
-
const trustIcon = registerIcon('extension-workspace-trust', Codicon.shield, ( localize(
|
|
75
|
-
'trustIcon',
|
|
76
|
-
'Icon shown with a workspace trust message in the extension editor.'
|
|
77
|
-
)));
|
|
78
|
-
registerIcon('extension-activation-time', Codicon.history, ( localize(
|
|
79
|
-
'activationtimeIcon',
|
|
80
|
-
'Icon shown with a activation time message in the extension editor.'
|
|
81
|
-
)));
|
|
4
|
+
registerIcon('extensions-view-icon', Codicon.extensions, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'extensionsViewIcon', 'View icon of the extensions view.'));
|
|
5
|
+
const manageExtensionIcon = registerIcon('extensions-manage', Codicon.gear, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'manageExtensionIcon', 'Icon for the \'Manage\' action in the extensions view.'));
|
|
6
|
+
registerIcon('extensions-clear-search-results', Codicon.clearAll, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'clearSearchResultsIcon', 'Icon for the \'Clear Search Result\' action in the extensions view.'));
|
|
7
|
+
registerIcon('extensions-refresh', Codicon.refresh, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'refreshIcon', 'Icon for the \'Refresh\' action in the extensions view.'));
|
|
8
|
+
const filterIcon = registerIcon('extensions-filter', Codicon.filter, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'filterIcon', 'Icon for the \'Filter\' action in the extensions view.'));
|
|
9
|
+
registerIcon('extensions-install-local-in-remote', Codicon.cloudDownload, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'installLocalInRemoteIcon', 'Icon for the \'Install Local Extension in Remote\' action in the extensions view.'));
|
|
10
|
+
registerIcon('extensions-install-workspace-recommended', Codicon.cloudDownload, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'installWorkspaceRecommendedIcon', 'Icon for the \'Install Workspace Recommended Extensions\' action in the extensions view.'));
|
|
11
|
+
registerIcon('extensions-configure-recommended', Codicon.pencil, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'configureRecommendedIcon', 'Icon for the \'Configure Recommended Extensions\' action in the extensions view.'));
|
|
12
|
+
const syncEnabledIcon = registerIcon('extensions-sync-enabled', Codicon.sync, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'syncEnabledIcon', 'Icon to indicate that an extension is synced.'));
|
|
13
|
+
const syncIgnoredIcon = registerIcon('extensions-sync-ignored', Codicon.syncIgnored, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'syncIgnoredIcon', 'Icon to indicate that an extension is ignored when syncing.'));
|
|
14
|
+
registerIcon('extensions-remote', Codicon.remote, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'remoteIcon', 'Icon to indicate that an extension is remote in the extensions view and editor.'));
|
|
15
|
+
registerIcon('extensions-install-count', Codicon.cloudDownload, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'installCountIcon', 'Icon shown along with the install count in the extensions view and editor.'));
|
|
16
|
+
registerIcon('extensions-rating', Codicon.star, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'ratingIcon', 'Icon shown along with the rating in the extensions view and editor.'));
|
|
17
|
+
registerIcon('extensions-verified-publisher', Codicon.verifiedFilled, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'verifiedPublisher', 'Icon used for the verified extension publisher in the extensions view and editor.'));
|
|
18
|
+
const preReleaseIcon = registerIcon('extensions-pre-release', Codicon.versions, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'preReleaseIcon', 'Icon shown for extensions having pre-release versions in extensions view and editor.'));
|
|
19
|
+
registerIcon('extensions-sponsor', Codicon.heartFilled, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'sponsorIcon', 'Icon used for sponsoring extensions in the extensions view and editor.'));
|
|
20
|
+
registerIcon('extensions-star-full', Codicon.starFull, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'starFullIcon', 'Full star icon used for the rating in the extensions editor.'));
|
|
21
|
+
registerIcon('extensions-star-half', Codicon.starHalf, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'starHalfIcon', 'Half star icon used for the rating in the extensions editor.'));
|
|
22
|
+
registerIcon('extensions-star-empty', Codicon.starEmpty, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'starEmptyIcon', 'Empty star icon used for the rating in the extensions editor.'));
|
|
23
|
+
const errorIcon = registerIcon('extensions-error-message', Codicon.error, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'errorIcon', 'Icon shown with a error message in the extensions editor.'));
|
|
24
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'warningIcon', 'Icon shown with a warning message in the extensions editor.'));
|
|
25
|
+
const infoIcon = registerIcon('extensions-info-message', Codicon.info, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'infoIcon', 'Icon shown with an info message in the extensions editor.'));
|
|
26
|
+
const trustIcon = registerIcon('extension-workspace-trust', Codicon.shield, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'trustIcon', 'Icon shown with a workspace trust message in the extension editor.'));
|
|
27
|
+
registerIcon('extension-activation-time', Codicon.history, localizeWithPath('vs/workbench/contrib/extensions/browser/extensionsIcons', 'activationtimeIcon', 'Icon shown with a activation time message in the extension editor.'));
|
|
82
28
|
export { errorIcon, filterIcon, infoIcon, manageExtensionIcon, preReleaseIcon, syncEnabledIcon, syncIgnoredIcon, trustIcon, warningIcon };
|
|
@@ -24,10 +24,7 @@ const externalUriOpenersConfigurationNode = {
|
|
|
24
24
|
properties: {
|
|
25
25
|
[externalUriOpenersSettingId]: {
|
|
26
26
|
type: 'object',
|
|
27
|
-
markdownDescription: (
|
|
28
|
-
'externalUriOpeners',
|
|
29
|
-
"Configure the opener to use for external URIs (http, https)."
|
|
30
|
-
)),
|
|
27
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners', "Configure the opener to use for external URIs (http, https)."),
|
|
31
28
|
defaultSnippets: [{
|
|
32
29
|
body: {
|
|
33
30
|
'example.com': '$1'
|
|
@@ -37,21 +34,13 @@ const externalUriOpenersConfigurationNode = {
|
|
|
37
34
|
anyOf: [
|
|
38
35
|
{
|
|
39
36
|
type: 'string',
|
|
40
|
-
markdownDescription: (
|
|
41
|
-
'externalUriOpeners.uri',
|
|
42
|
-
"Map URI pattern to an opener id.\nExample patterns: \n{0}",
|
|
43
|
-
exampleUriPatterns
|
|
44
|
-
)),
|
|
37
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners.uri', "Map URI pattern to an opener id.\nExample patterns: \n{0}", exampleUriPatterns),
|
|
45
38
|
},
|
|
46
39
|
{
|
|
47
40
|
type: 'string',
|
|
48
|
-
markdownDescription: (
|
|
49
|
-
'externalUriOpeners.uri',
|
|
50
|
-
"Map URI pattern to an opener id.\nExample patterns: \n{0}",
|
|
51
|
-
exampleUriPatterns
|
|
52
|
-
)),
|
|
41
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners.uri', "Map URI pattern to an opener id.\nExample patterns: \n{0}", exampleUriPatterns),
|
|
53
42
|
enum: [defaultExternalUriOpenerId],
|
|
54
|
-
enumDescriptions: [
|
|
43
|
+
enumDescriptions: [nls.localizeWithPath('vs/workbench/contrib/externalUriOpener/common/configuration', 'externalUriOpeners.defaultId', "Open using VS Code's standard opener.")],
|
|
55
44
|
},
|
|
56
45
|
externalUriOpenerIdSchemaAddition
|
|
57
46
|
]
|