@codingame/monaco-vscode-view-status-bar-service-override 1.83.1 → 1.83.3-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-view-status-bar-service-override",
|
|
3
|
-
"version": "1.83.
|
|
3
|
+
"version": "1.83.3-next.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.83.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.83.3-next.0",
|
|
22
22
|
"monaco-editor": "0.44.0"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
|
|
2
2
|
import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
3
3
|
import { Action } from 'monaco-editor/esm/vs/base/common/actions.js';
|
|
4
4
|
import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
@@ -25,7 +25,7 @@ class ToggleStatusbarEntryVisibilityAction extends Action {
|
|
|
25
25
|
}
|
|
26
26
|
class HideStatusbarEntryAction extends Action {
|
|
27
27
|
constructor(id, name, model) {
|
|
28
|
-
super(id, (
|
|
28
|
+
super(id, localizeWithPath('vs/workbench/browser/parts/statusbar/statusbarActions', 'hide', "Hide '{0}'", name), undefined, true);
|
|
29
29
|
this.model = model;
|
|
30
30
|
}
|
|
31
31
|
async run() {
|
|
@@ -96,7 +96,7 @@ class FocusStatusBarAction extends Action2 {
|
|
|
96
96
|
constructor() {
|
|
97
97
|
super({
|
|
98
98
|
id: 'workbench.action.focusStatusBar',
|
|
99
|
-
title: { value: (
|
|
99
|
+
title: { value: localizeWithPath('vs/workbench/browser/parts/statusbar/statusbarActions', 'focusStatusBar', "Focus Status Bar"), original: 'Focus Status Bar' },
|
|
100
100
|
category: Categories.View,
|
|
101
101
|
f1: true
|
|
102
102
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import './media/statusbarpart.css.js';
|
|
3
|
-
import {
|
|
3
|
+
import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
|
|
4
4
|
import { MutableDisposable, dispose, DisposableStore, disposeIfDisposable, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
5
5
|
import { Part } from 'vscode/vscode/vs/workbench/browser/part';
|
|
6
6
|
import { Gesture, EventType as EventType$1 } from 'monaco-editor/esm/vs/base/browser/touch.js';
|
|
@@ -344,7 +344,7 @@ let StatusbarPart = class StatusbarPart extends Part {
|
|
|
344
344
|
}
|
|
345
345
|
getContextMenuActions(event) {
|
|
346
346
|
const actions = [];
|
|
347
|
-
actions.push(toAction({ id: ToggleStatusbarVisibilityAction.ID, label: (
|
|
347
|
+
actions.push(toAction({ id: ToggleStatusbarVisibilityAction.ID, label: localizeWithPath('vs/workbench/browser/parts/statusbar/statusbarPart', 'hideStatusBar', "Hide Status Bar"), run: () => this.instantiationService.invokeFunction(accessor => ( new ToggleStatusbarVisibilityAction()).run(accessor)) }));
|
|
348
348
|
actions.push(( new Separator()));
|
|
349
349
|
const handledEntries = ( new Set());
|
|
350
350
|
for (const entry of this.viewModel.entries) {
|