@codingame/monaco-vscode-debug-service-override 1.85.6 → 2.0.0-v2.1
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/debug.js +3 -3
- package/package.json +5 -5
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +46 -46
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +97 -97
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +28 -28
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +46 -46
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +30 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +36 -36
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +41 -41
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +26 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +46 -46
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +28 -28
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +23 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +37 -48
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +23 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +28 -28
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +19 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +30 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +42 -42
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +19 -19
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +6 -6
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +20 -20
- package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +5 -5
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -45
package/debug.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SyncDescriptor } from '
|
|
1
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
2
|
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
3
3
|
import { DebugService } from './vscode/src/vs/workbench/contrib/debug/browser/debugService.js';
|
|
4
|
-
import { LanguageFeaturesService } from '
|
|
5
|
-
import { ILanguageFeaturesService } from '
|
|
4
|
+
import { LanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeaturesService';
|
|
5
|
+
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
6
6
|
import { ConfigurationResolverService } from './vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js';
|
|
7
7
|
import { IConfigurationResolverService } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolver';
|
|
8
8
|
import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-debug-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-v2.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git
|
|
12
|
+
"url": "git@github.com:CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
22
|
-
"
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@2.0.0-v2.1",
|
|
22
|
+
"vscode-marked": "npm:marked@=3.0.2",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "2.0.0-v2.1"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Emitter } from '
|
|
2
|
-
import { Disposable } from '
|
|
1
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
3
|
|
|
4
4
|
class ExtensionHostDebugBroadcastChannel {
|
|
5
5
|
constructor() {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import
|
|
3
|
-
import { ActionBar } from '
|
|
4
|
-
import { HighlightedLabel } from '
|
|
5
|
-
import { InputBox } from '
|
|
6
|
-
import { Codicon } from '
|
|
7
|
-
import { ThemeIcon } from '
|
|
8
|
-
import { createMatches } from '
|
|
9
|
-
import { createSingleCallFunction } from '
|
|
10
|
-
import { DisposableStore, dispose, toDisposable } from '
|
|
11
|
-
import { localizeWithPath } from '
|
|
12
|
-
import { IContextViewService } from '
|
|
13
|
-
import { defaultInputBoxStyles } from '
|
|
2
|
+
import { append, addDisposableListener, EventType, clearNode, addStandardDisposableListener, $ as $$1 } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
|
+
import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
4
|
+
import { HighlightedLabel } from 'vscode/vscode/vs/base/browser/ui/highlightedlabel/highlightedLabel';
|
|
5
|
+
import { InputBox } from 'vscode/vscode/vs/base/browser/ui/inputbox/inputBox';
|
|
6
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
7
|
+
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
8
|
+
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
9
|
+
import { createSingleCallFunction } from 'vscode/vscode/vs/base/common/functional';
|
|
10
|
+
import { DisposableStore, dispose, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
11
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
12
|
+
import { IContextViewService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
13
|
+
import { defaultInputBoxStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
|
|
14
14
|
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
15
15
|
import { Expression, Variable, ExpressionContainer } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
16
16
|
import { ReplEvaluationResult } from '../common/replModel.js';
|
|
@@ -18,7 +18,7 @@ import { ReplEvaluationResult } from '../common/replModel.js';
|
|
|
18
18
|
const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
|
|
19
19
|
const booleanRegex = /^(true|false)$/i;
|
|
20
20
|
const stringRegex = /^(['"]).*\1$/;
|
|
21
|
-
const $ =
|
|
21
|
+
const $ = $$1;
|
|
22
22
|
function renderViewTree(container) {
|
|
23
23
|
const treeContainer = $('.');
|
|
24
24
|
treeContainer.classList.add('debug-view-content');
|
|
@@ -100,26 +100,26 @@ let AbstractExpressionsRenderer = class AbstractExpressionsRenderer {
|
|
|
100
100
|
this.contextViewService = contextViewService;
|
|
101
101
|
}
|
|
102
102
|
renderTemplate(container) {
|
|
103
|
-
const expression =
|
|
104
|
-
const name =
|
|
105
|
-
const lazyButton =
|
|
103
|
+
const expression = append(container, $('.expression'));
|
|
104
|
+
const name = append(expression, $('span.name'));
|
|
105
|
+
const lazyButton = append(expression, $('span.lazy-button'));
|
|
106
106
|
lazyButton.classList.add(...ThemeIcon.asClassNameArray(Codicon.eye));
|
|
107
107
|
lazyButton.title = ( localizeWithPath(
|
|
108
108
|
'vs/workbench/contrib/debug/browser/baseDebugView',
|
|
109
109
|
'debug.lazyButton.tooltip',
|
|
110
110
|
"Click to expand"
|
|
111
111
|
));
|
|
112
|
-
const value =
|
|
112
|
+
const value = append(expression, $('span.value'));
|
|
113
113
|
const label = ( new HighlightedLabel(name));
|
|
114
|
-
const inputBoxContainer =
|
|
114
|
+
const inputBoxContainer = append(expression, $('.inputBoxContainer'));
|
|
115
115
|
const templateDisposable = ( new DisposableStore());
|
|
116
116
|
let actionBar;
|
|
117
117
|
if (this.renderActionBar) {
|
|
118
|
-
|
|
118
|
+
append(expression, $('.span.actionbar-spacer'));
|
|
119
119
|
actionBar = templateDisposable.add(( new ActionBar(expression)));
|
|
120
120
|
}
|
|
121
121
|
const template = { expression, name, value, label, inputBoxContainer, actionBar, elementDisposable: [], templateDisposable, lazyButton, currentElement: undefined };
|
|
122
|
-
templateDisposable.add(
|
|
122
|
+
templateDisposable.add(addDisposableListener(lazyButton, EventType.CLICK, () => {
|
|
123
123
|
if (template.currentElement) {
|
|
124
124
|
this.debugService.getViewModel().evaluateLazyExpression(template.currentElement);
|
|
125
125
|
}
|
|
@@ -144,7 +144,7 @@ let AbstractExpressionsRenderer = class AbstractExpressionsRenderer {
|
|
|
144
144
|
nameElement.style.display = 'none';
|
|
145
145
|
valueElement.style.display = 'none';
|
|
146
146
|
inputBoxContainer.style.display = 'initial';
|
|
147
|
-
|
|
147
|
+
clearNode(inputBoxContainer);
|
|
148
148
|
const inputBox = ( new InputBox(
|
|
149
149
|
inputBoxContainer,
|
|
150
150
|
this.contextViewService,
|
|
@@ -166,7 +166,7 @@ let AbstractExpressionsRenderer = class AbstractExpressionsRenderer {
|
|
|
166
166
|
});
|
|
167
167
|
const toDispose = [
|
|
168
168
|
inputBox,
|
|
169
|
-
|
|
169
|
+
addStandardDisposableListener(inputBox.inputElement, EventType.KEY_DOWN, (e) => {
|
|
170
170
|
const isEscape = e.equals(9 );
|
|
171
171
|
const isEnter = e.equals(3 );
|
|
172
172
|
if (isEscape || isEnter) {
|
|
@@ -175,10 +175,10 @@ let AbstractExpressionsRenderer = class AbstractExpressionsRenderer {
|
|
|
175
175
|
done(isEnter, true);
|
|
176
176
|
}
|
|
177
177
|
}),
|
|
178
|
-
|
|
178
|
+
addDisposableListener(inputBox.inputElement, EventType.BLUR, () => {
|
|
179
179
|
done(true, true);
|
|
180
180
|
}),
|
|
181
|
-
|
|
181
|
+
addDisposableListener(inputBox.inputElement, EventType.CLICK, e => {
|
|
182
182
|
e.preventDefault();
|
|
183
183
|
e.stopPropagation();
|
|
184
184
|
})
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import
|
|
3
|
-
import { ActionBar } from '
|
|
4
|
-
import { HighlightedLabel } from '
|
|
5
|
-
import { Action } from '
|
|
6
|
-
import { RunOnceScheduler } from '
|
|
7
|
-
import { Codicon } from '
|
|
8
|
-
import { Event } from '
|
|
9
|
-
import { createMatches } from '
|
|
10
|
-
import { DisposableStore, dispose } from '
|
|
11
|
-
import { posix } from '
|
|
12
|
-
import { commonSuffixLength } from '
|
|
13
|
-
import { localizeWithPath } from '
|
|
14
|
-
import { MenuEntryActionViewItem, SubmenuEntryActionViewItem, createAndFillInContextMenuActions, createAndFillInActionBarActions } from '
|
|
15
|
-
import { MenuItemAction, SubmenuItemAction, MenuId, registerAction2, MenuRegistry, IMenuService } from '
|
|
16
|
-
import { IConfigurationService } from '
|
|
17
|
-
import { ContextKeyExpr, IContextKeyService } from '
|
|
18
|
-
import { IContextMenuService } from '
|
|
19
|
-
import { IInstantiationService } from '
|
|
20
|
-
import { IKeybindingService } from '
|
|
21
|
-
import { ILabelService } from '
|
|
22
|
-
import { WorkbenchCompressibleAsyncDataTree } from '
|
|
23
|
-
import { INotificationService } from '
|
|
24
|
-
import { IOpenerService } from '
|
|
25
|
-
import { ITelemetryService } from '
|
|
26
|
-
import { asCssVariable, textLinkForeground } from '
|
|
27
|
-
import { IThemeService } from '
|
|
28
|
-
import { ThemeIcon } from '
|
|
2
|
+
import { append, $ as $$1 } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
|
+
import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
4
|
+
import { HighlightedLabel } from 'vscode/vscode/vs/base/browser/ui/highlightedlabel/highlightedLabel';
|
|
5
|
+
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
6
|
+
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
7
|
+
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
8
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
9
|
+
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
10
|
+
import { DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
11
|
+
import { posix } from 'vscode/vscode/vs/base/common/path';
|
|
12
|
+
import { commonSuffixLength } from 'vscode/vscode/vs/base/common/strings';
|
|
13
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
14
|
+
import { MenuEntryActionViewItem, SubmenuEntryActionViewItem, createAndFillInContextMenuActions, createAndFillInActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
15
|
+
import { MenuItemAction, SubmenuItemAction, MenuId, registerAction2, MenuRegistry, IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
16
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
17
|
+
import { ContextKeyExpr, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
18
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
19
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
20
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
21
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
22
|
+
import { WorkbenchCompressibleAsyncDataTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
23
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
24
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
25
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
26
|
+
import { asCssVariable, textLinkForeground } from 'vscode/vscode/vs/platform/theme/common/colorRegistry';
|
|
27
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
28
|
+
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
29
29
|
import { ViewAction, ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
30
30
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
31
31
|
import { renderViewTree } from './baseDebugView.js';
|
|
@@ -37,7 +37,7 @@ import { Thread, StackFrame, ThreadAndSessionIds } from 'vscode/vscode/vs/workbe
|
|
|
37
37
|
import { isSessionAttach } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
38
38
|
|
|
39
39
|
var SessionsRenderer_1, ThreadsRenderer_1, StackFramesRenderer_1;
|
|
40
|
-
const $ =
|
|
40
|
+
const $ = $$1;
|
|
41
41
|
function assignSessionContext(element, context) {
|
|
42
42
|
context.sessionId = element.getId();
|
|
43
43
|
return context;
|
|
@@ -168,9 +168,9 @@ let CallStackView = class CallStackView extends ViewPane {
|
|
|
168
168
|
}
|
|
169
169
|
renderHeaderTitle(container) {
|
|
170
170
|
super.renderHeaderTitle(container, this.options.title);
|
|
171
|
-
this.stateMessage =
|
|
171
|
+
this.stateMessage = append(container, $('span.call-stack-state-message'));
|
|
172
172
|
this.stateMessage.hidden = true;
|
|
173
|
-
this.stateMessageLabel =
|
|
173
|
+
this.stateMessageLabel = append(this.stateMessage, $('span.label'));
|
|
174
174
|
}
|
|
175
175
|
renderBody(container) {
|
|
176
176
|
super.renderBody(container);
|
|
@@ -440,10 +440,10 @@ let SessionsRenderer = class SessionsRenderer {
|
|
|
440
440
|
return SessionsRenderer_1.ID;
|
|
441
441
|
}
|
|
442
442
|
renderTemplate(container) {
|
|
443
|
-
const session =
|
|
444
|
-
|
|
445
|
-
const name =
|
|
446
|
-
const stateLabel =
|
|
443
|
+
const session = append(container, $('.session'));
|
|
444
|
+
append(session, $(ThemeIcon.asCSSSelector(callstackViewSession)));
|
|
445
|
+
const name = append(session, $('.name'));
|
|
446
|
+
const stateLabel = append(session, $('span.state.label.monaco-count-badge.long'));
|
|
447
447
|
const label = ( new HighlightedLabel(name));
|
|
448
448
|
const templateDisposable = ( new DisposableStore());
|
|
449
449
|
const stopActionViewItemDisposables = templateDisposable.add(( new DisposableStore()));
|
|
@@ -550,9 +550,9 @@ let ThreadsRenderer = class ThreadsRenderer {
|
|
|
550
550
|
return ThreadsRenderer_1.ID;
|
|
551
551
|
}
|
|
552
552
|
renderTemplate(container) {
|
|
553
|
-
const thread =
|
|
554
|
-
const name =
|
|
555
|
-
const stateLabel =
|
|
553
|
+
const thread = append(container, $('.thread'));
|
|
554
|
+
const name = append(thread, $('.name'));
|
|
555
|
+
const stateLabel = append(thread, $('span.state.label.monaco-count-badge.long'));
|
|
556
556
|
const label = ( new HighlightedLabel(name));
|
|
557
557
|
const templateDisposable = ( new DisposableStore());
|
|
558
558
|
const actionBar = templateDisposable.add(( new ActionBar(thread)));
|
|
@@ -610,12 +610,12 @@ let StackFramesRenderer = class StackFramesRenderer {
|
|
|
610
610
|
return StackFramesRenderer_1.ID;
|
|
611
611
|
}
|
|
612
612
|
renderTemplate(container) {
|
|
613
|
-
const stackFrame =
|
|
614
|
-
const labelDiv =
|
|
615
|
-
const file =
|
|
616
|
-
const fileName =
|
|
617
|
-
const wrapper =
|
|
618
|
-
const lineNumber =
|
|
613
|
+
const stackFrame = append(container, $('.stack-frame'));
|
|
614
|
+
const labelDiv = append(stackFrame, $('span.label.expression'));
|
|
615
|
+
const file = append(stackFrame, $('.file'));
|
|
616
|
+
const fileName = append(file, $('span.file-name'));
|
|
617
|
+
const wrapper = append(file, $('span.line-number-wrapper'));
|
|
618
|
+
const lineNumber = append(wrapper, $('span.line-number.monaco-count-badge'));
|
|
619
619
|
const label = ( new HighlightedLabel(labelDiv));
|
|
620
620
|
const templateDisposable = ( new DisposableStore());
|
|
621
621
|
const actionBar = templateDisposable.add(( new ActionBar(stackFrame)));
|
|
@@ -678,7 +678,7 @@ class ErrorsRenderer {
|
|
|
678
678
|
return ErrorsRenderer.ID;
|
|
679
679
|
}
|
|
680
680
|
renderTemplate(container) {
|
|
681
|
-
const label =
|
|
681
|
+
const label = append(container, $('.error'));
|
|
682
682
|
return { label };
|
|
683
683
|
}
|
|
684
684
|
renderElement(element, index, data) {
|
|
@@ -704,7 +704,7 @@ class LoadMoreRenderer {
|
|
|
704
704
|
return LoadMoreRenderer.ID;
|
|
705
705
|
}
|
|
706
706
|
renderTemplate(container) {
|
|
707
|
-
const label =
|
|
707
|
+
const label = append(container, $('.load-all'));
|
|
708
708
|
label.style.color = asCssVariable(textLinkForeground);
|
|
709
709
|
return { label };
|
|
710
710
|
}
|
|
@@ -724,7 +724,7 @@ class ShowMoreRenderer {
|
|
|
724
724
|
return ShowMoreRenderer.ID;
|
|
725
725
|
}
|
|
726
726
|
renderTemplate(container) {
|
|
727
|
-
const label =
|
|
727
|
+
const label = append(container, $('.show-more'));
|
|
728
728
|
label.style.color = asCssVariable(textLinkForeground);
|
|
729
729
|
return { label };
|
|
730
730
|
}
|