@codingame/monaco-vscode-update-service-override 37.1.0 → 37.3.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 +2 -2
- package/vscode/src/vs/platform/update/common/update.config.contribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/update/browser/postUpdateWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/update/browser/update.contribution.js +19 -19
- package/vscode/src/vs/workbench/browser/media/code-icon.svg +0 -1
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownSettingRenderer.d.ts +0 -43
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownSettingRenderer.js +0 -330
- package/vscode/src/vs/workbench/contrib/update/browser/media/updateTitleBarEntry.css +0 -91
- package/vscode/src/vs/workbench/contrib/update/browser/media/updateTooltip.css +0 -165
- package/vscode/src/vs/workbench/contrib/update/browser/releaseNotesEditor.d.ts +0 -67
- package/vscode/src/vs/workbench/contrib/update/browser/releaseNotesEditor.js +0 -646
- package/vscode/src/vs/workbench/contrib/update/browser/update.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/update/browser/update.js +0 -498
- package/vscode/src/vs/workbench/contrib/update/browser/updateTitleBarEntry.d.ts +0 -64
- package/vscode/src/vs/workbench/contrib/update/browser/updateTitleBarEntry.js +0 -364
- package/vscode/src/vs/workbench/contrib/update/browser/updateTooltip.d.ts +0 -61
- package/vscode/src/vs/workbench/contrib/update/browser/updateTooltip.js +0 -395
- package/vscode/src/vs/workbench/contrib/update/common/updateUtils.d.ts +0 -61
- package/vscode/src/vs/workbench/contrib/update/common/updateUtils.js +0 -129
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-update-service-override",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - update service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "37.
|
|
18
|
+
"@codingame/monaco-vscode-api": "37.3.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -9,7 +9,7 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
|
9
9
|
configurationRegistry.registerConfiguration({
|
|
10
10
|
id: "update",
|
|
11
11
|
order: 15,
|
|
12
|
-
title: ( localize(
|
|
12
|
+
title: ( localize(2902, "Update")),
|
|
13
13
|
type: "object",
|
|
14
14
|
properties: {
|
|
15
15
|
"update.mode": {
|
|
@@ -18,18 +18,18 @@ configurationRegistry.registerConfiguration({
|
|
|
18
18
|
default: "default",
|
|
19
19
|
scope: ConfigurationScope.APPLICATION,
|
|
20
20
|
description: ( localize(
|
|
21
|
-
|
|
21
|
+
2903,
|
|
22
22
|
"Configure whether you receive automatic updates. The updates are fetched from a Microsoft online service."
|
|
23
23
|
)),
|
|
24
24
|
tags: ["usesOnlineServices"],
|
|
25
|
-
enumDescriptions: [( localize(
|
|
26
|
-
|
|
25
|
+
enumDescriptions: [( localize(2904, "Disable updates.")), ( localize(
|
|
26
|
+
2905,
|
|
27
27
|
"Disable automatic background update checks. Updates will be available if you manually check for updates."
|
|
28
28
|
)), ( localize(
|
|
29
|
-
|
|
29
|
+
2906,
|
|
30
30
|
"Check for updates only on startup. Disable automatic background update checks."
|
|
31
31
|
)), ( localize(
|
|
32
|
-
|
|
32
|
+
2907,
|
|
33
33
|
"Enable automatic update checks. Code will check for updates automatically and periodically."
|
|
34
34
|
))],
|
|
35
35
|
policy: {
|
|
@@ -40,29 +40,29 @@ configurationRegistry.registerConfiguration({
|
|
|
40
40
|
description: {
|
|
41
41
|
key: "updateMode",
|
|
42
42
|
value: ( localize(
|
|
43
|
-
|
|
43
|
+
2903,
|
|
44
44
|
"Configure whether you receive automatic updates. The updates are fetched from a Microsoft online service."
|
|
45
45
|
))
|
|
46
46
|
},
|
|
47
47
|
enumDescriptions: [{
|
|
48
48
|
key: "none",
|
|
49
|
-
value: ( localize(
|
|
49
|
+
value: ( localize(2904, "Disable updates."))
|
|
50
50
|
}, {
|
|
51
51
|
key: "manual",
|
|
52
52
|
value: ( localize(
|
|
53
|
-
|
|
53
|
+
2905,
|
|
54
54
|
"Disable automatic background update checks. Updates will be available if you manually check for updates."
|
|
55
55
|
))
|
|
56
56
|
}, {
|
|
57
57
|
key: "start",
|
|
58
58
|
value: ( localize(
|
|
59
|
-
|
|
59
|
+
2906,
|
|
60
60
|
"Check for updates only on startup. Disable automatic background update checks."
|
|
61
61
|
))
|
|
62
62
|
}, {
|
|
63
63
|
key: "default",
|
|
64
64
|
value: ( localize(
|
|
65
|
-
|
|
65
|
+
2907,
|
|
66
66
|
"Enable automatic update checks. Code will check for updates automatically and periodically."
|
|
67
67
|
))
|
|
68
68
|
}]
|
|
@@ -74,11 +74,11 @@ configurationRegistry.registerConfiguration({
|
|
|
74
74
|
default: "default",
|
|
75
75
|
scope: ConfigurationScope.APPLICATION,
|
|
76
76
|
description: ( localize(
|
|
77
|
-
|
|
77
|
+
2903,
|
|
78
78
|
"Configure whether you receive automatic updates. The updates are fetched from a Microsoft online service."
|
|
79
79
|
)),
|
|
80
80
|
deprecationMessage: ( localize(
|
|
81
|
-
|
|
81
|
+
2908,
|
|
82
82
|
"This setting is deprecated, please use '{0}' instead.",
|
|
83
83
|
"update.mode"
|
|
84
84
|
))
|
|
@@ -87,9 +87,9 @@ configurationRegistry.registerConfiguration({
|
|
|
87
87
|
type: "boolean",
|
|
88
88
|
default: true,
|
|
89
89
|
scope: ConfigurationScope.APPLICATION,
|
|
90
|
-
title: ( localize(
|
|
90
|
+
title: ( localize(2909, "Enable Background Updates")),
|
|
91
91
|
description: ( localize(
|
|
92
|
-
|
|
92
|
+
2910,
|
|
93
93
|
"Enable to download and install new VS Code versions in the background."
|
|
94
94
|
)),
|
|
95
95
|
included: isWindows && !isWeb
|
|
@@ -99,7 +99,7 @@ configurationRegistry.registerConfiguration({
|
|
|
99
99
|
default: true,
|
|
100
100
|
scope: ConfigurationScope.APPLICATION,
|
|
101
101
|
description: ( localize(
|
|
102
|
-
|
|
102
|
+
2911,
|
|
103
103
|
"Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service."
|
|
104
104
|
)),
|
|
105
105
|
tags: ["usesOnlineServices"],
|
|
@@ -116,7 +116,7 @@ configurationRegistry.registerConfiguration({
|
|
|
116
116
|
},
|
|
117
117
|
scope: ConfigurationScope.APPLICATION,
|
|
118
118
|
description: ( localize(
|
|
119
|
-
|
|
119
|
+
2912,
|
|
120
120
|
"Show a post-install update tooltip in the title bar instead of opening the release notes editor."
|
|
121
121
|
)),
|
|
122
122
|
tags: ["usesOnlineServices"]
|
|
@@ -125,7 +125,7 @@ configurationRegistry.registerConfiguration({
|
|
|
125
125
|
type: "boolean",
|
|
126
126
|
default: true,
|
|
127
127
|
scope: ConfigurationScope.APPLICATION,
|
|
128
|
-
description: ( localize(
|
|
128
|
+
description: ( localize(2913, "Show the update indicator in the title bar.")),
|
|
129
129
|
included: !isWeb
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -25,14 +25,14 @@ import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platfo
|
|
|
25
25
|
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
26
26
|
import { ShowCurrentReleaseNotesActionId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/update/common/update';
|
|
27
27
|
import { parseUpdateInfoInput } from '../common/updateInfoParser.js';
|
|
28
|
-
import { getUpdateInfoUrl, isMajorMinorVersionChange } from '
|
|
28
|
+
import { getUpdateInfoUrl, isMajorMinorVersionChange } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/update/common/updateUtils';
|
|
29
29
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
30
30
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
31
31
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
32
32
|
import * as postUpdateWidget from './media/postUpdateWidget.css';
|
|
33
33
|
|
|
34
34
|
var PostUpdateWidgetContribution_1;
|
|
35
|
-
registerCss(postUpdateWidget);
|
|
35
|
+
registerCss(postUpdateWidget, 1);
|
|
36
36
|
const LAST_KNOWN_VERSION_KEY = "postUpdateWidget/lastKnownVersion";
|
|
37
37
|
let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Disposable {
|
|
38
38
|
static {
|
|
@@ -143,7 +143,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
|
|
|
143
143
|
info = {
|
|
144
144
|
...info,
|
|
145
145
|
buttons: [{
|
|
146
|
-
label: ( localize(
|
|
146
|
+
label: ( localize(20496, "Release Notes")),
|
|
147
147
|
commandId: ShowCurrentReleaseNotesActionId,
|
|
148
148
|
args: [this.productService.version],
|
|
149
149
|
style: "secondary"
|
|
@@ -172,7 +172,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
|
|
|
172
172
|
banner.style.setProperty("background-image", `url(${JSON.stringify(safeBannerUrl)})`);
|
|
173
173
|
}
|
|
174
174
|
const closeButton = append(container, $("button.banner-close"));
|
|
175
|
-
closeButton.setAttribute("aria-label", ( localize(
|
|
175
|
+
closeButton.setAttribute("aria-label", ( localize(20497, "Close")));
|
|
176
176
|
const closeIcon = append(closeButton, $(ThemeIcon.asCSSSelector(Codicon.close)));
|
|
177
177
|
closeIcon.setAttribute("aria-hidden", "true");
|
|
178
178
|
disposables.add(addDisposableListener(closeButton, "click", () => {
|
|
@@ -185,7 +185,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
|
|
|
185
185
|
}
|
|
186
186
|
const titleEl = append(body, $(".title"));
|
|
187
187
|
titleEl.id = titleId;
|
|
188
|
-
titleEl.textContent = title ?? ( localize(
|
|
188
|
+
titleEl.textContent = title ?? ( localize(20498, "New in {0}", this.productService.version));
|
|
189
189
|
if (features?.length) {
|
|
190
190
|
const list = append(body, $(".features"));
|
|
191
191
|
list.setAttribute("role", "list");
|
|
@@ -7,8 +7,8 @@ import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/acti
|
|
|
7
7
|
import { Action2, MenuId, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
8
8
|
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
9
9
|
import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
10
|
-
import { ProductContribution, UpdateContribution, SwitchProductQualityContribution, DefaultAccountUpdateContribution, showReleaseNotesInEditor, CONTEXT_UPDATE_STATE } from '
|
|
11
|
-
import { UpdateTitleBarContribution } from '
|
|
10
|
+
import { ProductContribution, UpdateContribution, SwitchProductQualityContribution, DefaultAccountUpdateContribution, showReleaseNotesInEditor, CONTEXT_UPDATE_STATE } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/update/browser/update';
|
|
11
|
+
import { UpdateTitleBarContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/update/browser/updateTitleBarEntry';
|
|
12
12
|
import { PostUpdateWidgetContribution } from './postUpdateWidget.js';
|
|
13
13
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
14
14
|
import product from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/product';
|
|
@@ -39,8 +39,8 @@ class ShowReleaseNotesAction extends Action2 {
|
|
|
39
39
|
super({
|
|
40
40
|
id: ShowCurrentReleaseNotesActionId,
|
|
41
41
|
title: {
|
|
42
|
-
...( localize2(
|
|
43
|
-
mnemonicTitle: ( localize(
|
|
42
|
+
...( localize2(20502, "Show Release Notes")),
|
|
43
|
+
mnemonicTitle: ( localize(20503, "Show &&Release Notes"))
|
|
44
44
|
},
|
|
45
45
|
category: {
|
|
46
46
|
value: product.nameShort,
|
|
@@ -66,7 +66,7 @@ class ShowReleaseNotesAction extends Action2 {
|
|
|
66
66
|
await openerService.open(( URI.parse(productService.releaseNotesUrl)));
|
|
67
67
|
} else {
|
|
68
68
|
throw ( new Error(( localize(
|
|
69
|
-
|
|
69
|
+
20504,
|
|
70
70
|
"This version of {0} does not have release notes online",
|
|
71
71
|
productService.nameLong
|
|
72
72
|
))));
|
|
@@ -79,10 +79,10 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
|
|
|
79
79
|
super({
|
|
80
80
|
id: ShowCurrentReleaseNotesFromCurrentFileActionId,
|
|
81
81
|
title: {
|
|
82
|
-
...( localize2(
|
|
83
|
-
mnemonicTitle: ( localize(
|
|
82
|
+
...( localize2(20505, "Open Current File as Release Notes")),
|
|
83
|
+
mnemonicTitle: ( localize(20503, "Show &&Release Notes"))
|
|
84
84
|
},
|
|
85
|
-
category: ( localize2(
|
|
85
|
+
category: ( localize2(20506, "Developer")),
|
|
86
86
|
f1: true
|
|
87
87
|
});
|
|
88
88
|
}
|
|
@@ -92,7 +92,7 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
|
|
|
92
92
|
try {
|
|
93
93
|
await showReleaseNotesInEditor(instantiationService, productService.version, true);
|
|
94
94
|
} catch (err) {
|
|
95
|
-
throw ( new Error(( localize(
|
|
95
|
+
throw ( new Error(( localize(20507, "Cannot open the current file as Release Notes"))));
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -104,7 +104,7 @@ class CheckForUpdateAction extends Action2 {
|
|
|
104
104
|
constructor() {
|
|
105
105
|
super({
|
|
106
106
|
id: "update.checkForUpdate",
|
|
107
|
-
title: ( localize2(
|
|
107
|
+
title: ( localize2(20508, "Check for Updates...")),
|
|
108
108
|
category: {
|
|
109
109
|
value: product.nameShort,
|
|
110
110
|
original: product.nameShort
|
|
@@ -122,7 +122,7 @@ class DownloadUpdateAction extends Action2 {
|
|
|
122
122
|
constructor() {
|
|
123
123
|
super({
|
|
124
124
|
id: "update.downloadUpdate",
|
|
125
|
-
title: ( localize2(
|
|
125
|
+
title: ( localize2(20509, "Download Update")),
|
|
126
126
|
category: {
|
|
127
127
|
value: product.nameShort,
|
|
128
128
|
original: product.nameShort
|
|
@@ -139,7 +139,7 @@ class InstallUpdateAction extends Action2 {
|
|
|
139
139
|
constructor() {
|
|
140
140
|
super({
|
|
141
141
|
id: "update.installUpdate",
|
|
142
|
-
title: ( localize2(
|
|
142
|
+
title: ( localize2(20510, "Install Update")),
|
|
143
143
|
category: {
|
|
144
144
|
value: product.nameShort,
|
|
145
145
|
original: product.nameShort
|
|
@@ -156,7 +156,7 @@ class RestartToUpdateAction extends Action2 {
|
|
|
156
156
|
constructor() {
|
|
157
157
|
super({
|
|
158
158
|
id: "update.restartToUpdate",
|
|
159
|
-
title: ( localize2(
|
|
159
|
+
title: ( localize2(20511, "Restart to Update")),
|
|
160
160
|
category: {
|
|
161
161
|
value: product.nameShort,
|
|
162
162
|
original: product.nameShort
|
|
@@ -179,7 +179,7 @@ class DownloadAction extends Action2 {
|
|
|
179
179
|
constructor() {
|
|
180
180
|
super({
|
|
181
181
|
id: DownloadAction.ID,
|
|
182
|
-
title: ( localize2(
|
|
182
|
+
title: ( localize2(20512, "Download {0}", product.nameLong)),
|
|
183
183
|
precondition: IsWebContext,
|
|
184
184
|
f1: true,
|
|
185
185
|
menu: [{
|
|
@@ -208,7 +208,7 @@ if (isWindows) {
|
|
|
208
208
|
constructor() {
|
|
209
209
|
super({
|
|
210
210
|
id: "_update.applyupdate",
|
|
211
|
-
title: ( localize2(
|
|
211
|
+
title: ( localize2(20513, "Apply Update from File...")),
|
|
212
212
|
category: Categories.Developer,
|
|
213
213
|
f1: true,
|
|
214
214
|
precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
|
|
@@ -218,13 +218,13 @@ if (isWindows) {
|
|
|
218
218
|
const updateService = accessor.get(IUpdateService);
|
|
219
219
|
const fileDialogService = accessor.get(IFileDialogService);
|
|
220
220
|
const updatePath = await fileDialogService.showOpenDialog({
|
|
221
|
-
title: ( localize(
|
|
221
|
+
title: ( localize(20514, "Apply Update from File")),
|
|
222
222
|
filters: [{
|
|
223
223
|
name: "Setup",
|
|
224
224
|
extensions: ["exe"]
|
|
225
225
|
}],
|
|
226
226
|
canSelectFiles: true,
|
|
227
|
-
openLabel: mnemonicButtonLabel(( localize(
|
|
227
|
+
openLabel: mnemonicButtonLabel(( localize(20515, "&&Update")))
|
|
228
228
|
});
|
|
229
229
|
if (!updatePath || !updatePath[0]) {
|
|
230
230
|
return;
|
|
@@ -238,7 +238,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
|
|
|
238
238
|
constructor() {
|
|
239
239
|
super({
|
|
240
240
|
id: "update.showUpdateInfo",
|
|
241
|
-
title: ( localize2(
|
|
241
|
+
title: ( localize2(20516, "Show Update Info")),
|
|
242
242
|
category: Categories.Developer,
|
|
243
243
|
f1: true,
|
|
244
244
|
precondition: ( IsWebContext.negate())
|
|
@@ -249,7 +249,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
|
|
|
249
249
|
const quickInputService = accessor.get(IQuickInputService);
|
|
250
250
|
const markdown = await quickInputService.input({
|
|
251
251
|
prompt: ( localize(
|
|
252
|
-
|
|
252
|
+
20517,
|
|
253
253
|
"Enter markdown to render, or JSON with markdown/buttons (leave empty to load from URL)"
|
|
254
254
|
))
|
|
255
255
|
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><style>.st0{fill:#f6f6f6;fill-opacity:0}.st1{fill:#fff}.st2{fill:#167abf}</style><path class="st0" d="M1024 1024H0V0h1024v1024z"/><path class="st1" d="M1024 85.333v853.333H0V85.333h1024z"/><path class="st2" d="M0 85.333h298.667v853.333H0V85.333zm1024 0v853.333H384V85.333h640zm-554.667 160h341.333v-64H469.333v64zm341.334 533.334H469.333v64h341.333l.001-64zm128-149.334H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64zm0-149.333H597.333v64h341.333l.001-64z"/></svg>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { IAction } from "@codingame/monaco-vscode-api/vscode/vs/base/common/actions";
|
|
2
|
-
import type { Tokens } from "@codingame/monaco-vscode-api/vscode/vs/base/common/marked/marked";
|
|
3
|
-
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
4
|
-
import { IClipboardService } from "@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service";
|
|
5
|
-
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
6
|
-
import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service";
|
|
7
|
-
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
8
|
-
import { IPreferencesService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/preferences/common/preferences.service";
|
|
9
|
-
export declare class SimpleSettingRenderer {
|
|
10
|
-
private readonly _configurationService;
|
|
11
|
-
private readonly _contextMenuService;
|
|
12
|
-
private readonly _preferencesService;
|
|
13
|
-
private readonly _telemetryService;
|
|
14
|
-
private readonly _clipboardService;
|
|
15
|
-
private readonly codeSettingAnchorRegex;
|
|
16
|
-
private readonly codeSettingSimpleRegex;
|
|
17
|
-
private _updatedSettings;
|
|
18
|
-
private _encounteredSettings;
|
|
19
|
-
private _featuredSettings;
|
|
20
|
-
constructor(_configurationService: IConfigurationService, _contextMenuService: IContextMenuService, _preferencesService: IPreferencesService, _telemetryService: ITelemetryService, _clipboardService: IClipboardService);
|
|
21
|
-
get featuredSettingStates(): Map<string, boolean>;
|
|
22
|
-
private replaceAnchor;
|
|
23
|
-
private replaceSimple;
|
|
24
|
-
getHtmlRenderer(): (token: Tokens.HTML | Tokens.Tag) => string;
|
|
25
|
-
getCodeSpanRenderer(): (token: Tokens.Codespan) => string;
|
|
26
|
-
settingToUriString(settingId: string, value?: unknown): string;
|
|
27
|
-
private getSetting;
|
|
28
|
-
parseValue(settingId: string, value: string): string | number | boolean | undefined;
|
|
29
|
-
private render;
|
|
30
|
-
private viewInSettingsMessage;
|
|
31
|
-
private restorePreviousSettingMessage;
|
|
32
|
-
private isAlreadySet;
|
|
33
|
-
private booleanSettingMessage;
|
|
34
|
-
private stringSettingMessage;
|
|
35
|
-
private numberSettingMessage;
|
|
36
|
-
private renderSetting;
|
|
37
|
-
private getSettingMessage;
|
|
38
|
-
restoreSetting(settingId: string): Promise<void>;
|
|
39
|
-
setSetting(settingId: string, currentSettingValue: unknown, newSettingValue: unknown): Promise<void>;
|
|
40
|
-
getActions(uri: URI): IAction[] | undefined;
|
|
41
|
-
private showContextMenu;
|
|
42
|
-
updateSetting(uri: URI, x: number, y: number): Promise<void>;
|
|
43
|
-
}
|