mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
Add "web" as extensionKind to extensions which support this
This commit is contained in:
parent
731f9c2563
commit
2fa41fb23e
|
@ -4,7 +4,8 @@
|
|||
"description": "%description%",
|
||||
"extensionKind": [
|
||||
"ui",
|
||||
"workspace"
|
||||
"workspace",
|
||||
"web"
|
||||
],
|
||||
"version": "1.0.0",
|
||||
"publisher": "vscode",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"activationEvents": ["onLanguage:python"],
|
||||
"main": "./out/pythonMain",
|
||||
"browser": "./dist/browser/pythonMain",
|
||||
"extensionKind": [ "ui", "workspace" ],
|
||||
"extensionKind": [ "ui", "workspace", "web" ],
|
||||
"contributes": {
|
||||
"languages": [{
|
||||
"id": "python",
|
||||
|
|
|
@ -97,11 +97,13 @@ const extensionKindSchema: IJSONSchema = {
|
|||
type: 'string',
|
||||
enum: [
|
||||
'ui',
|
||||
'workspace'
|
||||
'workspace',
|
||||
'web'
|
||||
],
|
||||
enumDescriptions: [
|
||||
localize('ui', "UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."),
|
||||
localize('workspace', "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote.")
|
||||
localize('workspace', "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."),
|
||||
localize('web', "Web worker extension kind. Such an extension can execute in a web worker extension host.")
|
||||
],
|
||||
};
|
||||
|
||||
|
|
|
@ -150,11 +150,13 @@ const extensionKindSchema: IJSONSchema = {
|
|||
type: 'string',
|
||||
enum: [
|
||||
'ui',
|
||||
'workspace'
|
||||
'workspace',
|
||||
'web'
|
||||
],
|
||||
enumDescriptions: [
|
||||
nls.localize('ui', "UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."),
|
||||
nls.localize('workspace', "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote.")
|
||||
nls.localize('workspace', "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."),
|
||||
nls.localize('web', "Web worker extension kind. Such an extension can execute in a web worker extension host.")
|
||||
],
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue