@codingame/monaco-vscode-output-service-override 1.83.15 → 1.85.0-next.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-output-service-override",
3
- "version": "1.83.15",
3
+ "version": "1.85.0-next.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,9 +18,9 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.83.15",
22
- "monaco-editor": "0.44.0",
23
- "@codingame/monaco-vscode-log-service-override": "1.83.15"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.85.0-next.0",
22
+ "monaco-editor": "0.45.0",
23
+ "@codingame/monaco-vscode-log-service-override": "1.85.0-next.0"
24
24
  },
25
25
  "exports": {
26
26
  ".": {
@@ -1,6 +1,5 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import * as nls from 'monaco-editor/esm/vs/nls.js';
3
- import * as aria from 'monaco-editor/esm/vs/base/browser/ui/aria/aria.js';
4
3
  import { KeyChord } from 'monaco-editor/esm/vs/base/common/keyCodes.js';
5
4
  import { ModesRegistry } from 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
6
5
  import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
@@ -22,6 +21,7 @@ import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconReg
22
21
  import { Categories } from 'monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js';
23
22
  import { Disposable, toDisposable, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
24
23
  import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService';
24
+ import { IAccessibleNotificationService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
25
25
 
26
26
  ModesRegistry.registerLanguage({
27
27
  id: OUTPUT_MODE_ID,
@@ -40,11 +40,11 @@ const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( nls.lo
40
40
  )));
41
41
  const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
42
42
  id: OUTPUT_VIEW_ID,
43
- title: { value: ( nls.localizeWithPath(
43
+ title: ( nls.localize2WithPath(
44
44
  'vs/workbench/contrib/output/browser/output.contribution',
45
45
  'output',
46
46
  "Output"
47
- )), original: 'Output' },
47
+ )),
48
48
  icon: outputViewIcon,
49
49
  order: 1,
50
50
  ctorDescriptor: ( new SyncDescriptor(
@@ -56,7 +56,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
56
56
  }, 1 , { doNotRegisterOpenCommand: true });
57
57
  ( Registry.as(Extensions.ViewsRegistry)).registerViews([{
58
58
  id: OUTPUT_VIEW_ID,
59
- name: ( nls.localizeWithPath(
59
+ name: ( nls.localize2WithPath(
60
60
  'vs/workbench/contrib/output/browser/output.contribution',
61
61
  'output',
62
62
  "Output"
@@ -169,16 +169,16 @@ let OutputContribution = class OutputContribution extends Disposable {
169
169
  constructor() {
170
170
  super({
171
171
  id: 'workbench.action.showOutputChannels',
172
- title: { value: ( nls.localizeWithPath(
172
+ title: ( nls.localize2WithPath(
173
173
  'vs/workbench/contrib/output/browser/output.contribution',
174
174
  'showOutputChannels',
175
175
  "Show Output Channels..."
176
- )), original: 'Show Output Channels...' },
177
- category: { value: ( nls.localizeWithPath(
176
+ )),
177
+ category: ( nls.localize2WithPath(
178
178
  'vs/workbench/contrib/output/browser/output.contribution',
179
179
  'output',
180
180
  "Output"
181
- )), original: 'Output' },
181
+ )),
182
182
  f1: true
183
183
  });
184
184
  }
@@ -220,11 +220,11 @@ let OutputContribution = class OutputContribution extends Disposable {
220
220
  constructor() {
221
221
  super({
222
222
  id: `workbench.output.action.clearOutput`,
223
- title: { value: ( nls.localizeWithPath(
223
+ title: ( nls.localize2WithPath(
224
224
  'vs/workbench/contrib/output/browser/output.contribution',
225
225
  'clearOutput.label',
226
226
  "Clear Output"
227
- )), original: 'Clear Output' },
227
+ )),
228
228
  category: Categories.View,
229
229
  menu: [{
230
230
  id: MenuId.ViewTitle,
@@ -242,14 +242,11 @@ let OutputContribution = class OutputContribution extends Disposable {
242
242
  }
243
243
  async run(accessor) {
244
244
  const outputService = accessor.get(IOutputService);
245
+ const accessibleNotificationService = accessor.get(IAccessibleNotificationService);
245
246
  const activeChannel = outputService.getActiveChannel();
246
247
  if (activeChannel) {
247
248
  activeChannel.clear();
248
- aria.status(( nls.localizeWithPath(
249
- 'vs/workbench/contrib/output/browser/output.contribution',
250
- 'outputCleared',
251
- "Output was cleared"
252
- )));
249
+ accessibleNotificationService.notify("clear" );
253
250
  }
254
251
  }
255
252
  }));
@@ -259,11 +256,11 @@ let OutputContribution = class OutputContribution extends Disposable {
259
256
  constructor() {
260
257
  super({
261
258
  id: `workbench.output.action.toggleAutoScroll`,
262
- title: { value: ( nls.localizeWithPath(
259
+ title: ( nls.localize2WithPath(
263
260
  'vs/workbench/contrib/output/browser/output.contribution',
264
261
  'toggleAutoScroll',
265
262
  "Toggle Auto Scrolling"
266
- )), original: 'Toggle Auto Scrolling' },
263
+ )),
267
264
  tooltip: ( nls.localizeWithPath(
268
265
  'vs/workbench/contrib/output/browser/output.contribution',
269
266
  'outputScrollOff',
@@ -298,11 +295,11 @@ let OutputContribution = class OutputContribution extends Disposable {
298
295
  constructor() {
299
296
  super({
300
297
  id: `workbench.action.openActiveLogOutputFile`,
301
- title: { value: ( nls.localizeWithPath(
298
+ title: ( nls.localize2WithPath(
302
299
  'vs/workbench/contrib/output/browser/output.contribution',
303
300
  'openActiveLogOutputFile',
304
301
  "Open Log Output File"
305
- )), original: 'Open Log Output File' },
302
+ )),
306
303
  menu: [{
307
304
  id: MenuId.ViewTitle,
308
305
  when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
@@ -345,11 +342,11 @@ let OutputContribution = class OutputContribution extends Disposable {
345
342
  constructor() {
346
343
  super({
347
344
  id: 'workbench.action.showLogs',
348
- title: { value: ( nls.localizeWithPath(
345
+ title: ( nls.localize2WithPath(
349
346
  'vs/workbench/contrib/output/browser/output.contribution',
350
347
  'showLogs',
351
348
  "Show Logs..."
352
- )), original: 'Show Logs...' },
349
+ )),
353
350
  category: Categories.Developer,
354
351
  menu: {
355
352
  id: MenuId.CommandPalette,
@@ -400,16 +397,16 @@ let OutputContribution = class OutputContribution extends Disposable {
400
397
  constructor() {
401
398
  super({
402
399
  id: 'workbench.action.openLogFile',
403
- title: { value: ( nls.localizeWithPath(
400
+ title: ( nls.localize2WithPath(
404
401
  'vs/workbench/contrib/output/browser/output.contribution',
405
402
  'openLogFile',
406
403
  "Open Log File..."
407
- )), original: 'Open Log File...' },
404
+ )),
408
405
  category: Categories.Developer,
409
406
  menu: {
410
407
  id: MenuId.CommandPalette,
411
408
  },
412
- description: {
409
+ metadata: {
413
410
  description: 'workbench.action.openLogFile',
414
411
  args: [{
415
412
  name: 'logFile',
@@ -139,8 +139,8 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
139
139
  getTitle() {
140
140
  return ( nls.localizeWithPath('vs/workbench/contrib/output/browser/outputView', 'output', "Output"));
141
141
  }
142
- getConfigurationOverrides() {
143
- const options = super.getConfigurationOverrides();
142
+ getConfigurationOverrides(configuration) {
143
+ const options = super.getConfigurationOverrides(configuration);
144
144
  options.wordWrap = 'on';
145
145
  options.lineNumbers = 'off';
146
146
  options.glyphMargin = false;