@theia/debug 1.65.0-next.55 → 1.65.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/lib/browser/console/debug-console-items.d.ts.map +1 -1
- package/lib/browser/console/debug-console-items.js +1 -1
- package/lib/browser/console/debug-console-items.js.map +1 -1
- package/lib/browser/debug-configuration-manager.js +3 -3
- package/lib/browser/debug-configuration-manager.js.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.d.ts +4 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.js +46 -35
- package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
- package/lib/browser/debug-prefix-configuration.d.ts.map +1 -1
- package/lib/browser/debug-prefix-configuration.js +2 -1
- package/lib/browser/debug-prefix-configuration.js.map +1 -1
- package/lib/browser/debug-session-manager.d.ts.map +1 -1
- package/lib/browser/debug-session-manager.js +14 -8
- package/lib/browser/debug-session-manager.js.map +1 -1
- package/lib/browser/debug-session.d.ts.map +1 -1
- package/lib/browser/debug-session.js +2 -2
- package/lib/browser/debug-session.js.map +1 -1
- package/lib/browser/disassembly-view/disassembly-view-contribution.js +1 -1
- package/lib/browser/disassembly-view/disassembly-view-contribution.js.map +1 -1
- package/lib/browser/editor/debug-editor-model.js +1 -1
- package/lib/browser/editor/debug-editor-model.js.map +1 -1
- package/lib/browser/model/debug-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-breakpoint.js +3 -2
- package/lib/browser/model/debug-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-instruction-breakpoint.js +1 -1
- package/lib/browser/model/debug-instruction-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-source-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-source-breakpoint.js +10 -9
- package/lib/browser/model/debug-source-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-thread.js +1 -1
- package/lib/browser/model/debug-thread.js.map +1 -1
- package/lib/browser/view/debug-stack-frames-source.d.ts.map +1 -1
- package/lib/browser/view/debug-stack-frames-source.js +2 -1
- package/lib/browser/view/debug-stack-frames-source.js.map +1 -1
- package/lib/browser/view/debug-view-model.d.ts.map +1 -1
- package/lib/browser/view/debug-view-model.js +1 -1
- package/lib/browser/view/debug-view-model.js.map +1 -1
- package/lib/common/debug-preferences.js +3 -3
- package/lib/common/debug-preferences.js.map +1 -1
- package/lib/common/inline-debug-adapter.d.ts +2 -0
- package/lib/common/inline-debug-adapter.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/browser/console/debug-console-items.tsx +1 -1
- package/src/browser/debug-configuration-manager.ts +3 -3
- package/src/browser/debug-frontend-application-contribution.ts +51 -36
- package/src/browser/debug-prefix-configuration.ts +2 -2
- package/src/browser/debug-session-manager.ts +14 -8
- package/src/browser/debug-session.tsx +3 -2
- package/src/browser/disassembly-view/disassembly-view-contribution.ts +1 -1
- package/src/browser/editor/debug-editor-model.ts +1 -1
- package/src/browser/model/debug-breakpoint.tsx +3 -2
- package/src/browser/model/debug-instruction-breakpoint.tsx +1 -1
- package/src/browser/model/debug-source-breakpoint.tsx +13 -10
- package/src/browser/model/debug-thread.tsx +1 -1
- package/src/browser/view/debug-stack-frames-source.tsx +2 -1
- package/src/browser/view/debug-view-model.ts +2 -2
- package/src/common/debug-preferences.ts +3 -3
|
@@ -22,6 +22,7 @@ const inversify_1 = require("@theia/core/shared/inversify");
|
|
|
22
22
|
const source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
23
23
|
const debug_view_model_1 = require("./debug-view-model");
|
|
24
24
|
const debounce = require("p-debounce");
|
|
25
|
+
const core_1 = require("@theia/core");
|
|
25
26
|
let DebugStackFramesSource = class DebugStackFramesSource extends source_tree_1.TreeSource {
|
|
26
27
|
constructor() {
|
|
27
28
|
super(...arguments);
|
|
@@ -69,7 +70,7 @@ class LoadMoreStackFrames {
|
|
|
69
70
|
this.thread = thread;
|
|
70
71
|
}
|
|
71
72
|
render() {
|
|
72
|
-
return React.createElement("span", { className: 'theia-load-more-frames' },
|
|
73
|
+
return React.createElement("span", { className: 'theia-load-more-frames' }, core_1.nls.localizeByDefault('Load More Stack Frames'));
|
|
73
74
|
}
|
|
74
75
|
async open() {
|
|
75
76
|
const frames = await this.thread.fetchFrames();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-stack-frames-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-stack-frames-source.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,kDAAkD;AAClD,4DAAiF;AACjF,qEAA8E;AAE9E,yDAAoD;AACpD,uCAAwC;
|
|
1
|
+
{"version":3,"file":"debug-stack-frames-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-stack-frames-source.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,kDAAkD;AAClD,4DAAiF;AACjF,qEAA8E;AAE9E,yDAAoD;AACpD,uCAAwC;AACxC,sCAAkC;AAG3B,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,wBAAU;IAA/C;;QAWgB,YAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,GAAG,CAAC,CAAC;IAoB3E,CAAC;IAzBa,IAAI;QACV,IAAI,CAAC,OAAO,EAAE,CAAC;QACf,IAAI,C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AE,CAAC;QAC/C,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;YACZ,IAAI,CAAC,MAAM,CAAC,YAAY,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;QACzC,CAAC;IACL,CAAC;CAEJ;AAjBD,kDAiBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-view-model.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-view-model.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,KAAK,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"debug-view-model.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-view-model.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,KAAK,EAAE,OAAO,EAAkB,MAAM,wBAAwB,CAAC;AAC1G,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,qBACa,cAAe,YAAW,UAAU;IAE7C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,gBAAuB;IAC5D,QAAQ,CAAC,WAAW,E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E,CAEzD;IAEK,KAAK,CAAC,OAAO,GAAE,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,eAAe,CAAC,CAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAY3F,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IASxB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAIhC,IAAI,gBAAgB,IAAI,gBAAgB,CAAC,oBAAoB,CAAC,CAE7D;IAEK,kBAAkB,CAAC,UAAU,GAAE,MAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;IAgB5F,sBAAsB,IAAI,IAAI;IAI9B,qBAAqB,CAAC,UAAU,EAAE,oBAAoB,GAAG,IAAI;IAI7D,SAAS,CAAC,sBAAsB,IAAI,IAAI;IA0BxC,SAAS,CAAC,4BAA4B,gBAAqB;IAC3D,SAAS,CAAC,uBAAuB,sBAQ1B;CAEV"}
|
|
@@ -69,7 +69,7 @@ let DebugViewModel = class DebugViewModel {
|
|
|
69
69
|
return this.session && this.session.id || '-1';
|
|
70
70
|
}
|
|
71
71
|
get label() {
|
|
72
|
-
return this.session && this.session.label || 'Unknown Session';
|
|
72
|
+
return this.session && this.session.label || common_1.nls.localize('theia/debug/unknownSession', 'Unknown Session');
|
|
73
73
|
}
|
|
74
74
|
init() {
|
|
75
75
|
this.toDispose.push(this.manager.onDidChangeActiveDebugSession(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-view-model.js","sourceRoot":"","sources":["../../../src/browser/view/debug-view-model.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,2CAAkC;AAClC,4DAAiF;AACjF,
|
|
1
|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
'debug.confirmOnExit': {
|
|
54
|
-
description: 'Controls whether to confirm when the window closes if there are active debug sessions.',
|
|
54
|
+
description: nls_1.nls.localizeByDefault('Controls whether to confirm when the window closes if there are active debug sessions.'),
|
|
55
55
|
type: 'string',
|
|
56
56
|
enum: ['never', 'always'],
|
|
57
57
|
enumDescriptions: [
|
|
58
|
-
'Never confirm.',
|
|
59
|
-
'Always confirm if there are debug sessions.',
|
|
58
|
+
nls_1.nls.localizeByDefault('Never confirm.'),
|
|
59
|
+
nls_1.nls.localizeByDefault('Always confirm if there are debug sessions.'),
|
|
60
60
|
],
|
|
61
61
|
default: 'never'
|
|
62
62
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-preferences.js","sourceRoot":"","sources":["../../src/common/debug-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,oDAAiD;AACjD,oEAAyJ;AAG5I,QAAA,sBAAsB,GAAqB;IACpD,UAAU,EAAE;QACR,aAAa,EAAE;YACX,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,SAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,2DAA2D,CAAC;SACtH;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,CAAC,WAAW,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,kBAAkB,CAAC;YACxF,OAAO,EAAE,oBAAoB;YAC7B,WAAW,EAAE,SAAG,CAAC,iBAAiB,CAAC,2CAA2C,CAAC;SAClF;QACD,8BAA8B,EAAE;YAC5B,IAAI,EAAE,CAAC,WAAW,EAAE,oBAAoB,EAAE,yBAAyB,CAAC;YACpE,OAAO,EAAE,yBAAyB;YAClC,WAAW,EAAE,SAAG,CAAC,iBAAiB,CAAC,uDAAuD,CAAC;SAC9F;QACD,oBAAoB,EAAE;YAClB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,SAAG,CAAC,iBAAiB,CAAC,wDAAwD,CAAC;SAC/F;QACD,uBAAuB,EAAE;YACrB,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,qBAAqB,CAAC;YAChD,gBAAgB,EAAE;gBACd,SAAG,CAAC,iBAAiB,CAAC,gCAAgC,CAAC;gBACvD,SAAG,CAAC,iBAAiB,CAAC,iCAAiC,CAAC;gBACxD,SAAG,CAAC,iBAAiB,CAAC,0EAA0E,CAAC;aACpG;YACD,WAAW,EAAE,SAAG,CAAC,iBAAiB,CAAC,uDAAuD,CAAC;YAC3F,OAAO,EAAE,qBAAqB;SACjC;QACD,qBAAqB,EAAE;YACnB,WAAW,EAAE,wFAAwF;
|
|
1
|
+
{"version":3,"file":"debug-preferences.js","sourceRoot":"","sources":["../../src/common/debug-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,oDAAiD;AACjD,oEAAyJ;AAG5I,QAAA,sBAAsB,GAAqB;IACpD,UAAU,EAAE;QACR,aAAa,EAAE;YACX,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,SAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,2DAA2D,CAAC;SACtH;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,CAAC,WAAW,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,kBAAkB,CAAC;YACxF,OAAO,EAAE,o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,2BAA2B,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC;AACpE,QAAA,gBAAgB,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;AAG3D,SAAgB,sBAAsB,CAAC,WAA8B,EAAE,SAA2B,8BAAsB;IACpH,OAAO,IAAA,mCAAqB,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AACtD,CAAC;AAFD,wDAEC;AAED,SAAgB,oBAAoB,CAAC,IAAqB;IACtD,IAAI,CAAC,wBAAgB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QACxC,MAAM,WAAW,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAoB,+BAAiB,CAAC,CAAC;QAC5E,MAAM,YAAY,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAyB,mCAA2B,CAAC,CAAC;QAC5F,OAAO,sBAAsB,CAAC,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtB,IAAI,CAAC,mCAA2B,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,8BAAsB,EAAE,CAAC,CAAC;IACtF,IAAI,CAAC,oCAAsB,CAAC,CAAC,SAAS,CAAC,mCAA2B,CAAC,CAAC;AACxE,CAAC;AARD,oDAQC"}
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
/// <reference types="@theia/plugin/src/theia.proposed.notebookKernelSource" />
|
|
5
5
|
/// <reference types="@theia/plugin/src/theia.proposed.notebookMessaging" />
|
|
6
6
|
/// <reference types="@theia/plugin/src/theia.proposed.portsAttributes" />
|
|
7
|
+
/// <reference types="@theia/plugin/src/theia.proposed.scmProviderOptions" />
|
|
7
8
|
/// <reference types="@theia/plugin/src/theia.proposed.terminalCompletionProvider" />
|
|
9
|
+
/// <reference types="@theia/plugin/src/theia.proposed.textEditorDiffInformation" />
|
|
8
10
|
/// <reference types="@theia/plugin/src/theia-extra" />
|
|
9
11
|
/// <reference types="@theia/plugin/src/theia.proposed.canonicalUriProvider" />
|
|
10
12
|
/// <reference types="@theia/plugin/src/theia.proposed.customEditorMove" />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-debug-adapter.d.ts","sourceRoot":"","sources":["../../src/common/inline-debug-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"inline-debug-adapter.d.ts","sourceRoot":"","sources":["../../src/common/inline-debug-adapter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,OAAO,EAAW,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAEvC;;GAEG;AACH,qBAAa,kBAAmB,YAAW,YAAY;IAOvC,OAAO,CAAC,YAAY;IANhC,OAAO,CAAC,sBAAsB,CAAyB;IACvD,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAqC;IACrE,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAc;IACnC,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,CAA2B;gBAE3B,YAAY,EAAE,KAAK,CAAC,YAAY;IAM9C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAG5B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG9B"}
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/debug",
|
|
3
|
-
"version": "1.65.0
|
|
3
|
+
"version": "1.65.0",
|
|
4
4
|
"description": "Theia - Debug Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/console": "1.65.0
|
|
7
|
-
"@theia/core": "1.65.0
|
|
8
|
-
"@theia/editor": "1.65.0
|
|
9
|
-
"@theia/filesystem": "1.65.0
|
|
10
|
-
"@theia/markers": "1.65.0
|
|
11
|
-
"@theia/monaco": "1.65.0
|
|
6
|
+
"@theia/console": "1.65.0",
|
|
7
|
+
"@theia/core": "1.65.0",
|
|
8
|
+
"@theia/editor": "1.65.0",
|
|
9
|
+
"@theia/filesystem": "1.65.0",
|
|
10
|
+
"@theia/markers": "1.65.0",
|
|
11
|
+
"@theia/monaco": "1.65.0",
|
|
12
12
|
"@theia/monaco-editor-core": "1.96.302",
|
|
13
|
-
"@theia/output": "1.65.0
|
|
14
|
-
"@theia/process": "1.65.0
|
|
15
|
-
"@theia/task": "1.65.0
|
|
16
|
-
"@theia/terminal": "1.65.0
|
|
17
|
-
"@theia/test": "1.65.0
|
|
18
|
-
"@theia/variable-resolver": "1.65.0
|
|
19
|
-
"@theia/workspace": "1.65.0
|
|
13
|
+
"@theia/output": "1.65.0",
|
|
14
|
+
"@theia/process": "1.65.0",
|
|
15
|
+
"@theia/task": "1.65.0",
|
|
16
|
+
"@theia/terminal": "1.65.0",
|
|
17
|
+
"@theia/test": "1.65.0",
|
|
18
|
+
"@theia/variable-resolver": "1.65.0",
|
|
19
|
+
"@theia/workspace": "1.65.0",
|
|
20
20
|
"@vscode/debugprotocol": "^1.51.0",
|
|
21
21
|
"fast-deep-equal": "^3.1.3",
|
|
22
22
|
"jsonc-parser": "^2.2.0",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"watch": "theiaext watch"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@theia/ext-scripts": "1.
|
|
62
|
+
"@theia/ext-scripts": "1.65.0"
|
|
63
63
|
},
|
|
64
64
|
"nyc": {
|
|
65
65
|
"extends": "../../configs/nyc.json"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "500dfc80cee94fd2a623b5fb59b22d5a575247c2"
|
|
68
68
|
}
|
|
@@ -287,7 +287,7 @@ export namespace VirtualVariableItem {
|
|
|
287
287
|
export class ExpressionItem extends ExpressionContainer {
|
|
288
288
|
|
|
289
289
|
severity?: Severity;
|
|
290
|
-
static notAvailable = 'not available';
|
|
290
|
+
static notAvailable = nls.localizeByDefault('not available');
|
|
291
291
|
|
|
292
292
|
protected _value = ExpressionItem.notAvailable;
|
|
293
293
|
get value(): string {
|
|
@@ -510,8 +510,8 @@ export class DebugConfigurationManager {
|
|
|
510
510
|
|
|
511
511
|
protected getInitialConfigurationContent(initialConfigurations: DebugConfiguration[]): string {
|
|
512
512
|
return `{
|
|
513
|
-
// Use IntelliSense to learn about possible attributes.
|
|
514
|
-
// Hover to view descriptions of existing attributes.
|
|
513
|
+
// ${nls.localizeByDefault('Use IntelliSense to learn about possible attributes.')}
|
|
514
|
+
// ${nls.localizeByDefault('Hover to view descriptions of existing attributes.')}
|
|
515
515
|
"version": "0.2.0",
|
|
516
516
|
"configurations": ${JSON.stringify(initialConfigurations, undefined, ' ').split('\n').map(line => ' ' + line).join('\n').trim()}
|
|
517
517
|
}
|
|
@@ -529,7 +529,7 @@ export class DebugConfigurationManager {
|
|
|
529
529
|
return undefined;
|
|
530
530
|
}
|
|
531
531
|
const items: Array<QuickPickValue<string>> = debuggers.map(({ label, type }) => ({ label, value: type }));
|
|
532
|
-
const selectedItem = await this.quickPickService.show(items, { placeholder: 'Select
|
|
532
|
+
const selectedItem = await this.quickPickService.show(items, { placeholder: nls.localizeByDefault('Select debugger') });
|
|
533
533
|
return selectedItem?.value;
|
|
534
534
|
}
|
|
535
535
|
|
|
@@ -58,6 +58,9 @@ import { DebugInstructionBreakpoint } from './model/debug-instruction-breakpoint
|
|
|
58
58
|
import { DebugConfiguration } from '../common/debug-configuration';
|
|
59
59
|
import { DebugExceptionBreakpoint } from './view/debug-exception-breakpoint';
|
|
60
60
|
import { DebugToolBar } from './view/debug-toolbar-widget';
|
|
61
|
+
import { ConsoleWidget } from '@theia/console/lib/browser/console-widget';
|
|
62
|
+
import { ConsoleContentWidget } from '@theia/console/lib/browser/console-content-widget';
|
|
63
|
+
import { ConsoleContextMenu } from '@theia/console/lib/browser/console-contribution';
|
|
61
64
|
|
|
62
65
|
export namespace DebugMenus {
|
|
63
66
|
export const DEBUG = [...MAIN_MENU_BAR, '6_debug'];
|
|
@@ -193,21 +196,21 @@ export namespace DebugCommands {
|
|
|
193
196
|
category: DEBUG_CATEGORY,
|
|
194
197
|
label: 'Add Function Breakpoint',
|
|
195
198
|
});
|
|
196
|
-
export const ENABLE_SELECTED_BREAKPOINTS = Command.
|
|
199
|
+
export const ENABLE_SELECTED_BREAKPOINTS = Command.toLocalizedCommand({
|
|
197
200
|
id: 'debug.breakpoint.enableSelected',
|
|
198
201
|
category: DEBUG_CATEGORY,
|
|
199
202
|
label: 'Enable Selected Breakpoints',
|
|
200
|
-
});
|
|
203
|
+
}, 'theia/debug/enableSelectedBreakpoints', DEBUG_CATEGORY_KEY);
|
|
201
204
|
export const ENABLE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
|
|
202
205
|
id: 'debug.breakpoint.enableAll',
|
|
203
206
|
category: DEBUG_CATEGORY,
|
|
204
207
|
label: 'Enable All Breakpoints',
|
|
205
208
|
});
|
|
206
|
-
export const DISABLE_SELECTED_BREAKPOINTS = Command.
|
|
209
|
+
export const DISABLE_SELECTED_BREAKPOINTS = Command.toLocalizedCommand({
|
|
207
210
|
id: 'debug.breakpoint.disableSelected',
|
|
208
211
|
category: DEBUG_CATEGORY,
|
|
209
212
|
label: 'Disable Selected Breakpoints',
|
|
210
|
-
});
|
|
213
|
+
}, 'theia/debug/disableSelectedBreakpoints', DEBUG_CATEGORY_KEY);
|
|
211
214
|
export const DISABLE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
|
|
212
215
|
id: 'debug.breakpoint.disableAll',
|
|
213
216
|
category: DEBUG_CATEGORY,
|
|
@@ -555,7 +558,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
555
558
|
|
|
556
559
|
override registerMenus(menus: MenuModelRegistry): void {
|
|
557
560
|
super.registerMenus(menus);
|
|
558
|
-
const registerMenuActions = (menuPath: string[], ...commands: Command[]) => {
|
|
561
|
+
const registerMenuActions = (menuPath: string[], ...commands: (Command & { order?: string })[]) => {
|
|
559
562
|
for (const [index, command] of commands.entries()) {
|
|
560
563
|
const label = command.label;
|
|
561
564
|
const debug = `${DebugCommands.DEBUG_CATEGORY}:`;
|
|
@@ -563,7 +566,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
563
566
|
commandId: command.id,
|
|
564
567
|
label: label && label.startsWith(debug) && label.slice(debug.length).trimStart() || label,
|
|
565
568
|
icon: command.iconClass,
|
|
566
|
-
order: String.fromCharCode('a'.charCodeAt(0) + index)
|
|
569
|
+
order: command.order || String.fromCharCode('a'.charCodeAt(0) + index)
|
|
567
570
|
});
|
|
568
571
|
}
|
|
569
572
|
};
|
|
@@ -627,6 +630,10 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
627
630
|
DebugCommands.COPY_CALL_STACK
|
|
628
631
|
);
|
|
629
632
|
|
|
633
|
+
registerMenuActions(ConsoleContextMenu.CLIPBOARD,
|
|
634
|
+
{ ...DebugCommands.COPY_VARIABLE_VALUE, order: 'a1a' },
|
|
635
|
+
{ ...DebugCommands.COPY_VARIABLE_AS_EXPRESSION, order: 'a1b' }
|
|
636
|
+
);
|
|
630
637
|
registerMenuActions(DebugVariablesWidget.EDIT_MENU,
|
|
631
638
|
DebugCommands.SET_VARIABLE_VALUE,
|
|
632
639
|
DebugCommands.COPY_VARIABLE_VALUE,
|
|
@@ -690,7 +697,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
690
697
|
);
|
|
691
698
|
menus.linkCompoundMenuNode({ newParentPath: EDITOR_LINENUMBER_CONTEXT_MENU, submenuPath: DebugEditorModel.CONTEXT_MENU });
|
|
692
699
|
|
|
693
|
-
menus.registerSubmenu(DebugToolBar.MENU, 'Debug Toolbar Menu');
|
|
700
|
+
menus.registerSubmenu(DebugToolBar.MENU, nls.localize('theia/debug/debugToolbarMenu', 'Debug Toolbar Menu'));
|
|
694
701
|
}
|
|
695
702
|
|
|
696
703
|
override registerCommands(registry: CommandRegistry): void {
|
|
@@ -1492,13 +1499,20 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1492
1499
|
}
|
|
1493
1500
|
}
|
|
1494
1501
|
|
|
1502
|
+
get consoleWidget(): ConsoleWidget | undefined {
|
|
1503
|
+
const { currentWidget } = this.shell;
|
|
1504
|
+
return currentWidget instanceof ConsoleWidget && currentWidget.id === DebugConsoleContribution.options.id && currentWidget || undefined;
|
|
1505
|
+
}
|
|
1495
1506
|
get variables(): DebugVariablesWidget | undefined {
|
|
1496
1507
|
const { currentWidget } = this.shell;
|
|
1497
1508
|
return currentWidget instanceof DebugVariablesWidget && currentWidget || undefined;
|
|
1498
1509
|
}
|
|
1510
|
+
get variablesSource(): DebugVariablesWidget | ConsoleContentWidget | undefined {
|
|
1511
|
+
return this.variables ?? this.consoleWidget?.content;
|
|
1512
|
+
}
|
|
1499
1513
|
get selectedVariable(): DebugVariable | undefined {
|
|
1500
|
-
const {
|
|
1501
|
-
return
|
|
1514
|
+
const { variablesSource } = this;
|
|
1515
|
+
return variablesSource && variablesSource.selectedElement instanceof DebugVariable && variablesSource.selectedElement || undefined;
|
|
1502
1516
|
}
|
|
1503
1517
|
|
|
1504
1518
|
get watch(): DebugWatchWidget | undefined {
|
|
@@ -1528,7 +1542,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1528
1542
|
light: '#ffff6673',
|
|
1529
1543
|
hcDark: '#fff600',
|
|
1530
1544
|
hcLight: '#ffff6673'
|
|
1531
|
-
}, description: 'Background color for the highlight of line at the top stack frame position.'
|
|
1545
|
+
}, description: nls.localizeByDefault('Background color for the highlight of line at the top stack frame position.')
|
|
1532
1546
|
},
|
|
1533
1547
|
{
|
|
1534
1548
|
id: 'editor.focusedStackFrameHighlightBackground',
|
|
@@ -1537,7 +1551,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1537
1551
|
light: '#cee7ce73',
|
|
1538
1552
|
hcDark: '#cee7ce',
|
|
1539
1553
|
hcLight: '#cee7ce73'
|
|
1540
|
-
}, description: 'Background color for the highlight of line at focused stack frame position.'
|
|
1554
|
+
}, description: nls.localizeByDefault('Background color for the highlight of line at focused stack frame position.')
|
|
1541
1555
|
},
|
|
1542
1556
|
// Status bar colors should be aligned with debugging colors from https://code.visualstudio.com/api/references/theme-color#status-bar-colors
|
|
1543
1557
|
{
|
|
@@ -1546,7 +1560,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1546
1560
|
light: '#CC6633',
|
|
1547
1561
|
hcDark: '#CC6633',
|
|
1548
1562
|
hcLight: '#B5200D'
|
|
1549
|
-
}, description: 'Status bar background color when a program is being debugged. The status bar is shown in the bottom of the window'
|
|
1563
|
+
}, description: nls.localizeByDefault('Status bar background color when a program is being debugged. The status bar is shown in the bottom of the window')
|
|
1550
1564
|
},
|
|
1551
1565
|
{
|
|
1552
1566
|
id: 'statusBar.debuggingForeground', defaults: {
|
|
@@ -1554,7 +1568,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1554
1568
|
light: 'statusBar.foreground',
|
|
1555
1569
|
hcDark: 'statusBar.foreground',
|
|
1556
1570
|
hcLight: 'statusBar.foreground'
|
|
1557
|
-
}, description: 'Status bar foreground color when a program is being debugged. The status bar is shown in the bottom of the window'
|
|
1571
|
+
}, description: nls.localizeByDefault('Status bar foreground color when a program is being debugged. The status bar is shown in the bottom of the window')
|
|
1558
1572
|
},
|
|
1559
1573
|
{
|
|
1560
1574
|
id: 'statusBar.debuggingBorder', defaults: {
|
|
@@ -1562,7 +1576,8 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1562
1576
|
light: 'statusBar.border',
|
|
1563
1577
|
hcDark: 'statusBar.border',
|
|
1564
1578
|
hcLight: 'statusBar.border'
|
|
1565
|
-
}, description:
|
|
1579
|
+
}, description: nls.localizeByDefault(
|
|
1580
|
+
'Status bar border color separating to the sidebar and editor when a program is being debugged. The status bar is shown in the bottom of the window')
|
|
1566
1581
|
},
|
|
1567
1582
|
// Debug Exception Widget colors should be aligned with
|
|
1568
1583
|
// https://github.com/microsoft/vscode/blob/ff5f581425da6230b6f9216ecf19abf6c9d285a6/src/vs/workbench/contrib/debug/browser/exceptionWidget.ts#L23
|
|
@@ -1572,7 +1587,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1572
1587
|
light: '#a31515',
|
|
1573
1588
|
hcDark: '#a31515',
|
|
1574
1589
|
hcLight: '#a31515'
|
|
1575
|
-
}, description: 'Exception widget border color.',
|
|
1590
|
+
}, description: nls.localizeByDefault('Exception widget border color.'),
|
|
1576
1591
|
},
|
|
1577
1592
|
{
|
|
1578
1593
|
id: 'debugExceptionWidget.background', defaults: {
|
|
@@ -1580,7 +1595,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1580
1595
|
light: '#f1dfde',
|
|
1581
1596
|
hcDark: '#420b0d',
|
|
1582
1597
|
hcLight: '#f1dfde'
|
|
1583
|
-
}, description: 'Exception widget background color.'
|
|
1598
|
+
}, description: nls.localizeByDefault('Exception widget background color.')
|
|
1584
1599
|
},
|
|
1585
1600
|
// Debug Icon colors should be aligned with
|
|
1586
1601
|
// https://code.visualstudio.com/api/references/theme-color#debug-icons-colors
|
|
@@ -1591,7 +1606,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1591
1606
|
hcDark: '#E51400',
|
|
1592
1607
|
hcLight: '#E51400'
|
|
1593
1608
|
},
|
|
1594
|
-
description: 'Icon color for breakpoints.'
|
|
1609
|
+
description: nls.localizeByDefault('Icon color for breakpoints.')
|
|
1595
1610
|
},
|
|
1596
1611
|
{
|
|
1597
1612
|
id: 'debugIcon.breakpointDisabledForeground', defaults: {
|
|
@@ -1600,7 +1615,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1600
1615
|
hcDark: '#848484',
|
|
1601
1616
|
hcLight: '#848484'
|
|
1602
1617
|
},
|
|
1603
|
-
description: 'Icon color for disabled breakpoints.'
|
|
1618
|
+
description: nls.localizeByDefault('Icon color for disabled breakpoints.')
|
|
1604
1619
|
},
|
|
1605
1620
|
{
|
|
1606
1621
|
id: 'debugIcon.breakpointUnverifiedForeground', defaults: {
|
|
@@ -1609,7 +1624,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1609
1624
|
hcDark: '#848484',
|
|
1610
1625
|
hcLight: '#848484'
|
|
1611
1626
|
},
|
|
1612
|
-
description: 'Icon color for unverified breakpoints.'
|
|
1627
|
+
description: nls.localizeByDefault('Icon color for unverified breakpoints.')
|
|
1613
1628
|
},
|
|
1614
1629
|
{
|
|
1615
1630
|
id: 'debugIcon.breakpointCurrentStackframeForeground', defaults: {
|
|
@@ -1618,7 +1633,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1618
1633
|
hcDark: '#FFCC00',
|
|
1619
1634
|
hcLight: '#BE8700'
|
|
1620
1635
|
},
|
|
1621
|
-
description: 'Icon color for the current breakpoint stack frame.'
|
|
1636
|
+
description: nls.localizeByDefault('Icon color for the current breakpoint stack frame.')
|
|
1622
1637
|
},
|
|
1623
1638
|
{
|
|
1624
1639
|
id: 'debugIcon.breakpointStackframeForeground', defaults: {
|
|
@@ -1627,7 +1642,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1627
1642
|
hcDark: '#89D185',
|
|
1628
1643
|
hcLight: '#89D185'
|
|
1629
1644
|
},
|
|
1630
|
-
description: 'Icon color for all breakpoint stack frames.'
|
|
1645
|
+
description: nls.localizeByDefault('Icon color for all breakpoint stack frames.')
|
|
1631
1646
|
},
|
|
1632
1647
|
{
|
|
1633
1648
|
id: 'debugIcon.startForeground', defaults: {
|
|
@@ -1635,7 +1650,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1635
1650
|
light: '#388A34',
|
|
1636
1651
|
hcDark: '#89D185',
|
|
1637
1652
|
hcLight: '#388A34'
|
|
1638
|
-
}, description: 'Debug toolbar icon for start debugging.'
|
|
1653
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for start debugging.')
|
|
1639
1654
|
},
|
|
1640
1655
|
{
|
|
1641
1656
|
id: 'debugIcon.pauseForeground', defaults: {
|
|
@@ -1643,7 +1658,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1643
1658
|
light: '#007ACC',
|
|
1644
1659
|
hcDark: '#75BEFF',
|
|
1645
1660
|
hcLight: '#007ACC'
|
|
1646
|
-
}, description: 'Debug toolbar icon for pause.'
|
|
1661
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for pause.')
|
|
1647
1662
|
},
|
|
1648
1663
|
{
|
|
1649
1664
|
id: 'debugIcon.stopForeground', defaults: {
|
|
@@ -1651,7 +1666,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1651
1666
|
light: '#A1260D',
|
|
1652
1667
|
hcDark: '#F48771',
|
|
1653
1668
|
hcLight: '#A1260D'
|
|
1654
|
-
}, description: 'Debug toolbar icon for stop.'
|
|
1669
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for stop.')
|
|
1655
1670
|
},
|
|
1656
1671
|
{
|
|
1657
1672
|
id: 'debugIcon.disconnectForeground', defaults: {
|
|
@@ -1659,7 +1674,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1659
1674
|
light: '#A1260D',
|
|
1660
1675
|
hcDark: '#F48771',
|
|
1661
1676
|
hcLight: '#A1260D'
|
|
1662
|
-
}, description: 'Debug toolbar icon for disconnect.'
|
|
1677
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for disconnect.')
|
|
1663
1678
|
},
|
|
1664
1679
|
{
|
|
1665
1680
|
id: 'debugIcon.restartForeground', defaults: {
|
|
@@ -1667,7 +1682,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1667
1682
|
light: '#388A34',
|
|
1668
1683
|
hcDark: '#89D185',
|
|
1669
1684
|
hcLight: '#388A34'
|
|
1670
|
-
}, description: 'Debug toolbar icon for restart.'
|
|
1685
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for restart.')
|
|
1671
1686
|
},
|
|
1672
1687
|
{
|
|
1673
1688
|
id: 'debugIcon.stepOverForeground', defaults: {
|
|
@@ -1675,7 +1690,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1675
1690
|
light: '#007ACC',
|
|
1676
1691
|
hcDark: '#75BEFF',
|
|
1677
1692
|
hcLight: '#007ACC',
|
|
1678
|
-
}, description: 'Debug toolbar icon for step over.'
|
|
1693
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for step over.')
|
|
1679
1694
|
},
|
|
1680
1695
|
{
|
|
1681
1696
|
id: 'debugIcon.stepIntoForeground', defaults: {
|
|
@@ -1683,7 +1698,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1683
1698
|
light: '#007ACC',
|
|
1684
1699
|
hcDark: '#75BEFF',
|
|
1685
1700
|
hcLight: '#007ACC'
|
|
1686
|
-
}, description: 'Debug toolbar icon for step into.'
|
|
1701
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for step into.')
|
|
1687
1702
|
},
|
|
1688
1703
|
{
|
|
1689
1704
|
id: 'debugIcon.stepOutForeground', defaults: {
|
|
@@ -1691,7 +1706,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1691
1706
|
light: '#007ACC',
|
|
1692
1707
|
hcDark: '#75BEFF',
|
|
1693
1708
|
hcLight: '#007ACC',
|
|
1694
|
-
}, description: 'Debug toolbar icon for step over.'
|
|
1709
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for step over.')
|
|
1695
1710
|
},
|
|
1696
1711
|
{
|
|
1697
1712
|
id: 'debugIcon.continueForeground', defaults: {
|
|
@@ -1699,7 +1714,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1699
1714
|
light: '#007ACC',
|
|
1700
1715
|
hcDark: '#75BEFF',
|
|
1701
1716
|
hcLight: '#007ACC'
|
|
1702
|
-
}, description: 'Debug toolbar icon for continue.'
|
|
1717
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for continue.')
|
|
1703
1718
|
},
|
|
1704
1719
|
{
|
|
1705
1720
|
id: 'debugIcon.stepBackForeground', defaults: {
|
|
@@ -1707,7 +1722,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1707
1722
|
light: '#007ACC',
|
|
1708
1723
|
hcDark: '#75BEFF',
|
|
1709
1724
|
hcLight: '#007ACC'
|
|
1710
|
-
}, description: 'Debug toolbar icon for step back.'
|
|
1725
|
+
}, description: nls.localizeByDefault('Debug toolbar icon for step back.')
|
|
1711
1726
|
},
|
|
1712
1727
|
{
|
|
1713
1728
|
id: 'debugConsole.infoForeground', defaults: {
|
|
@@ -1715,7 +1730,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1715
1730
|
light: 'editorInfo.foreground',
|
|
1716
1731
|
hcDark: 'foreground',
|
|
1717
1732
|
hcLight: 'foreground'
|
|
1718
|
-
}, description: 'Foreground color for info messages in debug REPL console.'
|
|
1733
|
+
}, description: 'Foreground color for info messages in debug REPL console.' // this description is present in VS Code, but is not currently localized there
|
|
1719
1734
|
},
|
|
1720
1735
|
{
|
|
1721
1736
|
id: 'debugConsole.warningForeground', defaults: {
|
|
@@ -1724,7 +1739,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1724
1739
|
hcDark: '#008000',
|
|
1725
1740
|
hcLight: 'editorWarning.foreground'
|
|
1726
1741
|
},
|
|
1727
|
-
description: 'Foreground color for warning messages in debug REPL console.'
|
|
1742
|
+
description: 'Foreground color for warning messages in debug REPL console.' // this description is present in VS Code, but is not currently localized there
|
|
1728
1743
|
},
|
|
1729
1744
|
{
|
|
1730
1745
|
id: 'debugConsole.errorForeground', defaults: {
|
|
@@ -1733,7 +1748,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1733
1748
|
hcDark: 'errorForeground',
|
|
1734
1749
|
hcLight: 'errorForeground'
|
|
1735
1750
|
},
|
|
1736
|
-
description: 'Foreground color for error messages in debug REPL console.',
|
|
1751
|
+
description: 'Foreground color for error messages in debug REPL console.', // this description is present in VS Code, but is not currently localized there
|
|
1737
1752
|
},
|
|
1738
1753
|
{
|
|
1739
1754
|
id: 'debugConsole.sourceForeground', defaults: {
|
|
@@ -1742,7 +1757,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1742
1757
|
hcDark: 'foreground',
|
|
1743
1758
|
hcLight: 'foreground'
|
|
1744
1759
|
},
|
|
1745
|
-
description: 'Foreground color for source filenames in debug REPL console.',
|
|
1760
|
+
description: 'Foreground color for source filenames in debug REPL console.', // this description is present in VS Code, but is not currently localized there
|
|
1746
1761
|
},
|
|
1747
1762
|
{
|
|
1748
1763
|
id: 'debugConsoleInputIcon.foreground', defaults: {
|
|
@@ -1751,7 +1766,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1751
1766
|
hcDark: 'foreground',
|
|
1752
1767
|
hcLight: 'foreground'
|
|
1753
1768
|
},
|
|
1754
|
-
description: 'Foreground color for debug console input marker icon.'
|
|
1769
|
+
description: 'Foreground color for debug console input marker icon.' // this description is present in VS Code, but is not currently localized there
|
|
1755
1770
|
}
|
|
1756
1771
|
);
|
|
1757
1772
|
}
|
|
@@ -26,7 +26,7 @@ import URI from '@theia/core/lib/common/uri';
|
|
|
26
26
|
import { QuickAccessContribution, QuickAccessProvider, QuickAccessRegistry, QuickInputService, StatusBar, StatusBarAlignment } from '@theia/core/lib/browser';
|
|
27
27
|
import { DebugPreferences } from '../common/debug-preferences';
|
|
28
28
|
import { filterItems, QuickPickItemOrSeparator, QuickPicks } from '@theia/core/lib/browser/quick-input/quick-input-service';
|
|
29
|
-
import { CancellationToken } from '@theia/core/lib/common';
|
|
29
|
+
import { CancellationToken, nls } from '@theia/core/lib/common';
|
|
30
30
|
|
|
31
31
|
@injectable()
|
|
32
32
|
export class DebugPrefixConfiguration implements CommandContribution, CommandHandler, QuickAccessContribution, QuickAccessProvider {
|
|
@@ -103,7 +103,7 @@ export class DebugPrefixConfiguration implements CommandContribution, CommandHan
|
|
|
103
103
|
getInstance: () => this,
|
|
104
104
|
prefix: DebugPrefixConfiguration.PREFIX,
|
|
105
105
|
placeholder: '',
|
|
106
|
-
helpEntries: [{ description: 'Debug Configuration', needsEditor: false }]
|
|
106
|
+
helpEntries: [{ description: nls.localize('theia/debug/debugConfiguration', 'Debug Configuration'), needsEditor: false }]
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
|