@codingame/monaco-vscode-api 22.1.8 → 22.1.9
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 +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +9 -9
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
|
@@ -81,7 +81,7 @@ class AbstractVariableResolverService {
|
|
|
81
81
|
return normalizeDriveLetter(filePath);
|
|
82
82
|
}
|
|
83
83
|
throw ( new VariableError(variableKind, ( localize(
|
|
84
|
-
|
|
84
|
+
13306,
|
|
85
85
|
"Variable {0} can not be resolved. Please open an editor.",
|
|
86
86
|
replacement.id
|
|
87
87
|
))));
|
|
@@ -95,7 +95,7 @@ class AbstractVariableResolverService {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
throw ( new VariableError(variableKind, ( localize(
|
|
98
|
-
|
|
98
|
+
13307,
|
|
99
99
|
"Variable {0}: can not find workspace folder of '{1}'.",
|
|
100
100
|
replacement.id,
|
|
101
101
|
basename(filePath)
|
|
@@ -108,7 +108,7 @@ class AbstractVariableResolverService {
|
|
|
108
108
|
return folder;
|
|
109
109
|
}
|
|
110
110
|
throw ( new VariableError(variableKind, ( localize(
|
|
111
|
-
|
|
111
|
+
13308,
|
|
112
112
|
"Variable {0} can not be resolved. No such folder '{1}'.",
|
|
113
113
|
variableKind,
|
|
114
114
|
argument
|
|
@@ -119,13 +119,13 @@ class AbstractVariableResolverService {
|
|
|
119
119
|
}
|
|
120
120
|
if (this._context.getWorkspaceFolderCount() > 1) {
|
|
121
121
|
throw ( new VariableError(variableKind, ( localize(
|
|
122
|
-
|
|
122
|
+
13309,
|
|
123
123
|
"Variable {0} can not be resolved in a multi folder workspace. Scope this variable using ':' and a workspace folder name.",
|
|
124
124
|
variableKind
|
|
125
125
|
))));
|
|
126
126
|
}
|
|
127
127
|
throw ( new VariableError(variableKind, ( localize(
|
|
128
|
-
|
|
128
|
+
13310,
|
|
129
129
|
"Variable {0} can not be resolved. Please open a folder.",
|
|
130
130
|
variableKind
|
|
131
131
|
))));
|
|
@@ -142,7 +142,7 @@ class AbstractVariableResolverService {
|
|
|
142
142
|
return '';
|
|
143
143
|
}
|
|
144
144
|
throw ( new VariableError(VariableKind.Env, ( localize(
|
|
145
|
-
|
|
145
|
+
13311,
|
|
146
146
|
"Variable {0} can not be resolved because no environment variable name is given.",
|
|
147
147
|
replacement.id
|
|
148
148
|
))));
|
|
@@ -151,7 +151,7 @@ class AbstractVariableResolverService {
|
|
|
151
151
|
const config = this._context.getConfigurationValue(folderUri, argument);
|
|
152
152
|
if (isUndefinedOrNull(config)) {
|
|
153
153
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
154
|
-
|
|
154
|
+
13312,
|
|
155
155
|
"Variable {0} can not be resolved because setting '{1}' not found.",
|
|
156
156
|
replacement.id,
|
|
157
157
|
argument
|
|
@@ -159,7 +159,7 @@ class AbstractVariableResolverService {
|
|
|
159
159
|
}
|
|
160
160
|
if (isObject(config)) {
|
|
161
161
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
162
|
-
|
|
162
|
+
13313,
|
|
163
163
|
"Variable {0} can not be resolved because '{1}' is a structured value.",
|
|
164
164
|
replacement.id,
|
|
165
165
|
argument
|
|
@@ -168,7 +168,7 @@ class AbstractVariableResolverService {
|
|
|
168
168
|
return config;
|
|
169
169
|
}
|
|
170
170
|
throw ( new VariableError(VariableKind.Config, ( localize(
|
|
171
|
-
|
|
171
|
+
13314,
|
|
172
172
|
"Variable {0} can not be resolved because no settings name is given.",
|
|
173
173
|
replacement.id
|
|
174
174
|
))));
|
|
@@ -181,7 +181,7 @@ class AbstractVariableResolverService {
|
|
|
181
181
|
const ext = await this._context.getExtension(argument);
|
|
182
182
|
if (!ext) {
|
|
183
183
|
throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
|
|
184
|
-
|
|
184
|
+
13315,
|
|
185
185
|
"Variable {0} can not be resolved because the extension {1} is not installed.",
|
|
186
186
|
replacement.id,
|
|
187
187
|
argument
|
|
@@ -190,7 +190,7 @@ class AbstractVariableResolverService {
|
|
|
190
190
|
return this.fsPath(ext.extensionLocation);
|
|
191
191
|
}
|
|
192
192
|
throw ( new VariableError(VariableKind.ExtensionInstallFolder, ( localize(
|
|
193
|
-
|
|
193
|
+
13316,
|
|
194
194
|
"Variable {0} can not be resolved because no extension name is given.",
|
|
195
195
|
replacement.id
|
|
196
196
|
))));
|
|
@@ -218,7 +218,7 @@ class AbstractVariableResolverService {
|
|
|
218
218
|
return environment.userHome;
|
|
219
219
|
}
|
|
220
220
|
throw ( new VariableError(VariableKind.UserHome, ( localize(
|
|
221
|
-
|
|
221
|
+
13317,
|
|
222
222
|
"Variable {0} can not be resolved. UserHome path is not defined",
|
|
223
223
|
replacement.id
|
|
224
224
|
))));
|
|
@@ -228,7 +228,7 @@ class AbstractVariableResolverService {
|
|
|
228
228
|
return lineNumber;
|
|
229
229
|
}
|
|
230
230
|
throw ( new VariableError(VariableKind.LineNumber, ( localize(
|
|
231
|
-
|
|
231
|
+
13318,
|
|
232
232
|
"Variable {0} can not be resolved. Make sure to have a line selected in the active editor.",
|
|
233
233
|
replacement.id
|
|
234
234
|
))));
|
|
@@ -239,7 +239,7 @@ class AbstractVariableResolverService {
|
|
|
239
239
|
return columnNumber;
|
|
240
240
|
}
|
|
241
241
|
throw ( new Error(( localize(
|
|
242
|
-
|
|
242
|
+
13319,
|
|
243
243
|
"Variable {0} can not be resolved. Make sure to have a column selected in the active editor.",
|
|
244
244
|
replacement.id
|
|
245
245
|
))));
|
|
@@ -250,7 +250,7 @@ class AbstractVariableResolverService {
|
|
|
250
250
|
return selectedText;
|
|
251
251
|
}
|
|
252
252
|
throw ( new VariableError(VariableKind.SelectedText, ( localize(
|
|
253
|
-
|
|
253
|
+
13320,
|
|
254
254
|
"Variable {0} can not be resolved. Make sure to have some text selected in the active editor.",
|
|
255
255
|
replacement.id
|
|
256
256
|
))));
|
|
@@ -322,7 +322,7 @@ class AbstractVariableResolverService {
|
|
|
322
322
|
return v;
|
|
323
323
|
}
|
|
324
324
|
throw ( new VariableError(variableKind, ( localize(
|
|
325
|
-
|
|
325
|
+
13321,
|
|
326
326
|
"Variable {0} can not be resolved because the command has no value.",
|
|
327
327
|
match
|
|
328
328
|
))));
|
|
@@ -16,7 +16,7 @@ const editorAssociationsConfigurationNode = {
|
|
|
16
16
|
'workbench.editorAssociations': {
|
|
17
17
|
type: 'object',
|
|
18
18
|
markdownDescription: ( localize(
|
|
19
|
-
|
|
19
|
+
13374,
|
|
20
20
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors (for example `\"*.hex\": \"hexEditor.hexedit\"`). These have precedence over the default behavior."
|
|
21
21
|
)),
|
|
22
22
|
additionalProperties: {
|