@codingame/monaco-vscode-debug-service-override 22.1.7 → 22.1.9

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.
@@ -1,146 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- /* Debug repl */
7
-
8
- .monaco-workbench .repl {
9
- height: 100%;
10
- box-sizing: border-box;
11
- overflow: hidden;
12
- }
13
-
14
- .monaco-workbench .repl .repl-tree .monaco-tl-contents {
15
- user-select: text;
16
- -webkit-user-select: text;
17
- white-space: pre;
18
- }
19
-
20
- .monaco-workbench .repl .repl-tree .monaco-tl-contents .expression {
21
- font-family: var(--vscode-repl-font-family);
22
- font-size: var(--vscode-repl-font-size);
23
- line-height: var(--vscode-repl-line-height);
24
- }
25
-
26
- .monaco-workbench .repl .repl-tree .monaco-tl-contents .expression .lazy-button {
27
- cursor: pointer;
28
- }
29
-
30
- .monaco-workbench .repl .repl-tree .monaco-tl-twistie {
31
- background-position-y: calc(100% - (var(--vscode-repl-font-size-for-twistie)));
32
- }
33
-
34
- .monaco-workbench .repl .repl-tree.word-wrap .monaco-tl-contents {
35
- /* Wrap words but also do not trim whitespace #6275 */
36
- word-wrap: break-word;
37
- white-space: pre-wrap;
38
- /* Break on all #7533 */
39
- word-break: break-all;
40
- }
41
-
42
- .monaco-workbench .repl .repl-tree.word-wrap .monaco-tl-contents .expression.nested-variable {
43
- white-space: pre; /* Preserve whitespace but don't wrap */
44
- }
45
-
46
- .monaco-workbench .repl .repl-tree .monaco-tl-twistie.collapsible + .monaco-tl-contents,
47
- .monaco-workbench .repl .repl-tree .monaco-tl-twistie {
48
- cursor: pointer;
49
- }
50
-
51
- .monaco-workbench .repl .repl-tree .output.expression.value-and-source {
52
- display: flex;
53
- }
54
-
55
- .monaco-workbench .repl .repl-tree .output.expression.value-and-source .label {
56
- margin-right: 4px;
57
- }
58
-
59
- .monaco-workbench .repl .repl-tree .output.expression.value-and-source .count-badge-wrapper {
60
- margin-right: 4px;
61
- }
62
-
63
- .monaco-workbench .repl .repl-tree .output.expression.value-and-source .count-badge-wrapper .monaco-count-badge {
64
- /* Allow the badge to be a bit shorter so it does not look cut off */
65
- min-height: 16px;
66
- word-break: keep-all;
67
- }
68
-
69
- .monaco-workbench .repl .repl-tree .monaco-tl-contents .arrow {
70
- position:absolute;
71
- left: 2px;
72
- }
73
-
74
- .monaco-workbench .repl .repl-tree .output.expression.value-and-source .source,
75
- .monaco-workbench .repl .repl-tree .group .source {
76
- margin-left: auto;
77
- margin-right: 8px;
78
- cursor: pointer;
79
- text-decoration: underline;
80
- overflow: hidden;
81
- text-overflow: ellipsis;
82
- white-space: nowrap;
83
- text-align: right;
84
- /*Use direction so the source shows elipses on the left*/
85
- direction: rtl;
86
- max-width: 400px;
87
- }
88
-
89
- .monaco-workbench .repl .repl-tree .output.expression > .value,
90
- .monaco-workbench .repl .repl-tree .evaluation-result.expression > .value {
91
- margin-left: 0px;
92
- }
93
-
94
- .monaco-workbench .repl .repl-tree .output.expression .name:not(:empty) {
95
- margin-right: 6px;
96
- }
97
-
98
- .monaco-workbench .repl .repl-input-wrapper {
99
- display: flex;
100
- align-items: center;
101
- }
102
-
103
- /* Do not render show more in REPL suggest widget status bar */
104
- .monaco-workbench .repl .repl-input-wrapper .suggest-status-bar .monaco-action-bar.right {
105
- display: none;
106
- }
107
-
108
- .monaco-workbench .repl .repl-input-wrapper .repl-input-chevron {
109
- padding: 0 6px 0 8px;
110
- width: 16px;
111
- height: 100%;
112
- display: flex;
113
- flex-shrink: 0;
114
- justify-content: center;
115
- font-weight: 600;
116
- }
117
-
118
- /* Output coloring and styling */
119
- .monaco-workbench .repl .repl-tree .output.expression > .ignore {
120
- font-style: italic;
121
- }
122
-
123
- /* ANSI Codes */
124
- .monaco-workbench .repl .repl-tree .output.expression .code-bold { font-weight: bold; }
125
- .monaco-workbench .repl .repl-tree .output.expression .code-italic { font-style: italic; }
126
- .monaco-workbench .repl .repl-tree .output.expression .code-underline { text-decoration: underline; text-decoration-style:solid; }
127
- .monaco-workbench .repl .repl-tree .output.expression .code-double-underline { text-decoration: underline; text-decoration-style:double; }
128
- .monaco-workbench .repl .repl-tree .output.expression .code-strike-through { text-decoration:line-through; text-decoration-style:solid; }
129
- .monaco-workbench .repl .repl-tree .output.expression .code-overline { text-decoration:overline; text-decoration-style:solid; }
130
- /* because they can exist at same time we need all the possible underline(or double-underline),overline and strike-through combinations */
131
- .monaco-workbench .repl .repl-tree .output.expression .code-overline.code-underline.code-strike-through { text-decoration: overline underline line-through; text-decoration-style:solid; }
132
- .monaco-workbench .repl .repl-tree .output.expression .code-overline.code-underline { text-decoration: overline underline; text-decoration-style:solid; }
133
- .monaco-workbench .repl .repl-tree .output.expression .code-overline.code-strike-through { text-decoration: overline line-through; text-decoration-style:solid; }
134
- .monaco-workbench .repl .repl-tree .output.expression .code-underline.code-strike-through { text-decoration: underline line-through; text-decoration-style:solid; }
135
- .monaco-workbench .repl .repl-tree .output.expression .code-overline.code-double-underline.code-strike-through { text-decoration: overline underline line-through; text-decoration-style:double; }
136
- .monaco-workbench .repl .repl-tree .output.expression .code-overline.code-double-underline { text-decoration: overline underline; text-decoration-style:double; }
137
- .monaco-workbench .repl .repl-tree .output.expression .code-double-underline.code-strike-through { text-decoration: underline line-through; text-decoration-style:double; }
138
- .monaco-workbench .repl .repl-tree .output.expression .code-dim { opacity: 0.4; }
139
- .monaco-workbench .repl .repl-tree .output.expression .code-hidden { opacity: 0; }
140
- .monaco-workbench .repl .repl-tree .output.expression .code-blink { animation: code-blink-key 1s cubic-bezier(1, 0, 0, 1) infinite alternate; }
141
- .monaco-workbench .repl .repl-tree .output.expression .code-rapid-blink { animation: code-blink-key 0.3s cubic-bezier(1, 0, 0, 1) infinite alternate; }
142
- @keyframes code-blink-key {
143
- to { opacity: 0.4; }
144
- }
145
- .monaco-workbench .repl .repl-tree .output.expression .code-subscript { vertical-align: sub; font-size: smaller; line-height: normal; }
146
- .monaco-workbench .repl .repl-tree .output.expression .code-superscript { vertical-align: super; font-size: smaller; line-height: normal; }
@@ -1,105 +0,0 @@
1
- import { IHistoryNavigationWidget } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/history";
2
- import { IActionViewItem } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionbar";
3
- import { IAsyncDataSource } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/tree/tree";
4
- import { IAction } from "@codingame/monaco-vscode-api/vscode/vs/base/common/actions";
5
- import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service";
6
- import { CodeEditorWidget } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget";
7
- import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service";
8
- import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
9
- import { ITextResourcePropertiesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service";
10
- import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
11
- import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
12
- import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
13
- import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service";
14
- import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
15
- import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
16
- import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
17
- import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
18
- import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
19
- import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
20
- import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
21
- import { FilterViewPane, IViewPaneOptions } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
22
- import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
23
- import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
24
- import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service";
25
- import { IDebugSession, IReplElement } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
26
- import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service";
27
- export declare class Repl extends FilterViewPane implements IHistoryNavigationWidget {
28
- private readonly debugService;
29
- private readonly storageService;
30
- private readonly modelService;
31
- protected readonly configurationService: IConfigurationService;
32
- private readonly textResourcePropertiesService;
33
- private readonly editorService;
34
- protected readonly keybindingService: IKeybindingService;
35
- private readonly languageFeaturesService;
36
- private readonly logService;
37
- readonly _serviceBrand: undefined;
38
- private static readonly REFRESH_DELAY;
39
- private static readonly URI;
40
- private history;
41
- private tree?;
42
- private replOptions;
43
- private previousTreeScrollHeight;
44
- private replDelegate;
45
- private container;
46
- private treeContainer;
47
- private replInput;
48
- private replInputContainer;
49
- private bodyContentDimension;
50
- private model;
51
- private setHistoryNavigationEnablement;
52
- private scopedInstantiationService;
53
- private replElementsChangeListener;
54
- private styleElement;
55
- private styleChangedWhenInvisible;
56
- private completionItemProvider;
57
- private modelChangeListener;
58
- private filter;
59
- private multiSessionRepl;
60
- private menu;
61
- private replDataSource;
62
- private findIsOpen;
63
- constructor(options: IViewPaneOptions, debugService: IDebugService, instantiationService: IInstantiationService, storageService: IStorageService, themeService: IThemeService, modelService: IModelService, contextKeyService: IContextKeyService, codeEditorService: ICodeEditorService, viewDescriptorService: IViewDescriptorService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, textResourcePropertiesService: ITextResourcePropertiesService, editorService: IEditorService, keybindingService: IKeybindingService, openerService: IOpenerService, hoverService: IHoverService, menuService: IMenuService, languageFeaturesService: ILanguageFeaturesService, logService: ILogService);
64
- private registerListeners;
65
- private onDidFocusSession;
66
- getFilterStats(): {
67
- total: number;
68
- filtered: number;
69
- };
70
- get isReadonly(): boolean;
71
- showPreviousValue(): void;
72
- showNextValue(): void;
73
- focusFilter(): void;
74
- openFind(): void;
75
- private setMode;
76
- private onDidStyleChange;
77
- private navigateHistory;
78
- selectSession(session?: IDebugSession): Promise<void>;
79
- clearRepl(): Promise<void>;
80
- acceptReplInput(): void;
81
- sendReplInput(input: string): void;
82
- getVisibleContent(): string;
83
- protected layoutBodyContent(height: number, width: number): void;
84
- collapseAll(): void;
85
- getDebugSession(): IDebugSession | undefined;
86
- getReplInput(): CodeEditorWidget;
87
- getReplDataSource(): IAsyncDataSource<IDebugSession, IReplElement> | undefined;
88
- getFocusedElement(): IReplElement | undefined;
89
- focusTree(): void;
90
- focus(): Promise<void>;
91
- createActionViewItem(action: IAction): IActionViewItem | undefined;
92
- private get isMultiSessionView();
93
- private get refreshScheduler();
94
- render(): void;
95
- protected renderBody(parent: HTMLElement): void;
96
- private createReplTree;
97
- private createReplInput;
98
- private getAriaLabel;
99
- private onContextMenu;
100
- private refreshReplElements;
101
- private updateInputDecoration;
102
- saveState(): void;
103
- dispose(): void;
104
- }
105
- export declare function getReplView(viewsService: IViewsService): Repl | undefined;