@codingame/monaco-vscode-api 8.0.2 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/editor.api.d.ts +91 -69
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
|
-
const debugConsoleViewIcon = registerIcon('debug-console-view-icon', Codicon.debugConsole, ( localize(
|
|
5
|
-
const runViewIcon = registerIcon('run-view-icon', Codicon.debugAlt, ( localize(
|
|
6
|
-
const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, ( localize(
|
|
7
|
-
const watchViewIcon = registerIcon('watch-view-icon', Codicon.debugAlt, ( localize(
|
|
8
|
-
const callStackViewIcon = registerIcon('callstack-view-icon', Codicon.debugAlt, ( localize(
|
|
9
|
-
const breakpointsViewIcon = registerIcon('breakpoints-view-icon', Codicon.debugAlt, ( localize(
|
|
10
|
-
const loadedScriptsViewIcon = registerIcon('loaded-scripts-view-icon', Codicon.debugAlt, ( localize(
|
|
4
|
+
const debugConsoleViewIcon = registerIcon('debug-console-view-icon', Codicon.debugConsole, ( localize(5974, 'View icon of the debug console view.')));
|
|
5
|
+
const runViewIcon = registerIcon('run-view-icon', Codicon.debugAlt, ( localize(5975, 'View icon of the run view.')));
|
|
6
|
+
const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, ( localize(5976, 'View icon of the variables view.')));
|
|
7
|
+
const watchViewIcon = registerIcon('watch-view-icon', Codicon.debugAlt, ( localize(5977, 'View icon of the watch view.')));
|
|
8
|
+
const callStackViewIcon = registerIcon('callstack-view-icon', Codicon.debugAlt, ( localize(5978, 'View icon of the call stack view.')));
|
|
9
|
+
const breakpointsViewIcon = registerIcon('breakpoints-view-icon', Codicon.debugAlt, ( localize(5979, 'View icon of the breakpoints view.')));
|
|
10
|
+
const loadedScriptsViewIcon = registerIcon('loaded-scripts-view-icon', Codicon.debugAlt, ( localize(5980, 'View icon of the loaded scripts view.')));
|
|
11
11
|
const breakpoint = {
|
|
12
|
-
regular: registerIcon('debug-breakpoint', Codicon.debugBreakpoint, ( localize(
|
|
13
|
-
disabled: registerIcon('debug-breakpoint-disabled', Codicon.debugBreakpointDisabled, ( localize(
|
|
14
|
-
unverified: registerIcon('debug-breakpoint-unverified', Codicon.debugBreakpointUnverified, ( localize(
|
|
15
|
-
pending: registerIcon('debug-breakpoint-pending', Codicon.debugBreakpointPending, ( localize(
|
|
12
|
+
regular: registerIcon('debug-breakpoint', Codicon.debugBreakpoint, ( localize(5981, 'Icon for breakpoints.'))),
|
|
13
|
+
disabled: registerIcon('debug-breakpoint-disabled', Codicon.debugBreakpointDisabled, ( localize(5982, 'Icon for disabled breakpoints.'))),
|
|
14
|
+
unverified: registerIcon('debug-breakpoint-unverified', Codicon.debugBreakpointUnverified, ( localize(5983, 'Icon for unverified breakpoints.'))),
|
|
15
|
+
pending: registerIcon('debug-breakpoint-pending', Codicon.debugBreakpointPending, ( localize(5984, 'Icon for breakpoints waiting on another breakpoint.'))),
|
|
16
16
|
};
|
|
17
17
|
const functionBreakpoint = {
|
|
18
|
-
regular: registerIcon('debug-breakpoint-function', Codicon.debugBreakpointFunction, ( localize(
|
|
19
|
-
disabled: registerIcon('debug-breakpoint-function-disabled', Codicon.debugBreakpointFunctionDisabled, ( localize(
|
|
20
|
-
unverified: registerIcon('debug-breakpoint-function-unverified', Codicon.debugBreakpointFunctionUnverified, ( localize(
|
|
18
|
+
regular: registerIcon('debug-breakpoint-function', Codicon.debugBreakpointFunction, ( localize(5985, 'Icon for function breakpoints.'))),
|
|
19
|
+
disabled: registerIcon('debug-breakpoint-function-disabled', Codicon.debugBreakpointFunctionDisabled, ( localize(5986, 'Icon for disabled function breakpoints.'))),
|
|
20
|
+
unverified: registerIcon('debug-breakpoint-function-unverified', Codicon.debugBreakpointFunctionUnverified, ( localize(5987, 'Icon for unverified function breakpoints.')))
|
|
21
21
|
};
|
|
22
22
|
const conditionalBreakpoint = {
|
|
23
|
-
regular: registerIcon('debug-breakpoint-conditional', Codicon.debugBreakpointConditional, ( localize(
|
|
24
|
-
disabled: registerIcon('debug-breakpoint-conditional-disabled', Codicon.debugBreakpointConditionalDisabled, ( localize(
|
|
25
|
-
unverified: registerIcon('debug-breakpoint-conditional-unverified', Codicon.debugBreakpointConditionalUnverified, ( localize(
|
|
23
|
+
regular: registerIcon('debug-breakpoint-conditional', Codicon.debugBreakpointConditional, ( localize(5988, 'Icon for conditional breakpoints.'))),
|
|
24
|
+
disabled: registerIcon('debug-breakpoint-conditional-disabled', Codicon.debugBreakpointConditionalDisabled, ( localize(5989, 'Icon for disabled conditional breakpoints.'))),
|
|
25
|
+
unverified: registerIcon('debug-breakpoint-conditional-unverified', Codicon.debugBreakpointConditionalUnverified, ( localize(5990, 'Icon for unverified conditional breakpoints.')))
|
|
26
26
|
};
|
|
27
27
|
const dataBreakpoint = {
|
|
28
|
-
regular: registerIcon('debug-breakpoint-data', Codicon.debugBreakpointData, ( localize(
|
|
29
|
-
disabled: registerIcon('debug-breakpoint-data-disabled', Codicon.debugBreakpointDataDisabled, ( localize(
|
|
30
|
-
unverified: registerIcon('debug-breakpoint-data-unverified', Codicon.debugBreakpointDataUnverified, ( localize(
|
|
28
|
+
regular: registerIcon('debug-breakpoint-data', Codicon.debugBreakpointData, ( localize(5991, 'Icon for data breakpoints.'))),
|
|
29
|
+
disabled: registerIcon('debug-breakpoint-data-disabled', Codicon.debugBreakpointDataDisabled, ( localize(5992, 'Icon for disabled data breakpoints.'))),
|
|
30
|
+
unverified: registerIcon('debug-breakpoint-data-unverified', Codicon.debugBreakpointDataUnverified, ( localize(5993, 'Icon for unverified data breakpoints.'))),
|
|
31
31
|
};
|
|
32
32
|
const logBreakpoint = {
|
|
33
|
-
regular: registerIcon('debug-breakpoint-log', Codicon.debugBreakpointLog, ( localize(
|
|
34
|
-
disabled: registerIcon('debug-breakpoint-log-disabled', Codicon.debugBreakpointLogDisabled, ( localize(
|
|
35
|
-
unverified: registerIcon('debug-breakpoint-log-unverified', Codicon.debugBreakpointLogUnverified, ( localize(
|
|
33
|
+
regular: registerIcon('debug-breakpoint-log', Codicon.debugBreakpointLog, ( localize(5994, 'Icon for log breakpoints.'))),
|
|
34
|
+
disabled: registerIcon('debug-breakpoint-log-disabled', Codicon.debugBreakpointLogDisabled, ( localize(5995, 'Icon for disabled log breakpoint.'))),
|
|
35
|
+
unverified: registerIcon('debug-breakpoint-log-unverified', Codicon.debugBreakpointLogUnverified, ( localize(5996, 'Icon for unverified log breakpoints.'))),
|
|
36
36
|
};
|
|
37
|
-
const debugBreakpointHint = registerIcon('debug-hint', Codicon.debugHint, ( localize(
|
|
38
|
-
const debugBreakpointUnsupported = registerIcon('debug-breakpoint-unsupported', Codicon.debugBreakpointUnsupported, ( localize(
|
|
37
|
+
const debugBreakpointHint = registerIcon('debug-hint', Codicon.debugHint, ( localize(5997, 'Icon for breakpoint hints shown on hover in editor glyph margin.')));
|
|
38
|
+
const debugBreakpointUnsupported = registerIcon('debug-breakpoint-unsupported', Codicon.debugBreakpointUnsupported, ( localize(5998, 'Icon for unsupported breakpoints.')));
|
|
39
39
|
const allBreakpoints = [breakpoint, functionBreakpoint, conditionalBreakpoint, dataBreakpoint, logBreakpoint];
|
|
40
|
-
const debugStackframe = registerIcon('debug-stackframe', Codicon.debugStackframe, ( localize(
|
|
41
|
-
const debugStackframeFocused = registerIcon('debug-stackframe-focused', Codicon.debugStackframeFocused, ( localize(
|
|
42
|
-
const debugGripper = registerIcon('debug-gripper', Codicon.gripper, ( localize(
|
|
43
|
-
const debugRestartFrame = registerIcon('debug-restart-frame', Codicon.debugRestartFrame, ( localize(
|
|
44
|
-
const debugStop = registerIcon('debug-stop', Codicon.debugStop, ( localize(
|
|
45
|
-
const debugDisconnect = registerIcon('debug-disconnect', Codicon.debugDisconnect, ( localize(
|
|
46
|
-
const debugRestart = registerIcon('debug-restart', Codicon.debugRestart, ( localize(
|
|
47
|
-
const debugStepOver = registerIcon('debug-step-over', Codicon.debugStepOver, ( localize(
|
|
48
|
-
const debugStepInto = registerIcon('debug-step-into', Codicon.debugStepInto, ( localize(
|
|
49
|
-
const debugStepOut = registerIcon('debug-step-out', Codicon.debugStepOut, ( localize(
|
|
50
|
-
const debugStepBack = registerIcon('debug-step-back', Codicon.debugStepBack, ( localize(
|
|
51
|
-
const debugPause = registerIcon('debug-pause', Codicon.debugPause, ( localize(
|
|
52
|
-
const debugContinue = registerIcon('debug-continue', Codicon.debugContinue, ( localize(
|
|
53
|
-
const debugReverseContinue = registerIcon('debug-reverse-continue', Codicon.debugReverseContinue, ( localize(
|
|
54
|
-
const debugRun = registerIcon('debug-run', Codicon.run, ( localize(
|
|
55
|
-
const debugStart = registerIcon('debug-start', Codicon.debugStart, ( localize(
|
|
56
|
-
const debugConfigure = registerIcon('debug-configure', Codicon.gear, ( localize(
|
|
57
|
-
registerIcon('debug-console', Codicon.gear, ( localize(
|
|
58
|
-
const debugRemoveConfig = registerIcon('debug-remove-config', Codicon.trash, ( localize(
|
|
59
|
-
registerIcon('debug-collapse-all', Codicon.collapseAll, ( localize(
|
|
60
|
-
const callstackViewSession = registerIcon('callstack-view-session', Codicon.bug, ( localize(
|
|
61
|
-
const debugConsoleClearAll = registerIcon('debug-console-clear-all', Codicon.clearAll, ( localize(
|
|
62
|
-
const watchExpressionsRemoveAll = registerIcon('watch-expressions-remove-all', Codicon.closeAll, ( localize(
|
|
63
|
-
const watchExpressionRemove = registerIcon('watch-expression-remove', Codicon.removeClose, ( localize(
|
|
64
|
-
const watchExpressionsAdd = registerIcon('watch-expressions-add', Codicon.add, ( localize(
|
|
65
|
-
const watchExpressionsAddFuncBreakpoint = registerIcon('watch-expressions-add-function-breakpoint', Codicon.add, ( localize(
|
|
66
|
-
const watchExpressionsAddDataBreakpoint = registerIcon('watch-expressions-add-data-breakpoint', Codicon.variableGroup, ( localize(
|
|
67
|
-
const breakpointsRemoveAll = registerIcon('breakpoints-remove-all', Codicon.closeAll, ( localize(
|
|
68
|
-
const breakpointsActivate = registerIcon('breakpoints-activate', Codicon.activateBreakpoints, ( localize(
|
|
69
|
-
const debugConsoleEvaluationInput = registerIcon('debug-console-evaluation-input', Codicon.arrowSmallRight, ( localize(
|
|
70
|
-
const debugConsoleEvaluationPrompt = registerIcon('debug-console-evaluation-prompt', Codicon.chevronRight, ( localize(
|
|
71
|
-
const debugInspectMemory = registerIcon('debug-inspect-memory', Codicon.fileBinary, ( localize(
|
|
40
|
+
const debugStackframe = registerIcon('debug-stackframe', Codicon.debugStackframe, ( localize(5999, 'Icon for a stackframe shown in the editor glyph margin.')));
|
|
41
|
+
const debugStackframeFocused = registerIcon('debug-stackframe-focused', Codicon.debugStackframeFocused, ( localize(6000, 'Icon for a focused stackframe shown in the editor glyph margin.')));
|
|
42
|
+
const debugGripper = registerIcon('debug-gripper', Codicon.gripper, ( localize(6001, 'Icon for the debug bar gripper.')));
|
|
43
|
+
const debugRestartFrame = registerIcon('debug-restart-frame', Codicon.debugRestartFrame, ( localize(6002, 'Icon for the debug restart frame action.')));
|
|
44
|
+
const debugStop = registerIcon('debug-stop', Codicon.debugStop, ( localize(6003, 'Icon for the debug stop action.')));
|
|
45
|
+
const debugDisconnect = registerIcon('debug-disconnect', Codicon.debugDisconnect, ( localize(6004, 'Icon for the debug disconnect action.')));
|
|
46
|
+
const debugRestart = registerIcon('debug-restart', Codicon.debugRestart, ( localize(6005, 'Icon for the debug restart action.')));
|
|
47
|
+
const debugStepOver = registerIcon('debug-step-over', Codicon.debugStepOver, ( localize(6006, 'Icon for the debug step over action.')));
|
|
48
|
+
const debugStepInto = registerIcon('debug-step-into', Codicon.debugStepInto, ( localize(6007, 'Icon for the debug step into action.')));
|
|
49
|
+
const debugStepOut = registerIcon('debug-step-out', Codicon.debugStepOut, ( localize(6008, 'Icon for the debug step out action.')));
|
|
50
|
+
const debugStepBack = registerIcon('debug-step-back', Codicon.debugStepBack, ( localize(6009, 'Icon for the debug step back action.')));
|
|
51
|
+
const debugPause = registerIcon('debug-pause', Codicon.debugPause, ( localize(6010, 'Icon for the debug pause action.')));
|
|
52
|
+
const debugContinue = registerIcon('debug-continue', Codicon.debugContinue, ( localize(6011, 'Icon for the debug continue action.')));
|
|
53
|
+
const debugReverseContinue = registerIcon('debug-reverse-continue', Codicon.debugReverseContinue, ( localize(6012, 'Icon for the debug reverse continue action.')));
|
|
54
|
+
const debugRun = registerIcon('debug-run', Codicon.run, ( localize(6013, 'Icon for the run or debug action.')));
|
|
55
|
+
const debugStart = registerIcon('debug-start', Codicon.debugStart, ( localize(6014, 'Icon for the debug start action.')));
|
|
56
|
+
const debugConfigure = registerIcon('debug-configure', Codicon.gear, ( localize(6015, 'Icon for the debug configure action.')));
|
|
57
|
+
registerIcon('debug-console', Codicon.gear, ( localize(6016, 'Icon for the debug console open action.')));
|
|
58
|
+
const debugRemoveConfig = registerIcon('debug-remove-config', Codicon.trash, ( localize(6017, 'Icon for removing debug configurations.')));
|
|
59
|
+
registerIcon('debug-collapse-all', Codicon.collapseAll, ( localize(6018, 'Icon for the collapse all action in the debug views.')));
|
|
60
|
+
const callstackViewSession = registerIcon('callstack-view-session', Codicon.bug, ( localize(6019, 'Icon for the session icon in the call stack view.')));
|
|
61
|
+
const debugConsoleClearAll = registerIcon('debug-console-clear-all', Codicon.clearAll, ( localize(6020, 'Icon for the clear all action in the debug console.')));
|
|
62
|
+
const watchExpressionsRemoveAll = registerIcon('watch-expressions-remove-all', Codicon.closeAll, ( localize(6021, 'Icon for the Remove All action in the watch view.')));
|
|
63
|
+
const watchExpressionRemove = registerIcon('watch-expression-remove', Codicon.removeClose, ( localize(6022, 'Icon for the Remove action in the watch view.')));
|
|
64
|
+
const watchExpressionsAdd = registerIcon('watch-expressions-add', Codicon.add, ( localize(6023, 'Icon for the add action in the watch view.')));
|
|
65
|
+
const watchExpressionsAddFuncBreakpoint = registerIcon('watch-expressions-add-function-breakpoint', Codicon.add, ( localize(6024, 'Icon for the add function breakpoint action in the watch view.')));
|
|
66
|
+
const watchExpressionsAddDataBreakpoint = registerIcon('watch-expressions-add-data-breakpoint', Codicon.variableGroup, ( localize(6025, 'Icon for the add data breakpoint action in the breakpoints view.')));
|
|
67
|
+
const breakpointsRemoveAll = registerIcon('breakpoints-remove-all', Codicon.closeAll, ( localize(6026, 'Icon for the Remove All action in the breakpoints view.')));
|
|
68
|
+
const breakpointsActivate = registerIcon('breakpoints-activate', Codicon.activateBreakpoints, ( localize(6027, 'Icon for the activate action in the breakpoints view.')));
|
|
69
|
+
const debugConsoleEvaluationInput = registerIcon('debug-console-evaluation-input', Codicon.arrowSmallRight, ( localize(6028, 'Icon for the debug evaluation input marker.')));
|
|
70
|
+
const debugConsoleEvaluationPrompt = registerIcon('debug-console-evaluation-prompt', Codicon.chevronRight, ( localize(6029, 'Icon for the debug evaluation prompt.')));
|
|
71
|
+
const debugInspectMemory = registerIcon('debug-inspect-memory', Codicon.fileBinary, ( localize(6030, 'Icon for the inspect memory action.')));
|
|
72
72
|
export { allBreakpoints, breakpoint, breakpointsActivate, breakpointsRemoveAll, breakpointsViewIcon, callStackViewIcon, callstackViewSession, conditionalBreakpoint, dataBreakpoint, debugBreakpointHint, debugBreakpointUnsupported, debugConfigure, debugConsoleClearAll, debugConsoleEvaluationInput, debugConsoleEvaluationPrompt, debugConsoleViewIcon, debugContinue, debugDisconnect, debugGripper, debugInspectMemory, debugPause, debugRemoveConfig, debugRestart, debugRestartFrame, debugReverseContinue, debugRun, debugStackframe, debugStackframeFocused, debugStart, debugStepBack, debugStepInto, debugStepOut, debugStepOver, debugStop, functionBreakpoint, loadedScriptsViewIcon, logBreakpoint, runViewIcon, variablesViewIcon, watchExpressionRemove, watchExpressionsAdd, watchExpressionsAddDataBreakpoint, watchExpressionsAddFuncBreakpoint, watchExpressionsRemoveAll, watchViewIcon };
|
|
@@ -6,31 +6,31 @@ const ExtensionsConfigurationSchema = {
|
|
|
6
6
|
allowComments: true,
|
|
7
7
|
allowTrailingCommas: true,
|
|
8
8
|
type: 'object',
|
|
9
|
-
title: ( localize(
|
|
9
|
+
title: ( localize(9451, "Extensions")),
|
|
10
10
|
additionalProperties: false,
|
|
11
11
|
properties: {
|
|
12
12
|
recommendations: {
|
|
13
13
|
type: 'array',
|
|
14
14
|
description: ( localize(
|
|
15
|
-
|
|
15
|
+
9452,
|
|
16
16
|
"List of extensions which should be recommended for users of this workspace. The identifier of an extension is always '${publisher}.${name}'. For example: 'vscode.csharp'."
|
|
17
17
|
)),
|
|
18
18
|
items: {
|
|
19
19
|
type: 'string',
|
|
20
20
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
21
|
-
errorMessage: ( localize(
|
|
21
|
+
errorMessage: ( localize(9453, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
unwantedRecommendations: {
|
|
25
25
|
type: 'array',
|
|
26
26
|
description: ( localize(
|
|
27
|
-
|
|
27
|
+
9454,
|
|
28
28
|
"List of extensions recommended by VS Code that should not be recommended for users of this workspace. The identifier of an extension is always '${publisher}.${name}'. For example: 'vscode.csharp'."
|
|
29
29
|
)),
|
|
30
30
|
items: {
|
|
31
31
|
type: 'string',
|
|
32
32
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
33
|
-
errorMessage: ( localize(
|
|
33
|
+
errorMessage: ( localize(9453, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
}
|
|
@@ -68,7 +68,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
68
68
|
static { this.DEFAULT_VISIBLE_OPEN_EDITORS = 9; }
|
|
69
69
|
static { this.DEFAULT_MIN_VISIBLE_OPEN_EDITORS = 0; }
|
|
70
70
|
static { this.ID = 'workbench.explorer.openEditorsView'; }
|
|
71
|
-
static { this.NAME = ( localize2(
|
|
71
|
+
static { this.NAME = ( localize2(5384, "Open Editors")); }
|
|
72
72
|
constructor(options, instantiationService, viewDescriptorService, contextMenuService, editorGroupService, configurationService, keybindingService, contextKeyService, themeService, telemetryService, hoverService, workingCopyService, filesConfigurationService, openerService, fileService) {
|
|
73
73
|
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
74
74
|
this.editorGroupService = editorGroupService;
|
|
@@ -428,7 +428,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
428
428
|
this.dirtyCountElement.classList.add('hidden');
|
|
429
429
|
}
|
|
430
430
|
else {
|
|
431
|
-
this.dirtyCountElement.textContent = ( localize(
|
|
431
|
+
this.dirtyCountElement.textContent = ( localize(5385, "{0} unsaved", dirty));
|
|
432
432
|
this.dirtyCountElement.classList.remove('hidden');
|
|
433
433
|
}
|
|
434
434
|
}
|
|
@@ -699,7 +699,7 @@ OpenEditorsDragAndDrop.__decorator = ( (__decorate([
|
|
|
699
699
|
], OpenEditorsDragAndDrop.prototype, "dropHandler", null)));
|
|
700
700
|
class OpenEditorsAccessibilityProvider {
|
|
701
701
|
getWidgetAriaLabel() {
|
|
702
|
-
return ( localize(
|
|
702
|
+
return ( localize(5384, "Open Editors"));
|
|
703
703
|
}
|
|
704
704
|
getAriaLabel(element) {
|
|
705
705
|
if (element instanceof OpenEditor) {
|
|
@@ -713,7 +713,7 @@ registerAction2(class extends Action2 {
|
|
|
713
713
|
constructor() {
|
|
714
714
|
super({
|
|
715
715
|
id: 'workbench.action.toggleEditorGroupLayout',
|
|
716
|
-
title: ( localize2(
|
|
716
|
+
title: ( localize2(5386, "Toggle Vertical/Horizontal Editor Layout")),
|
|
717
717
|
f1: true,
|
|
718
718
|
keybinding: {
|
|
719
719
|
primary: KeyMod$1.Shift | KeyMod$1.Alt | KeyCode.Digit0,
|
|
@@ -743,8 +743,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
743
743
|
command: {
|
|
744
744
|
id: toggleEditorGroupLayoutId,
|
|
745
745
|
title: {
|
|
746
|
-
...( localize2(
|
|
747
|
-
mnemonicTitle: ( localize(
|
|
746
|
+
...( localize2(5387, "Flip Layout")),
|
|
747
|
+
mnemonicTitle: ( localize(5388, "Flip &&Layout"))
|
|
748
748
|
}
|
|
749
749
|
},
|
|
750
750
|
order: 1
|
|
@@ -794,7 +794,7 @@ registerAction2(class extends Action2 {
|
|
|
794
794
|
constructor() {
|
|
795
795
|
super({
|
|
796
796
|
id: 'openEditors.newUntitledFile',
|
|
797
|
-
title: ( localize2(
|
|
797
|
+
title: ( localize2(5389, "New Untitled Text File")),
|
|
798
798
|
f1: false,
|
|
799
799
|
icon: Codicon.newFile,
|
|
800
800
|
menu: {
|
|
@@ -30,8 +30,8 @@ let DefaultFoldingRangeProvider = class DefaultFoldingRangeProvider extends Disp
|
|
|
30
30
|
DefaultFoldingRangeProvider_1.extensionItemLabels.length = 0;
|
|
31
31
|
DefaultFoldingRangeProvider_1.extensionDescriptions.length = 0;
|
|
32
32
|
DefaultFoldingRangeProvider_1.extensionIds.push(null);
|
|
33
|
-
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(
|
|
34
|
-
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(
|
|
33
|
+
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(650, 'All')));
|
|
34
|
+
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(651, "All active folding range providers")));
|
|
35
35
|
const languageExtensions = [];
|
|
36
36
|
const otherExtensions = [];
|
|
37
37
|
for (const extension of this._extensionService.extensions) {
|
|
@@ -73,7 +73,7 @@ DefaultFoldingRangeProvider = DefaultFoldingRangeProvider_1 = ( (__decorate([
|
|
|
73
73
|
properties: {
|
|
74
74
|
[DefaultFoldingRangeProvider.configName]: {
|
|
75
75
|
description: ( localize(
|
|
76
|
-
|
|
76
|
+
652,
|
|
77
77
|
"Defines a default folding range provider that takes precedence over all other folding range providers. Must be the identifier of an extension contributing a folding range provider."
|
|
78
78
|
)),
|
|
79
79
|
type: ['string', 'null'],
|
|
@@ -22,7 +22,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
22
22
|
static { this.IsReading = ( (new RawContextKey(
|
|
23
23
|
'isReadingLineWithInlayHints',
|
|
24
24
|
false,
|
|
25
|
-
{ type: 'boolean', description: ( localize(
|
|
25
|
+
{ type: 'boolean', description: ( localize(653, "Whether the current line and its inlay hints are currently focused")) }
|
|
26
26
|
))); }
|
|
27
27
|
static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
|
|
28
28
|
static get(editor) {
|
|
@@ -37,7 +37,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
37
37
|
this._ariaElement.style.position = 'fixed';
|
|
38
38
|
this._ariaElement.className = 'inlayhint-accessibility-element';
|
|
39
39
|
this._ariaElement.tabIndex = 0;
|
|
40
|
-
this._ariaElement.setAttribute('aria-description', ( localize(
|
|
40
|
+
this._ariaElement.setAttribute('aria-description', ( localize(654, "Code with Inlay Hint Information")));
|
|
41
41
|
this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
|
|
42
42
|
}
|
|
43
43
|
dispose() {
|
|
@@ -137,7 +137,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
|
|
|
137
137
|
constructor() {
|
|
138
138
|
super({
|
|
139
139
|
id: 'inlayHints.startReadingLineWithHint',
|
|
140
|
-
title: ( localize2(
|
|
140
|
+
title: ( localize2(655, "Read Line With Inline Hints")),
|
|
141
141
|
precondition: EditorContextKeys.hasInlayHintsProvider,
|
|
142
142
|
f1: true
|
|
143
143
|
});
|
|
@@ -151,7 +151,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: 'inlayHints.stopReadingLineWithHint',
|
|
154
|
-
title: ( localize2(
|
|
154
|
+
title: ( localize2(656, "Stop Inlay Hints Reading")),
|
|
155
155
|
precondition: InlayHintsAccessibility.IsReading,
|
|
156
156
|
f1: true,
|
|
157
157
|
keybinding: {
|
|
@@ -111,9 +111,9 @@ let MultiDiffEditorInput = class MultiDiffEditorInput extends EditorInput {
|
|
|
111
111
|
};
|
|
112
112
|
this._register(autorun((reader) => {
|
|
113
113
|
const resources = this.resources.read(reader);
|
|
114
|
-
const label = this.label ?? ( localize(
|
|
114
|
+
const label = this.label ?? ( localize(6141, "Multi Diff Editor"));
|
|
115
115
|
if (resources) {
|
|
116
|
-
this._name = label + ( localize(
|
|
116
|
+
this._name = label + ( localize(6142, " ({0} files)", resources.length));
|
|
117
117
|
}
|
|
118
118
|
else {
|
|
119
119
|
this._name = label;
|
|
@@ -132,7 +132,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
132
132
|
return [{
|
|
133
133
|
text: `$(${successStateIcon.id})`,
|
|
134
134
|
color: themeColorFromId(cellStatusIconSuccess),
|
|
135
|
-
tooltip: ( localize(
|
|
135
|
+
tooltip: ( localize(7976, "Success")),
|
|
136
136
|
alignment: CellStatusbarAlignment.Left,
|
|
137
137
|
priority: Number.MAX_SAFE_INTEGER
|
|
138
138
|
}];
|
|
@@ -141,7 +141,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
141
141
|
return [{
|
|
142
142
|
text: `$(${errorStateIcon.id})`,
|
|
143
143
|
color: themeColorFromId(cellStatusIconError),
|
|
144
|
-
tooltip: ( localize(
|
|
144
|
+
tooltip: ( localize(7977, "Failed")),
|
|
145
145
|
alignment: CellStatusbarAlignment.Left,
|
|
146
146
|
priority: Number.MAX_SAFE_INTEGER
|
|
147
147
|
}];
|
|
@@ -149,7 +149,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
149
149
|
else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
|
|
150
150
|
return [{
|
|
151
151
|
text: `$(${pendingStateIcon.id})`,
|
|
152
|
-
tooltip: ( localize(
|
|
152
|
+
tooltip: ( localize(7978, "Pending")),
|
|
153
153
|
alignment: CellStatusbarAlignment.Left,
|
|
154
154
|
priority: Number.MAX_SAFE_INTEGER
|
|
155
155
|
}];
|
|
@@ -160,7 +160,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
160
160
|
ThemeIcon.modify(executingStateIcon, 'spin');
|
|
161
161
|
return [{
|
|
162
162
|
text: `$(${icon.id})`,
|
|
163
|
-
tooltip: ( localize(
|
|
163
|
+
tooltip: ( localize(7979, "Executing")),
|
|
164
164
|
alignment: CellStatusbarAlignment.Left,
|
|
165
165
|
priority: Number.MAX_SAFE_INTEGER
|
|
166
166
|
}];
|
|
@@ -264,10 +264,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
264
264
|
}));
|
|
265
265
|
renderTimes += `- [${rendererInfo?.displayName ?? key}](command:workbench.action.openIssueReporter?${args}) ${formatCellDuration(renderDuration[key])}\n`;
|
|
266
266
|
}
|
|
267
|
-
renderTimes += `\n*${( localize(
|
|
267
|
+
renderTimes += `\n*${( localize(7980, "Use the links above to file an issue using the issue reporter."))}*\n`;
|
|
268
268
|
tooltip = {
|
|
269
269
|
value: ( localize(
|
|
270
|
-
|
|
270
|
+
7981,
|
|
271
271
|
"**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
|
|
272
272
|
lastExecution,
|
|
273
273
|
formatCellDuration(executionDuration),
|
|
@@ -16,7 +16,7 @@ registerAction2(class ShowAllOutputsAction extends Action2 {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super({
|
|
18
18
|
id: 'notebook.cellOuput.showEmptyOutputs',
|
|
19
|
-
title: ( localize(
|
|
19
|
+
title: ( localize(7921, "Show empty outputs")),
|
|
20
20
|
menu: {
|
|
21
21
|
id: MenuId.NotebookOutputToolbar,
|
|
22
22
|
when: ( (ContextKeyExpr.and(NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_CELL_HAS_HIDDEN_OUTPUTS)))
|
|
@@ -41,7 +41,7 @@ registerAction2(class CopyCellOutputAction extends Action2 {
|
|
|
41
41
|
constructor() {
|
|
42
42
|
super({
|
|
43
43
|
id: COPY_OUTPUT_COMMAND_ID,
|
|
44
|
-
title: ( localize(
|
|
44
|
+
title: ( localize(7922, "Copy Cell Output")),
|
|
45
45
|
menu: {
|
|
46
46
|
id: MenuId.NotebookOutputToolbar,
|
|
47
47
|
when: NOTEBOOK_CELL_HAS_OUTPUTS
|
|
@@ -116,7 +116,7 @@ registerAction2(class OpenCellOutputInEditorAction extends Action2 {
|
|
|
116
116
|
constructor() {
|
|
117
117
|
super({
|
|
118
118
|
id: OPEN_OUTPUT_COMMAND_ID,
|
|
119
|
-
title: ( localize(
|
|
119
|
+
title: ( localize(7923, "Open Cell Output in Text Editor")),
|
|
120
120
|
f1: false,
|
|
121
121
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
122
122
|
icon: copyIcon,
|
|
@@ -108,8 +108,8 @@ class FoldingController extends Disposable {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
registerNotebookContribution(FoldingController.id, FoldingController);
|
|
111
|
-
const NOTEBOOK_FOLD_COMMAND_LABEL = ( localize(
|
|
112
|
-
const NOTEBOOK_UNFOLD_COMMAND_LABEL = ( localize2(
|
|
111
|
+
const NOTEBOOK_FOLD_COMMAND_LABEL = ( localize(7924, "Fold Cell"));
|
|
112
|
+
const NOTEBOOK_UNFOLD_COMMAND_LABEL = ( localize2(7925, "Unfold Cell"));
|
|
113
113
|
const FOLDING_COMMAND_ARGS = {
|
|
114
114
|
args: [{
|
|
115
115
|
isOptional: true,
|
|
@@ -139,7 +139,7 @@ registerAction2(class extends Action2 {
|
|
|
139
139
|
constructor() {
|
|
140
140
|
super({
|
|
141
141
|
id: 'notebook.fold',
|
|
142
|
-
title: ( localize2(
|
|
142
|
+
title: ( localize2(7924, "Fold Cell")),
|
|
143
143
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
144
144
|
keybinding: {
|
|
145
145
|
when: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey)))),
|
|
@@ -58,14 +58,14 @@ class NotebookAccessibilityProvider extends Disposable {
|
|
|
58
58
|
const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
59
59
|
if (this.configurationService.getValue(AccessibilityVerbositySettingId.Notebook)) {
|
|
60
60
|
return keybinding
|
|
61
|
-
? ( localize(
|
|
61
|
+
? ( localize(10674, "Notebook\nUse {0} for accessibility help", keybinding))
|
|
62
62
|
: ( localize(
|
|
63
|
-
|
|
63
|
+
10675,
|
|
64
64
|
"Notebook\nRun the Open Accessibility Help command for more information",
|
|
65
65
|
keybinding
|
|
66
66
|
));
|
|
67
67
|
}
|
|
68
|
-
return ( localize(
|
|
68
|
+
return ( localize(10676, "Notebook"));
|
|
69
69
|
}
|
|
70
70
|
mergeEvents(last, e) {
|
|
71
71
|
const viewModel = this.viewModel();
|
|
@@ -183,7 +183,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
183
183
|
const knownProvider = this._notebookService.getViewTypeProvider(input.viewType);
|
|
184
184
|
if (!knownProvider) {
|
|
185
185
|
throw ( (new Error(localize(
|
|
186
|
-
|
|
186
|
+
7835,
|
|
187
187
|
"Cannot open resource with notebook editor type '{0}', please check if you have the right extension installed and enabled.",
|
|
188
188
|
input.viewType
|
|
189
189
|
))));
|
|
@@ -191,14 +191,14 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
191
191
|
await this._extensionsWorkbenchService.whenInitialized;
|
|
192
192
|
const extensionInfo = this._extensionsWorkbenchService.local.find(e => e.identifier.id === knownProvider);
|
|
193
193
|
throw createEditorOpenError(( (new Error(localize(
|
|
194
|
-
|
|
194
|
+
7836,
|
|
195
195
|
"Cannot open resource with notebook editor type '{0}', please check if you have the right extension installed and enabled.",
|
|
196
196
|
input.viewType
|
|
197
197
|
)))), [
|
|
198
198
|
toAction({
|
|
199
199
|
id: 'workbench.notebook.action.installOrEnableMissing', label: extensionInfo
|
|
200
|
-
? localize(
|
|
201
|
-
: localize(
|
|
200
|
+
? localize(7837, "Enable extension for '{0}'", input.viewType)
|
|
201
|
+
: localize(7838, "Install extension for '{0}'", input.viewType),
|
|
202
202
|
run: async () => {
|
|
203
203
|
const d = this._notebookService.onAddViewType(viewType => {
|
|
204
204
|
if (viewType === input.viewType) {
|
|
@@ -222,7 +222,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
222
222
|
}
|
|
223
223
|
}),
|
|
224
224
|
toAction({
|
|
225
|
-
id: 'workbench.notebook.action.openAsText', label: localize(
|
|
225
|
+
id: 'workbench.notebook.action.openAsText', label: localize(7839, "Open As Text"), run: async () => {
|
|
226
226
|
const backup = await this._workingCopyBackupService.resolve({ resource: input.resource, typeId: NotebookWorkingCopyTypeIdentifier.create(input.viewType) });
|
|
227
227
|
if (backup) {
|
|
228
228
|
const contents = await streamToBuffer(backup.value);
|
|
@@ -265,14 +265,14 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
265
265
|
let message;
|
|
266
266
|
if (e instanceof TooLargeFileOperationError) {
|
|
267
267
|
message = ( localize(
|
|
268
|
-
|
|
268
|
+
7840,
|
|
269
269
|
"The notebook is not displayed in the notebook editor because it is very large ({0}).",
|
|
270
270
|
ByteSize.formatSize(e.size)
|
|
271
271
|
));
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
274
274
|
message = ( localize(
|
|
275
|
-
|
|
275
|
+
7841,
|
|
276
276
|
"The notebook is not displayed in the notebook editor because it is very large."
|
|
277
277
|
));
|
|
278
278
|
}
|
|
@@ -280,7 +280,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
280
280
|
}
|
|
281
281
|
const error = createEditorOpenError(e instanceof Error ? e : ( (new Error((e ? e.message : '')))), [
|
|
282
282
|
toAction({
|
|
283
|
-
id: 'workbench.notebook.action.openInTextEditor', label: ( localize(
|
|
283
|
+
id: 'workbench.notebook.action.openInTextEditor', label: ( localize(7842, "Open in Text Editor")), run: async () => {
|
|
284
284
|
const activeEditorPane = this._editorService.activeEditorPane;
|
|
285
285
|
if (!activeEditorPane) {
|
|
286
286
|
return;
|
|
@@ -2565,43 +2565,43 @@ const notebookCellBorder = registerColor('notebook.cellBorderColor', {
|
|
|
2565
2565
|
light: ( (transparent(listInactiveSelectionBackground, 1))),
|
|
2566
2566
|
hcDark: PANEL_BORDER,
|
|
2567
2567
|
hcLight: PANEL_BORDER
|
|
2568
|
-
}, ( localize(
|
|
2569
|
-
registerColor('notebook.focusedEditorBorder', focusBorder, ( localize(
|
|
2570
|
-
const cellStatusIconSuccess = registerColor('notebookStatusSuccessIcon.foreground', debugIconStartForeground, ( localize(
|
|
2568
|
+
}, ( localize(7794, "The border color for notebook cells.")));
|
|
2569
|
+
registerColor('notebook.focusedEditorBorder', focusBorder, ( localize(7795, "The color of the notebook cell editor border.")));
|
|
2570
|
+
const cellStatusIconSuccess = registerColor('notebookStatusSuccessIcon.foreground', debugIconStartForeground, ( localize(7796, "The error icon color of notebook cells in the cell status bar.")));
|
|
2571
2571
|
const runningCellRulerDecorationColor = registerColor('notebookEditorOverviewRuler.runningCellForeground', debugIconStartForeground, ( localize(
|
|
2572
|
-
|
|
2572
|
+
7797,
|
|
2573
2573
|
"The color of the running cell decoration in the notebook editor overview ruler."
|
|
2574
2574
|
)));
|
|
2575
|
-
const cellStatusIconError = registerColor('notebookStatusErrorIcon.foreground', errorForeground, ( localize(
|
|
2576
|
-
registerColor('notebookStatusRunningIcon.foreground', foreground, ( localize(
|
|
2577
|
-
registerColor('notebook.outputContainerBorderColor', null, ( localize(
|
|
2578
|
-
registerColor('notebook.outputContainerBackgroundColor', null, ( localize(
|
|
2575
|
+
const cellStatusIconError = registerColor('notebookStatusErrorIcon.foreground', errorForeground, ( localize(7798, "The error icon color of notebook cells in the cell status bar.")));
|
|
2576
|
+
registerColor('notebookStatusRunningIcon.foreground', foreground, ( localize(7799, "The running icon color of notebook cells in the cell status bar.")));
|
|
2577
|
+
registerColor('notebook.outputContainerBorderColor', null, ( localize(7800, "The border color of the notebook output container.")));
|
|
2578
|
+
registerColor('notebook.outputContainerBackgroundColor', null, ( localize(7801, "The color of the notebook output container background.")));
|
|
2579
2579
|
registerColor('notebook.cellToolbarSeparator', {
|
|
2580
2580
|
dark: ( (( (Color.fromHex('#808080'))).transparent(0.35))),
|
|
2581
2581
|
light: ( (( (Color.fromHex('#808080'))).transparent(0.35))),
|
|
2582
2582
|
hcDark: contrastBorder,
|
|
2583
2583
|
hcLight: contrastBorder
|
|
2584
|
-
}, ( localize(
|
|
2585
|
-
const focusedCellBackground = registerColor('notebook.focusedCellBackground', null, ( localize(
|
|
2584
|
+
}, ( localize(7802, "The color of the separator in the cell bottom toolbar")));
|
|
2585
|
+
const focusedCellBackground = registerColor('notebook.focusedCellBackground', null, ( localize(7803, "The background color of a cell when the cell is focused.")));
|
|
2586
2586
|
registerColor('notebook.selectedCellBackground', {
|
|
2587
2587
|
dark: listInactiveSelectionBackground,
|
|
2588
2588
|
light: listInactiveSelectionBackground,
|
|
2589
2589
|
hcDark: null,
|
|
2590
2590
|
hcLight: null
|
|
2591
|
-
}, ( localize(
|
|
2591
|
+
}, ( localize(7804, "The background color of a cell when the cell is selected.")));
|
|
2592
2592
|
registerColor('notebook.cellHoverBackground', {
|
|
2593
2593
|
dark: ( (transparent(focusedCellBackground, .5))),
|
|
2594
2594
|
light: ( (transparent(focusedCellBackground, .7))),
|
|
2595
2595
|
hcDark: null,
|
|
2596
2596
|
hcLight: null
|
|
2597
|
-
}, ( localize(
|
|
2597
|
+
}, ( localize(7805, "The background color of a cell when the cell is hovered.")));
|
|
2598
2598
|
registerColor('notebook.selectedCellBorder', {
|
|
2599
2599
|
dark: notebookCellBorder,
|
|
2600
2600
|
light: notebookCellBorder,
|
|
2601
2601
|
hcDark: contrastBorder,
|
|
2602
2602
|
hcLight: contrastBorder
|
|
2603
2603
|
}, ( localize(
|
|
2604
|
-
|
|
2604
|
+
7806,
|
|
2605
2605
|
"The color of the cell's top and bottom border when the cell is selected but not focused."
|
|
2606
2606
|
)));
|
|
2607
2607
|
registerColor('notebook.inactiveSelectedCellBorder', {
|
|
@@ -2609,13 +2609,13 @@ registerColor('notebook.inactiveSelectedCellBorder', {
|
|
|
2609
2609
|
light: null,
|
|
2610
2610
|
hcDark: focusBorder,
|
|
2611
2611
|
hcLight: focusBorder
|
|
2612
|
-
}, ( localize(
|
|
2612
|
+
}, ( localize(7807, "The color of the cell's borders when multiple cells are selected.")));
|
|
2613
2613
|
registerColor('notebook.focusedCellBorder', focusBorder, ( localize(
|
|
2614
|
-
|
|
2614
|
+
7808,
|
|
2615
2615
|
"The color of the cell's focus indicator borders when the cell is focused."
|
|
2616
2616
|
)));
|
|
2617
2617
|
registerColor('notebook.inactiveFocusedCellBorder', notebookCellBorder, ( localize(
|
|
2618
|
-
|
|
2618
|
+
7809,
|
|
2619
2619
|
"The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."
|
|
2620
2620
|
)));
|
|
2621
2621
|
registerColor('notebook.cellStatusBarItemHoverBackground', {
|
|
@@ -2623,27 +2623,27 @@ registerColor('notebook.cellStatusBarItemHoverBackground', {
|
|
|
2623
2623
|
dark: ( (new Color( (new RGBA(255, 255, 255, 0.15))))),
|
|
2624
2624
|
hcDark: ( (new Color( (new RGBA(255, 255, 255, 0.15))))),
|
|
2625
2625
|
hcLight: ( (new Color( (new RGBA(0, 0, 0, 0.08))))),
|
|
2626
|
-
}, ( localize(
|
|
2627
|
-
registerColor('notebook.cellInsertionIndicator', focusBorder, ( localize(
|
|
2628
|
-
registerColor('notebookScrollbarSlider.background', scrollbarSliderBackground, ( localize(
|
|
2629
|
-
registerColor('notebookScrollbarSlider.hoverBackground', scrollbarSliderHoverBackground, ( localize(
|
|
2630
|
-
registerColor('notebookScrollbarSlider.activeBackground', scrollbarSliderActiveBackground, ( localize(
|
|
2626
|
+
}, ( localize(7810, "The background color of notebook cell status bar items.")));
|
|
2627
|
+
registerColor('notebook.cellInsertionIndicator', focusBorder, ( localize(7811, "The color of the notebook cell insertion indicator.")));
|
|
2628
|
+
registerColor('notebookScrollbarSlider.background', scrollbarSliderBackground, ( localize(7812, "Notebook scrollbar slider background color.")));
|
|
2629
|
+
registerColor('notebookScrollbarSlider.hoverBackground', scrollbarSliderHoverBackground, ( localize(7813, "Notebook scrollbar slider background color when hovering.")));
|
|
2630
|
+
registerColor('notebookScrollbarSlider.activeBackground', scrollbarSliderActiveBackground, ( localize(7814, "Notebook scrollbar slider background color when clicked on.")));
|
|
2631
2631
|
registerColor('notebook.symbolHighlightBackground', {
|
|
2632
2632
|
dark: ( (Color.fromHex('#ffffff0b'))),
|
|
2633
2633
|
light: ( (Color.fromHex('#fdff0033'))),
|
|
2634
2634
|
hcDark: null,
|
|
2635
2635
|
hcLight: null
|
|
2636
|
-
}, ( localize(
|
|
2636
|
+
}, ( localize(7815, "Background color of highlighted cell")));
|
|
2637
2637
|
registerColor('notebook.cellEditorBackground', {
|
|
2638
2638
|
light: SIDE_BAR_BACKGROUND,
|
|
2639
2639
|
dark: SIDE_BAR_BACKGROUND,
|
|
2640
2640
|
hcDark: null,
|
|
2641
2641
|
hcLight: null
|
|
2642
|
-
}, ( localize(
|
|
2642
|
+
}, ( localize(7816, "Cell editor background color.")));
|
|
2643
2643
|
const notebookEditorBackground = registerColor('notebook.editorBackground', {
|
|
2644
2644
|
light: EDITOR_PANE_BACKGROUND,
|
|
2645
2645
|
dark: EDITOR_PANE_BACKGROUND,
|
|
2646
2646
|
hcDark: null,
|
|
2647
2647
|
hcLight: null
|
|
2648
|
-
}, ( localize(
|
|
2648
|
+
}, ( localize(7817, "Notebook background color.")));
|
|
2649
2649
|
export { NotebookEditorWidget, cellStatusIconError, cellStatusIconSuccess, focusedCellBackground, getDefaultNotebookCreationOptions, notebookCellBorder, runningCellRulerDecorationColor };
|