@codingame/monaco-vscode-view-title-bar-service-override 10.0.0 → 10.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-title-bar-service-override",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@10.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.0.1"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -40,19 +40,19 @@ class ToggleConfigAction extends Action2 {
|
|
|
40
40
|
}
|
|
41
41
|
registerAction2(class ToggleCommandCenter extends ToggleConfigAction {
|
|
42
42
|
constructor() {
|
|
43
|
-
super("window.commandCenter" , ( localize(
|
|
43
|
+
super("window.commandCenter" , ( localize(7072, 'Command Center')), ( localize(7073, "Toggle visibility of the Command Center in title bar")), 1, false);
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
registerAction2(class ToggleLayoutControl extends ToggleConfigAction {
|
|
47
47
|
constructor() {
|
|
48
|
-
super('workbench.layoutControl.enabled', ( localize(
|
|
48
|
+
super('workbench.layoutControl.enabled', ( localize(7074, 'Layout Controls')), ( localize(7075, "Toggle visibility of the Layout Controls in title bar")), 2, true);
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
registerAction2(class ToggleCustomTitleBar extends Action2 {
|
|
52
52
|
constructor() {
|
|
53
53
|
super({
|
|
54
54
|
id: `toggle.${"window.customTitleBarVisibility" }`,
|
|
55
|
-
title: ( localize(
|
|
55
|
+
title: ( localize(7076, 'Hide Custom Title Bar')),
|
|
56
56
|
menu: [
|
|
57
57
|
{ id: MenuId.TitleBarContext, order: 0, when: ( (ContextKeyExpr.equals(TitleBarStyleContext.key, "native" ))), group: '3_toggle' },
|
|
58
58
|
{ id: MenuId.TitleBarTitleContext, order: 0, when: ( (ContextKeyExpr.equals(TitleBarStyleContext.key, "native" ))), group: '3_toggle' },
|
|
@@ -68,7 +68,7 @@ registerAction2(class ToggleCustomTitleBarWindowed extends Action2 {
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super({
|
|
70
70
|
id: `toggle.${"window.customTitleBarVisibility" }.windowed`,
|
|
71
|
-
title: ( localize(
|
|
71
|
+
title: ( localize(7077, 'Hide Custom Title Bar In Full Screen')),
|
|
72
72
|
menu: [
|
|
73
73
|
{ id: MenuId.TitleBarContext, order: 1, when: IsMainWindowFullscreenContext, group: '3_toggle' },
|
|
74
74
|
{ id: MenuId.TitleBarTitleContext, order: 1, when: IsMainWindowFullscreenContext, group: '3_toggle' },
|
|
@@ -84,7 +84,7 @@ class ToggleCustomTitleBar extends Action2 {
|
|
|
84
84
|
constructor() {
|
|
85
85
|
super({
|
|
86
86
|
id: `toggle.toggleCustomTitleBar`,
|
|
87
|
-
title: ( localize(
|
|
87
|
+
title: ( localize(7078, 'Custom Title Bar')),
|
|
88
88
|
toggled: TitleBarVisibleContext,
|
|
89
89
|
menu: [
|
|
90
90
|
{
|
|
@@ -135,7 +135,7 @@ registerAction2(class ShowCustomTitleBar extends Action2 {
|
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: `showCustomTitleBar`,
|
|
138
|
-
title: ( localize2(
|
|
138
|
+
title: ( localize2(7079, "Show Custom Title Bar")),
|
|
139
139
|
precondition: ( (TitleBarVisibleContext.negate())),
|
|
140
140
|
f1: true
|
|
141
141
|
});
|
|
@@ -149,7 +149,7 @@ registerAction2(class HideCustomTitleBar extends Action2 {
|
|
|
149
149
|
constructor() {
|
|
150
150
|
super({
|
|
151
151
|
id: `hideCustomTitleBar`,
|
|
152
|
-
title: ( localize2(
|
|
152
|
+
title: ( localize2(7080, "Hide Custom Title Bar")),
|
|
153
153
|
precondition: TitleBarVisibleContext,
|
|
154
154
|
f1: true
|
|
155
155
|
});
|
|
@@ -163,7 +163,7 @@ registerAction2(class HideCustomTitleBar extends Action2 {
|
|
|
163
163
|
constructor() {
|
|
164
164
|
super({
|
|
165
165
|
id: `hideCustomTitleBarInFullScreen`,
|
|
166
|
-
title: ( localize2(
|
|
166
|
+
title: ( localize2(7081, "Hide Custom Title Bar In Full Screen")),
|
|
167
167
|
precondition: ( (ContextKeyExpr.and(TitleBarVisibleContext, IsMainWindowFullscreenContext))),
|
|
168
168
|
f1: true
|
|
169
169
|
});
|
|
@@ -182,7 +182,7 @@ registerAction2(class ToggleEditorActions extends Action2 {
|
|
|
182
182
|
)))?.negate();
|
|
183
183
|
super({
|
|
184
184
|
id: `toggle.${ToggleEditorActions.settingsID}`,
|
|
185
|
-
title: ( localize(
|
|
185
|
+
title: ( localize(7082, 'Editor Actions')),
|
|
186
186
|
toggled: ( (( (ContextKeyExpr.equals(`config.${ToggleEditorActions.settingsID}`, 'hidden'))).negate())),
|
|
187
187
|
menu: [
|
|
188
188
|
{ id: MenuId.TitleBarContext, order: 3, when: titleBarContextCondition, group: '2_config' },
|
|
@@ -213,16 +213,16 @@ registerAction2(class ToggleEditorActions extends Action2 {
|
|
|
213
213
|
});
|
|
214
214
|
const ACCOUNTS_ACTIVITY_TILE_ACTION = {
|
|
215
215
|
id: ACCOUNTS_ACTIVITY_ID,
|
|
216
|
-
label: ( localize(
|
|
217
|
-
tooltip: ( localize(
|
|
216
|
+
label: ( localize(7083, "Accounts")),
|
|
217
|
+
tooltip: ( localize(7083, "Accounts")),
|
|
218
218
|
class: undefined,
|
|
219
219
|
enabled: true,
|
|
220
220
|
run: function () { }
|
|
221
221
|
};
|
|
222
222
|
const GLOBAL_ACTIVITY_TITLE_ACTION = {
|
|
223
223
|
id: GLOBAL_ACTIVITY_ID,
|
|
224
|
-
label: ( localize(
|
|
225
|
-
tooltip: ( localize(
|
|
224
|
+
label: ( localize(7084, "Manage")),
|
|
225
|
+
tooltip: ( localize(7084, "Manage")),
|
|
226
226
|
class: undefined,
|
|
227
227
|
enabled: true,
|
|
228
228
|
run: function () { }
|