@theia/debug 1.19.0 → 1.20.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.
Files changed (48) hide show
  1. package/lib/browser/console/debug-console-contribution.d.ts +0 -1
  2. package/lib/browser/console/debug-console-contribution.d.ts.map +1 -1
  3. package/lib/browser/console/debug-console-contribution.js +3 -4
  4. package/lib/browser/console/debug-console-contribution.js.map +1 -1
  5. package/lib/browser/debug-frontend-application-contribution.d.ts +1 -1
  6. package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
  7. package/lib/browser/debug-frontend-application-contribution.js +78 -77
  8. package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
  9. package/lib/browser/debug-preferences.js +7 -7
  10. package/lib/browser/debug-preferences.js.map +1 -1
  11. package/lib/browser/debug-prefix-configuration.d.ts.map +1 -1
  12. package/lib/browser/debug-prefix-configuration.js +2 -2
  13. package/lib/browser/debug-prefix-configuration.js.map +1 -1
  14. package/lib/browser/model/debug-function-breakpoint.d.ts.map +1 -1
  15. package/lib/browser/model/debug-function-breakpoint.js +4 -3
  16. package/lib/browser/model/debug-function-breakpoint.js.map +1 -1
  17. package/lib/browser/preferences/launch-preferences.d.ts.map +1 -1
  18. package/lib/browser/preferences/launch-preferences.js +1 -1
  19. package/lib/browser/preferences/launch-preferences.js.map +1 -1
  20. package/lib/browser/view/debug-breakpoints-widget.js +1 -1
  21. package/lib/browser/view/debug-breakpoints-widget.js.map +1 -1
  22. package/lib/browser/view/debug-configuration-widget.js +5 -5
  23. package/lib/browser/view/debug-configuration-widget.js.map +1 -1
  24. package/lib/browser/view/debug-stack-frames-widget.js +1 -1
  25. package/lib/browser/view/debug-stack-frames-widget.js.map +1 -1
  26. package/lib/browser/view/debug-toolbar-widget.js +8 -8
  27. package/lib/browser/view/debug-toolbar-widget.js.map +1 -1
  28. package/lib/browser/view/debug-variables-widget.js +1 -1
  29. package/lib/browser/view/debug-variables-widget.js.map +1 -1
  30. package/lib/browser/view/debug-watch-widget.js +1 -1
  31. package/lib/browser/view/debug-watch-widget.js.map +1 -1
  32. package/lib/browser/view/debug-widget.d.ts.map +1 -1
  33. package/lib/browser/view/debug-widget.js +1 -1
  34. package/lib/browser/view/debug-widget.js.map +1 -1
  35. package/package.json +17 -17
  36. package/src/browser/console/debug-console-contribution.tsx +3 -4
  37. package/src/browser/debug-frontend-application-contribution.ts +78 -77
  38. package/src/browser/debug-preferences.ts +7 -7
  39. package/src/browser/debug-prefix-configuration.ts +3 -3
  40. package/src/browser/model/debug-function-breakpoint.tsx +4 -3
  41. package/src/browser/preferences/launch-preferences.ts +1 -4
  42. package/src/browser/view/debug-breakpoints-widget.ts +1 -1
  43. package/src/browser/view/debug-configuration-widget.tsx +5 -5
  44. package/src/browser/view/debug-stack-frames-widget.ts +1 -1
  45. package/src/browser/view/debug-toolbar-widget.tsx +8 -8
  46. package/src/browser/view/debug-variables-widget.ts +1 -1
  47. package/src/browser/view/debug-watch-widget.ts +1 -1
  48. package/src/browser/view/debug-widget.ts +1 -1
@@ -49,7 +49,7 @@ let DebugWatchWidget = DebugWatchWidget_1 = class DebugWatchWidget extends sourc
49
49
  init() {
50
50
  super.init();
51
51
  this.id = 'debug:watch:' + this.viewModel.id;
52
- this.title.label = nls_1.nls.localize('vscode/debug.contribution/watch', 'Watch');
52
+ this.title.label = nls_1.nls.localizeByDefault('Watch');
53
53
  this.toDispose.push(this.variables);
54
54
  this.source = this.variables;
55
55
  }
@@ -1 +1 @@
1
- {"version":3,"file":"debug-watch-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-widget.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;AAElF,4DAAwG;AAExG,qEAAuE;AACvE,6DAAwD;AACxD,yDAAoD;AACpD,oDAAiD;AAGjD,IAAa,gBAAgB,wBAA7B,MAAa,gBAAiB,SAAQ,8BAAgB;IAKlD,MAAM,CAAC,eAAe,CAAC,MAA4B;QAC/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BAAgB,CAAC,uBAAuB;IAE3G,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAM/D,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,WAAW;IAI9D,MAAM,CAAC,EAAE,SAAW;IACpB,MAAM,CAAC,KAAK,SAAkC;IAG9C,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAG/B,QAAQ,CAAC,cAAc,EAAE,mBAAmB,CAAC;IAG7C,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAGrD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,kBAAkB,CAAC;IAGrD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAG1D,SAAS,CAAC,IAAI,IAAI,IAAI;IAwBtB,SAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAK/C,mBAAmB,IAAI,MAAM,EAAE;IAI/B,UAAU,IAAI,MAAM;IAIpB,YAAY,CAAC,QAAQ,EAAE,aAAa,CAAC,KAAK,GAAG,IAAI;CAIpD"}
@@ -80,7 +80,7 @@ let DebugWidget = DebugWidget_1 = class DebugWidget extends browser_1.BaseWidget
80
80
  }
81
81
  };
82
82
  DebugWidget.ID = 'debug';
83
- DebugWidget.LABEL = nls_1.nls.localize('vscode/settingsLayout/debug', 'Debug');
83
+ DebugWidget.LABEL = nls_1.nls.localizeByDefault('Debug');
84
84
  __decorate([
85
85
  inversify_1.inject(debug_view_model_1.DebugViewModel),
86
86
  __metadata("design:type", debug_view_model_1.DebugViewModel)
@@ -1 +1 @@
1
- {"version":3,"file":"debug-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-widget.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;AAElF,4DAAwG;AACxG,qDAEiC;AACjC,iEAA4D;AAC5D,6EAAwE;AAC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aAAa,CAAC,UAAU,EAAE,CAAC;IAC3C,CAAC;IAED,YAAY,CAAC,QAA6B;QACtC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC9C,CAAC;CAEJ,CAAA;AA5DU,cAAE,GAAG,OAAO,CAAC;AACb,iBAAK,GAAG,SAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;AAG9C;IADC,kBAAM,CAAC,iCAAc,CAAC;8BACP,iCAAc;0CAAC;AAG/B;IADC,kBAAM,CAAC,2CAAmB,CAAC;8BACH,2CAAmB;mDAAC;AAG7C;IADC,kBAAM,CAAC,qDAAwB,CAAC;8BACL,qDAAwB;4CAAC;AAGrD;IADC,kBAAM,CAAC,yCAAkB,CAAC;8BACO,yCAAkB;kDAAC;AAGrD;IADC,kBAAM,CAAC,yCAAkB,CAAC;;uDAC+B;AAG1D;IADC,yBAAa,EAAE;;;;uCAuBf;AArDQ,WAAW;IADvB,sBAAU,EAAE;GACA,WAAW,CAwEvB;AAxEY,kCAAW"}
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@theia/debug",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "Theia - Debug Extension",
5
5
  "dependencies": {
6
- "@theia/console": "1.19.0",
7
- "@theia/core": "1.19.0",
8
- "@theia/editor": "1.19.0",
9
- "@theia/filesystem": "1.19.0",
10
- "@theia/markers": "1.19.0",
11
- "@theia/monaco": "1.19.0",
12
- "@theia/output": "1.19.0",
13
- "@theia/preferences": "1.19.0",
14
- "@theia/process": "1.19.0",
15
- "@theia/task": "1.19.0",
16
- "@theia/terminal": "1.19.0",
17
- "@theia/userstorage": "1.19.0",
18
- "@theia/variable-resolver": "1.19.0",
19
- "@theia/workspace": "1.19.0",
6
+ "@theia/console": "1.20.0",
7
+ "@theia/core": "1.20.0",
8
+ "@theia/editor": "1.20.0",
9
+ "@theia/filesystem": "1.20.0",
10
+ "@theia/markers": "1.20.0",
11
+ "@theia/monaco": "1.20.0",
12
+ "@theia/output": "1.20.0",
13
+ "@theia/preferences": "1.20.0",
14
+ "@theia/process": "1.20.0",
15
+ "@theia/task": "1.20.0",
16
+ "@theia/terminal": "1.20.0",
17
+ "@theia/userstorage": "1.20.0",
18
+ "@theia/variable-resolver": "1.20.0",
19
+ "@theia/workspace": "1.20.0",
20
20
  "jsonc-parser": "^2.2.0",
21
21
  "mkdirp": "^0.5.0",
22
22
  "p-debounce": "^2.1.0",
@@ -64,10 +64,10 @@
64
64
  "watch": "theiaext watch"
65
65
  },
66
66
  "devDependencies": {
67
- "@theia/ext-scripts": "1.19.0"
67
+ "@theia/ext-scripts": "1.20.0"
68
68
  },
69
69
  "nyc": {
70
70
  "extends": "../../configs/nyc.json"
71
71
  },
72
- "gitHead": "cebb5417bb40e320178e3a4e66070af514f0525f"
72
+ "gitHead": "774a2724c51d4ae026c6d2499bff3a02e3d50ba9"
73
73
  }
@@ -34,15 +34,14 @@ export const InDebugReplContextKey = Symbol('inDebugReplContextKey');
34
34
 
35
35
  export namespace DebugConsoleCommands {
36
36
 
37
- export const DEBUG_CATEGORY_KEY = 'vscode/debugCommands/debug';
38
37
  export const DEBUG_CATEGORY = 'Debug';
39
38
 
40
- export const CLEAR = Command.toLocalizedCommand({
39
+ export const CLEAR = Command.toDefaultLocalizedCommand({
41
40
  id: 'debug.console.clear',
42
41
  category: DEBUG_CATEGORY,
43
42
  label: 'Clear Console',
44
43
  iconClass: codicon('clear-all')
45
- }, 'vscode/repl/clearRepl', DEBUG_CATEGORY_KEY);
44
+ });
46
45
  }
47
46
 
48
47
  @injectable()
@@ -136,7 +135,7 @@ export class DebugConsoleContribution extends AbstractViewContribution<ConsoleWi
136
135
  static options: ConsoleOptions = {
137
136
  id: 'debug-console',
138
137
  title: {
139
- label: nls.localize('vscode/repl/debugConsole', 'Debug Console'),
138
+ label: nls.localizeByDefault('Debug Console'),
140
139
  iconClass: codicon('debug-console')
141
140
  },
142
141
  input: {
@@ -65,92 +65,93 @@ export namespace DebugMenus {
65
65
  }
66
66
 
67
67
  function nlsEditBreakpoint(breakpointKey: string, breakpoint: string): string {
68
- return nls.localize('vscode/breakpointEditorContribution/editBreakpoint', 'Edit {0}...', nls.localize(`vscode/breakpointEditorContribution/${breakpointKey}`, breakpoint));
68
+ return nls.localizeByDefault('Edit {0}...', nls.localize(`vscode/breakpointEditorContribution/${breakpointKey}`, breakpoint));
69
69
  }
70
70
 
71
71
  function nlsRemoveBreakpoint(breakpointKey: string, breakpoint: string): string {
72
- return nls.localize('vscode/breakpointEditorContribution/removeBreakpoint', 'Remove {0}',
72
+ return nls.localizeByDefault('Remove {0}',
73
73
  nls.localize(`vscode/breakpointEditorContribution/${breakpointKey}`, breakpoint));
74
74
  }
75
75
 
76
76
  function nlsEnableBreakpoint(breakpointKey: string, breakpoint: string): string {
77
- return nls.localize('vscode/breakpointEditorContribution/enableBreakpoint', 'Enable {0}',
77
+ return nls.localizeByDefault('Enable {0}',
78
78
  nls.localize(`vscode/breakpointEditorContribution/${breakpointKey}`, breakpoint));
79
79
  }
80
80
 
81
81
  function nlsDisableBreakpoint(breakpointKey: string, breakpoint: string): string {
82
- return nls.localize('vscode/breakpointEditorContribution/disableBreakpoint', 'Disable {0}',
82
+ return nls.localizeByDefault('Disable {0}',
83
83
  nls.localize(`vscode/breakpointEditorContribution/${breakpointKey}`, breakpoint));
84
84
  }
85
85
 
86
86
  export namespace DebugCommands {
87
87
 
88
- export const DEBUG_CATEGORY_KEY = 'vscode/debugCommands/debug';
89
88
  export const DEBUG_CATEGORY = 'Debug';
89
+ export const DEBUG_CATEGORY_KEY = nls.getDefaultKey(DEBUG_CATEGORY);
90
90
 
91
- export const START = Command.toLocalizedCommand({
91
+ export const START = Command.toDefaultLocalizedCommand({
92
92
  id: 'workbench.action.debug.start',
93
93
  category: DEBUG_CATEGORY,
94
94
  label: 'Start Debugging',
95
95
  iconClass: codicon('debug-alt')
96
- }, 'vscode/debugCommands/startDebug', DEBUG_CATEGORY_KEY);
97
- export const START_NO_DEBUG = Command.toLocalizedCommand({
96
+ });
97
+ export const START_NO_DEBUG = Command.toDefaultLocalizedCommand({
98
98
  id: 'workbench.action.debug.run',
99
- label: 'Debug: Start Without Debugging'
100
- }, 'vscode/debugCommands/startWithoutDebugging');
101
- export const STOP = Command.toLocalizedCommand({
99
+ category: DEBUG_CATEGORY,
100
+ label: 'Start Without Debugging'
101
+ });
102
+ export const STOP = Command.toDefaultLocalizedCommand({
102
103
  id: 'workbench.action.debug.stop',
103
104
  category: DEBUG_CATEGORY,
104
105
  label: 'Stop',
105
106
  iconClass: codicon('debug-stop')
106
- }, 'vscode/debugCommands/stop', DEBUG_CATEGORY_KEY);
107
- export const RESTART = Command.toLocalizedCommand({
107
+ });
108
+ export const RESTART = Command.toDefaultLocalizedCommand({
108
109
  id: 'workbench.action.debug.restart',
109
110
  category: DEBUG_CATEGORY,
110
111
  label: 'Restart',
111
- }, 'vscode/debugCommands/restartDebug', DEBUG_CATEGORY_KEY);
112
+ });
112
113
 
113
- export const OPEN_CONFIGURATIONS = Command.toLocalizedCommand({
114
+ export const OPEN_CONFIGURATIONS = Command.toDefaultLocalizedCommand({
114
115
  id: 'debug.configurations.open',
115
116
  category: DEBUG_CATEGORY,
116
117
  label: 'Open Configurations'
117
- }, 'vscode/debugViewlet/miOpenConfigurations', DEBUG_CATEGORY_KEY);
118
- export const ADD_CONFIGURATION = Command.toLocalizedCommand({
118
+ });
119
+ export const ADD_CONFIGURATION = Command.toDefaultLocalizedCommand({
119
120
  id: 'debug.configurations.add',
120
121
  category: DEBUG_CATEGORY,
121
122
  label: 'Add Configuration...'
122
- }, 'vscode/debugActionViewItems/addConfiguration', DEBUG_CATEGORY_KEY);
123
+ });
123
124
 
124
- export const STEP_OVER = Command.toLocalizedCommand({
125
+ export const STEP_OVER = Command.toDefaultLocalizedCommand({
125
126
  id: 'workbench.action.debug.stepOver',
126
127
  category: DEBUG_CATEGORY,
127
128
  label: 'Step Over',
128
129
  iconClass: codicon('debug-step-over')
129
- }, 'vscode/debugCommands/stepOverDebug', DEBUG_CATEGORY_KEY);
130
- export const STEP_INTO = Command.toLocalizedCommand({
130
+ });
131
+ export const STEP_INTO = Command.toDefaultLocalizedCommand({
131
132
  id: 'workbench.action.debug.stepInto',
132
133
  category: DEBUG_CATEGORY,
133
134
  label: 'Step Into',
134
135
  iconClass: codicon('debug-step-into')
135
- }, 'vscode/debugCommands/stepIntoDebug', DEBUG_CATEGORY_KEY);
136
- export const STEP_OUT = Command.toLocalizedCommand({
136
+ });
137
+ export const STEP_OUT = Command.toDefaultLocalizedCommand({
137
138
  id: 'workbench.action.debug.stepOut',
138
139
  category: DEBUG_CATEGORY,
139
140
  label: 'Step Out',
140
141
  iconClass: codicon('debug-step-out')
141
- }, 'vscode/debugCommands/stepOutDebug', DEBUG_CATEGORY_KEY);
142
- export const CONTINUE = Command.toLocalizedCommand({
142
+ });
143
+ export const CONTINUE = Command.toDefaultLocalizedCommand({
143
144
  id: 'workbench.action.debug.continue',
144
145
  category: DEBUG_CATEGORY,
145
146
  label: 'Continue',
146
147
  iconClass: codicon('debug-continue')
147
- }, 'vscode/debugCommands/continueDebug', DEBUG_CATEGORY_KEY);
148
- export const PAUSE = Command.toLocalizedCommand({
148
+ });
149
+ export const PAUSE = Command.toDefaultLocalizedCommand({
149
150
  id: 'workbench.action.debug.pause',
150
151
  category: DEBUG_CATEGORY,
151
152
  label: 'Pause',
152
153
  iconClass: codicon('debug-pause')
153
- }, 'vscode/debugCommands/pauseDebug', DEBUG_CATEGORY_KEY);
154
+ });
154
155
  export const CONTINUE_ALL = Command.toLocalizedCommand({
155
156
  id: 'debug.thread.continue.all',
156
157
  category: DEBUG_CATEGORY,
@@ -164,41 +165,41 @@ export namespace DebugCommands {
164
165
  iconClass: codicon('debug-pause')
165
166
  }, 'theia/debug/pauseAll', DEBUG_CATEGORY_KEY);
166
167
 
167
- export const TOGGLE_BREAKPOINT = Command.toLocalizedCommand({
168
+ export const TOGGLE_BREAKPOINT = Command.toDefaultLocalizedCommand({
168
169
  id: 'editor.debug.action.toggleBreakpoint',
169
170
  category: DEBUG_CATEGORY,
170
171
  label: 'Toggle Breakpoint',
171
- }, 'vscode/debugEditorActions/miToggleBreakpoint', DEBUG_CATEGORY_KEY);
172
- export const INLINE_BREAKPOINT = Command.toLocalizedCommand({
172
+ });
173
+ export const INLINE_BREAKPOINT = Command.toDefaultLocalizedCommand({
173
174
  id: 'editor.debug.action.inlineBreakpoint',
174
175
  category: DEBUG_CATEGORY,
175
176
  label: 'Inline Breakpoint',
176
- }, 'vscode/debug.contribution/inlineBreakpoint', DEBUG_CATEGORY_KEY);
177
- export const ADD_CONDITIONAL_BREAKPOINT = Command.toLocalizedCommand({
177
+ });
178
+ export const ADD_CONDITIONAL_BREAKPOINT = Command.toDefaultLocalizedCommand({
178
179
  id: 'debug.breakpoint.add.conditional',
179
180
  category: DEBUG_CATEGORY,
180
181
  label: 'Add Conditional Breakpoint...',
181
- }, 'vscode/breakpointEditorContribution/addConditionalBreakpoint', DEBUG_CATEGORY_KEY);
182
- export const ADD_LOGPOINT = Command.toLocalizedCommand({
182
+ });
183
+ export const ADD_LOGPOINT = Command.toDefaultLocalizedCommand({
183
184
  id: 'debug.breakpoint.add.logpoint',
184
185
  category: DEBUG_CATEGORY,
185
186
  label: 'Add Logpoint...',
186
- }, 'vscode/breakpointEditorContribution/addLogPoint', DEBUG_CATEGORY_KEY);
187
- export const ADD_FUNCTION_BREAKPOINT = Command.toLocalizedCommand({
187
+ });
188
+ export const ADD_FUNCTION_BREAKPOINT = Command.toDefaultLocalizedCommand({
188
189
  id: 'debug.breakpoint.add.function',
189
190
  category: DEBUG_CATEGORY,
190
- label: 'Add Function Breakpoint...',
191
- }, 'vscode/breakpointsView/addFunctionBreakpoint', DEBUG_CATEGORY_KEY);
192
- export const ENABLE_ALL_BREAKPOINTS = Command.toLocalizedCommand({
191
+ label: 'Add Function Breakpoint',
192
+ });
193
+ export const ENABLE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
193
194
  id: 'debug.breakpoint.enableAll',
194
195
  category: DEBUG_CATEGORY,
195
196
  label: 'Enable All Breakpoints',
196
- }, 'vscode/breakpointsView/enableAllBreakpoints', DEBUG_CATEGORY_KEY);
197
- export const DISABLE_ALL_BREAKPOINTS = Command.toLocalizedCommand({
197
+ });
198
+ export const DISABLE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
198
199
  id: 'debug.breakpoint.disableAll',
199
200
  category: DEBUG_CATEGORY,
200
201
  label: 'Disable All Breakpoints',
201
- }, 'vscode/breakpointsView/disableAllBreakpoints', DEBUG_CATEGORY_KEY);
202
+ });
202
203
  export const EDIT_BREAKPOINT = Command.toLocalizedCommand({
203
204
  id: 'debug.breakpoint.edit',
204
205
  category: DEBUG_CATEGORY,
@@ -223,82 +224,82 @@ export namespace DebugCommands {
223
224
  originalLabel: 'Remove Logpoint',
224
225
  label: nlsRemoveBreakpoint('logPoint', 'Logpoint')
225
226
  }, '', DEBUG_CATEGORY_KEY);
226
- export const REMOVE_ALL_BREAKPOINTS = Command.toLocalizedCommand({
227
+ export const REMOVE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
227
228
  id: 'debug.breakpoint.removeAll',
228
229
  category: DEBUG_CATEGORY,
229
230
  label: 'Remove All Breakpoints',
230
- }, 'vscode/breakpointsView/removeAllBreakpoints', DEBUG_CATEGORY_KEY);
231
+ });
231
232
  export const TOGGLE_BREAKPOINTS_ENABLED = Command.toLocalizedCommand({
232
233
  id: 'debug.breakpoint.toggleEnabled'
233
234
  });
234
- export const SHOW_HOVER = Command.toLocalizedCommand({
235
+ export const SHOW_HOVER = Command.toDefaultLocalizedCommand({
235
236
  id: 'editor.debug.action.showDebugHover',
236
237
  category: DEBUG_CATEGORY,
237
238
  label: 'Show Hover'
238
- }, 'vscode/hover/showHover', DEBUG_CATEGORY_KEY);
239
+ });
239
240
 
240
- export const RESTART_FRAME = Command.toLocalizedCommand({
241
+ export const RESTART_FRAME = Command.toDefaultLocalizedCommand({
241
242
  id: 'debug.frame.restart',
242
243
  category: DEBUG_CATEGORY,
243
244
  label: 'Restart Frame',
244
- }, 'vscode/debug.contribution/restartFrame', DEBUG_CATEGORY_KEY);
245
- export const COPY_CALL_STACK = Command.toLocalizedCommand({
245
+ });
246
+ export const COPY_CALL_STACK = Command.toDefaultLocalizedCommand({
246
247
  id: 'debug.callStack.copy',
247
248
  category: DEBUG_CATEGORY,
248
249
  label: 'Copy Call Stack',
249
- }, 'vscode/debug.contribution/copyStackTrace', DEBUG_CATEGORY_KEY);
250
+ });
250
251
 
251
- export const SET_VARIABLE_VALUE = Command.toLocalizedCommand({
252
+ export const SET_VARIABLE_VALUE = Command.toDefaultLocalizedCommand({
252
253
  id: 'debug.variable.setValue',
253
254
  category: DEBUG_CATEGORY,
254
255
  label: 'Set Value',
255
- }, 'vscode/debug.contribution/setValue', DEBUG_CATEGORY_KEY);
256
- export const COPY_VARIABLE_VALUE = Command.toLocalizedCommand({
256
+ });
257
+ export const COPY_VARIABLE_VALUE = Command.toDefaultLocalizedCommand({
257
258
  id: 'debug.variable.copyValue',
258
259
  category: DEBUG_CATEGORY,
259
260
  label: 'Copy Value',
260
- }, 'vscode/debug.contribution/copyValue', DEBUG_CATEGORY_KEY);
261
- export const COPY_VARIABLE_AS_EXPRESSION = Command.toLocalizedCommand({
261
+ });
262
+ export const COPY_VARIABLE_AS_EXPRESSION = Command.toDefaultLocalizedCommand({
262
263
  id: 'debug.variable.copyAsExpression',
263
264
  category: DEBUG_CATEGORY,
264
- label: 'Copy As Expression',
265
- }, 'vscode/debug.contribution/copyAsExpression', DEBUG_CATEGORY_KEY);
266
- export const WATCH_VARIABLE = Command.toLocalizedCommand({
265
+ label: 'Copy as Expression',
266
+ });
267
+ export const WATCH_VARIABLE = Command.toDefaultLocalizedCommand({
267
268
  id: 'debug.variable.watch',
268
269
  category: DEBUG_CATEGORY,
269
270
  label: 'Add to Watch',
270
- }, 'vscode/debug.contribution/addToWatchExpressions', DEBUG_CATEGORY_KEY);
271
+ });
271
272
 
272
- export const ADD_WATCH_EXPRESSION = Command.toLocalizedCommand({
273
+ export const ADD_WATCH_EXPRESSION = Command.toDefaultLocalizedCommand({
273
274
  id: 'debug.watch.addExpression',
274
275
  category: DEBUG_CATEGORY,
275
276
  label: 'Add Expression'
276
- }, 'vscode/watchExpressionsView/addWatchExpression', DEBUG_CATEGORY_KEY);
277
- export const EDIT_WATCH_EXPRESSION = Command.toLocalizedCommand({
277
+ });
278
+ export const EDIT_WATCH_EXPRESSION = Command.toDefaultLocalizedCommand({
278
279
  id: 'debug.watch.editExpression',
279
280
  category: DEBUG_CATEGORY,
280
281
  label: 'Edit Expression'
281
- }, 'vscode/debug.contribution/editWatchExpression', DEBUG_CATEGORY_KEY);
282
+ });
282
283
  export const COPY_WATCH_EXPRESSION_VALUE = Command.toLocalizedCommand({
283
284
  id: 'debug.watch.copyExpressionValue',
284
285
  category: DEBUG_CATEGORY,
285
286
  label: 'Copy Expression Value'
286
287
  }, 'theia/debug/copyExpressionValue', DEBUG_CATEGORY_KEY);
287
- export const REMOVE_WATCH_EXPRESSION = Command.toLocalizedCommand({
288
+ export const REMOVE_WATCH_EXPRESSION = Command.toDefaultLocalizedCommand({
288
289
  id: 'debug.watch.removeExpression',
289
290
  category: DEBUG_CATEGORY,
290
291
  label: 'Remove Expression'
291
- }, 'vscode/debug.contribution/removeWatchExpression', DEBUG_CATEGORY_KEY);
292
- export const COLLAPSE_ALL_WATCH_EXPRESSIONS = Command.toLocalizedCommand({
292
+ });
293
+ export const COLLAPSE_ALL_WATCH_EXPRESSIONS = Command.toDefaultLocalizedCommand({
293
294
  id: 'debug.watch.collapseAllExpressions',
294
295
  category: DEBUG_CATEGORY,
295
- label: 'Collapse All Expressions'
296
- }, 'vscode/watchExpressionsView/collapse', DEBUG_CATEGORY_KEY);
297
- export const REMOVE_ALL_WATCH_EXPRESSIONS = Command.toLocalizedCommand({
296
+ label: 'Collapse All'
297
+ });
298
+ export const REMOVE_ALL_WATCH_EXPRESSIONS = Command.toDefaultLocalizedCommand({
298
299
  id: 'debug.watch.removeAllExpressions',
299
300
  category: DEBUG_CATEGORY,
300
301
  label: 'Remove All Expressions'
301
- }, 'vscode/watchExpressionsView/removeAllWatchExpressions', DEBUG_CATEGORY_KEY);
302
+ });
302
303
  }
303
304
  export namespace DebugThreadContextCommands {
304
305
  export const STEP_OVER = {
@@ -525,7 +526,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
525
526
  }
526
527
  };
527
528
 
528
- menus.registerSubmenu(DebugMenus.DEBUG, nls.localize('vscode/debug.contribution/run', 'Run'));
529
+ menus.registerSubmenu(DebugMenus.DEBUG, nls.localizeByDefault('Run'));
529
530
  registerMenuActions(DebugMenus.DEBUG_CONTROLS,
530
531
  DebugCommands.START,
531
532
  DebugCommands.START_NO_DEBUG,
@@ -550,7 +551,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
550
551
  registerMenuActions(DebugMenus.DEBUG_BREAKPOINT,
551
552
  DebugCommands.TOGGLE_BREAKPOINT
552
553
  );
553
- menus.registerSubmenu(DebugMenus.DEBUG_NEW_BREAKPOINT, nls.localize('vscode/debug.contribution/miNewBreakpoint', 'New Breakpoint'));
554
+ menus.registerSubmenu(DebugMenus.DEBUG_NEW_BREAKPOINT, nls.localizeByDefault('New Breakpoint'));
554
555
  registerMenuActions(DebugMenus.DEBUG_NEW_BREAKPOINT,
555
556
  DebugCommands.ADD_CONDITIONAL_BREAKPOINT,
556
557
  DebugCommands.INLINE_BREAKPOINT,
@@ -575,7 +576,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
575
576
  registerMenuActions(DebugThreadsWidget.TERMINATE_MENU,
576
577
  { ...DebugCommands.RESTART, ...DebugSessionContextCommands.RESTART },
577
578
  { ...DebugCommands.STOP, ...DebugSessionContextCommands.STOP },
578
- { ...DebugThreadContextCommands.TERMINATE, label: nls.localize('vscode/debug.contribution/terminateThread', 'Terminate Thread') }
579
+ { ...DebugThreadContextCommands.TERMINATE, label: nls.localizeByDefault('Terminate Thread') }
579
580
  );
580
581
  registerMenuActions(DebugThreadsWidget.OPEN_MENU,
581
582
  { ...DebugSessionContextCommands.REVEAL, label: nls.localize('theia/debug/reveal', 'Reveal') },
@@ -622,7 +623,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
622
623
  );
623
624
 
624
625
  registerMenuActions(DebugEditorModel.CONTEXT_MENU,
625
- { ...DebugEditorContextCommands.ADD_BREAKPOINT, label: nls.localize('vscode/breakpointEditorContribution/addBreakpoint', 'Add Breakpoint') },
626
+ { ...DebugEditorContextCommands.ADD_BREAKPOINT, label: nls.localizeByDefault('Add Breakpoint') },
626
627
  { ...DebugEditorContextCommands.ADD_CONDITIONAL_BREAKPOINT, label: DebugCommands.ADD_CONDITIONAL_BREAKPOINT.label },
627
628
  { ...DebugEditorContextCommands.ADD_LOGPOINT, label: DebugCommands.ADD_LOGPOINT.label },
628
629
  { ...DebugEditorContextCommands.REMOVE_BREAKPOINT, label: DebugCommands.REMOVE_BREAKPOINT.label },
@@ -1106,8 +1107,8 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
1106
1107
  priority: 1
1107
1108
  };
1108
1109
  const updateToggleBreakpointsEnabled = () => {
1109
- const activateBreakpoints = nls.localize('vscode/breakpointsView/enableAllBreakpoints', 'Enable Breakpoints');
1110
- const deactivateBreakpoints = nls.localize('vscode/breakpointsView/disableAllBreakpoints', 'Disable Breakpoints');
1110
+ const activateBreakpoints = nls.localizeByDefault('Enable All Breakpoints');
1111
+ const deactivateBreakpoints = nls.localizeByDefault('Disable All Breakpoints');
1111
1112
  const tooltip = this.breakpointManager.breakpointsEnabled ? deactivateBreakpoints : activateBreakpoints;
1112
1113
  if (toggleBreakpointsEnabled.tooltip !== tooltip) {
1113
1114
  toggleBreakpointsEnabled.tooltip = tooltip;
@@ -34,26 +34,26 @@ export const debugPreferencesSchema: PreferenceSchema = {
34
34
  'debug.openDebug': {
35
35
  enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
36
36
  default: 'openOnSessionStart',
37
- description: nls.localize('vscode/debug.contribution/openDebug', 'Controls when the debug view should open.')
37
+ description: nls.localizeByDefault('Controls when the debug view should open.')
38
38
  },
39
39
  'debug.internalConsoleOptions': {
40
40
  enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart'],
41
41
  default: 'openOnFirstSessionStart',
42
- description: nls.localize('vscode/debug/internalConsoleOptions', 'Controls when the internal debug console should open.')
42
+ description: nls.localizeByDefault('Controls when the internal debug console should open.')
43
43
  },
44
44
  'debug.inlineValues': {
45
45
  type: 'boolean',
46
46
  default: false,
47
- description: nls.localize('vscode/debug.contribution/inlineValues', 'Show variable values inline in editor while debugging.')
47
+ description: nls.localizeByDefault('Show variable values inline in editor while debugging.')
48
48
  },
49
49
  'debug.showInStatusBar': {
50
50
  enum: ['never', 'always', 'onFirstSessionStart'],
51
51
  enumDescriptions: [
52
- nls.localize('vscode/debug.contribution/never', 'Never show debug in status bar'),
53
- nls.localize('vscode/debug.contribution/always', 'Always show debug in status bar'),
54
- nls.localize('vscode/debug.contribution/onFirstSessionStart', 'Show debug in status bar only after debug was started for the first time')
52
+ nls.localizeByDefault('Never show debug in status bar'),
53
+ nls.localizeByDefault('Always show debug in status bar'),
54
+ nls.localizeByDefault('Show debug in status bar only after debug was started for the first time')
55
55
  ],
56
- description: nls.localize('vscode/debug.contribution/showInStatusBar', 'Controls when the debug status bar should be visible.'),
56
+ description: nls.localizeByDefault('Controls when the debug status bar should be visible.'),
57
57
  default: 'onFirstSessionStart'
58
58
  },
59
59
  'debug.confirmOnExit': {
@@ -61,11 +61,11 @@ export class DebugPrefixConfiguration implements CommandContribution, CommandHan
61
61
 
62
62
  readonly statusBarId = 'select-run-debug-statusbar-item';
63
63
 
64
- private readonly command = Command.toLocalizedCommand({
64
+ private readonly command = Command.toDefaultLocalizedCommand({
65
65
  id: 'select.debug.configuration',
66
66
  category: DebugCommands.DEBUG_CATEGORY,
67
67
  label: 'Select and Start Debugging'
68
- }, 'vscode/debugCommands/selectAndStartDebugging', DebugCommands.DEBUG_CATEGORY_KEY);
68
+ });
69
69
 
70
70
  @postConstruct()
71
71
  protected initialize(): void {
@@ -135,7 +135,7 @@ export class DebugPrefixConfiguration implements CommandContribution, CommandHan
135
135
  for (const configuration of dynamicConfigurations) {
136
136
  items.push({
137
137
  label: configuration.name,
138
- execute: () => this.runConfiguration({configuration})
138
+ execute: () => this.runConfiguration({ configuration })
139
139
  });
140
140
  }
141
141
  }
@@ -20,6 +20,7 @@ import { FunctionBreakpoint } from '../breakpoint/breakpoint-marker';
20
20
  import { BreakpointManager } from '../breakpoint/breakpoint-manager';
21
21
  import { DebugBreakpoint, DebugBreakpointOptions, DebugBreakpointDecoration } from './debug-breakpoint';
22
22
  import { SingleTextInputDialog } from '@theia/core/lib/browser/dialogs';
23
+ import { nls } from '@theia/core';
23
24
 
24
25
  export class DebugFunctionBreakpoint extends DebugBreakpoint<FunctionBreakpoint> implements TreeElement {
25
26
 
@@ -63,7 +64,7 @@ export class DebugFunctionBreakpoint extends DebugBreakpoint<FunctionBreakpoint>
63
64
 
64
65
  protected doGetDecoration(): DebugBreakpointDecoration {
65
66
  if (!this.isSupported()) {
66
- return this.getDisabledBreakpointDecoration('Function breakpoints are not supported by this debug type');
67
+ return this.getDisabledBreakpointDecoration(nls.localizeByDefault('Function breakpoints are not supported by this debug type'));
67
68
  }
68
69
  return super.doGetDecoration();
69
70
  }
@@ -71,13 +72,13 @@ export class DebugFunctionBreakpoint extends DebugBreakpoint<FunctionBreakpoint>
71
72
  protected getBreakpointDecoration(message?: string[]): DebugBreakpointDecoration {
72
73
  return {
73
74
  className: 'theia-debug-function',
74
- message: message || ['Function Breakpoint']
75
+ message: message || [nls.localizeByDefault('Function Breakpoint')]
75
76
  };
76
77
  }
77
78
 
78
79
  async open(): Promise<void> {
79
80
  const input = new SingleTextInputDialog({
80
- title: 'Add Function Breakpoint',
81
+ title: nls.localizeByDefault('Add Function Breakpoint'),
81
82
  initialValue: this.name
82
83
  });
83
84
  const newValue = await input.open();
@@ -26,10 +26,7 @@ export const launchPreferencesSchema: PreferenceSchema = {
26
26
  properties: {
27
27
  'launch': {
28
28
  $ref: launchSchemaId,
29
- description: nls.localize(
30
- 'vscode/debug.contribution/launch',
31
- "Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces"
32
- ),
29
+ description: nls.localizeByDefault("Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."),
33
30
  defaultValue: { configurations: [], compounds: [] }
34
31
  }
35
32
  }
@@ -58,7 +58,7 @@ export class DebugBreakpointsWidget extends SourceTreeWidget {
58
58
  protected init(): void {
59
59
  super.init();
60
60
  this.id = 'debug:breakpoints:' + this.viewModel.id;
61
- this.title.label = nls.localize('vscode/debug.contribution/breakpoints', 'Breakpoints');
61
+ this.title.label = nls.localizeByDefault('Breakpoints');
62
62
  this.toDispose.push(this.breakpointsSource);
63
63
  this.source = this.breakpointsSource;
64
64
  }
@@ -79,15 +79,15 @@ export class DebugConfigurationWidget extends ReactWidget {
79
79
  render(): React.ReactNode {
80
80
  const { options } = this;
81
81
  return <React.Fragment>
82
- <DebugAction run={this.start} label={nls.localize('vscode/debugCommands/startDebug', 'Start Debugging')} iconClass='debug-start' ref={this.setStepRef} />
82
+ <DebugAction run={this.start} label={nls.localizeByDefault('Start Debugging')} iconClass='debug-start' ref={this.setStepRef} />
83
83
  <select className='theia-select debug-configuration' value={this.currentValue} onChange={this.setCurrentConfiguration}>
84
- {options.length ? options : <option value='__NO_CONF__'>{nls.localize('vscode/debugActionViewItems/noConfigurations', 'No Configurations')}</option>}
84
+ {options.length ? options : <option value='__NO_CONF__'>{nls.localizeByDefault('No Configurations')}</option>}
85
85
  <option disabled>{'Add Configuration...'.replace(/./g, '-')}</option>
86
- <option value='__ADD_CONF__'>{nls.localize('vscode/debugActionViewItems/addConfiguration', 'Add Configuration...')}</option>
86
+ <option value='__ADD_CONF__'>{nls.localizeByDefault('Add Configuration...')}</option>
87
87
  </select>
88
- <DebugAction run={this.openConfiguration} label={nls.localize('vscode/debugCommands/openLaunchJson', 'Open "launch.json"', '"launch.json"')}
88
+ <DebugAction run={this.openConfiguration} label={nls.localizeByDefault('Open {0}', '"launch.json"')}
89
89
  iconClass='settings-gear' />
90
- <DebugAction run={this.openConsole} label={nls.localize('vscode/repl/debugConsole', 'Debug Console')} iconClass='terminal' />
90
+ <DebugAction run={this.openConsole} label={nls.localizeByDefault('Debug Console')} iconClass='terminal' />
91
91
  </React.Fragment>;
92
92
  }
93
93
  protected get currentValue(): string {
@@ -56,7 +56,7 @@ export class DebugStackFramesWidget extends SourceTreeWidget {
56
56
  protected init(): void {
57
57
  super.init();
58
58
  this.id = 'debug:frames:' + this.viewModel.id;
59
- this.title.label = nls.localize('vscode/debug.contribution/callStack', 'Call Stack');
59
+ this.title.label = nls.localizeByDefault('Call Stack');
60
60
  this.toDispose.push(this.frames);
61
61
  this.source = this.frames;
62
62