1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
{
"name": "php-language-features",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"icon": "icons/logo.png",
"engines": {
"vscode": "0.10.x"
},
"enableProposedApi": true,
"activationEvents": [
"onLanguage:php"
],
"main": "./out/phpMain",
"categories": [
"Programming Languages"
],
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": "limited",
"description": "%workspaceTrust%",
"restrictedConfigurations": [
"php.validate.executablePath"
]
}
},
"contributes": {
"configuration": {
"title": "%configuration.title%",
"type": "object",
"order": 20,
"properties": {
"php.suggest.basic": {
"type": "boolean",
"default": true,
"description": "%configuration.suggest.basic%"
},
"php.validate.enable": {
"type": "boolean",
"default": true,
"description": "%configuration.validate.enable%"
},
"php.validate.executablePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "%configuration.validate.executablePath%",
"scope": "machine-overridable"
},
"php.validate.run": {
"type": "string",
"enum": [
"onSave",
"onType"
],
"default": "onSave",
"description": "%configuration.validate.run%"
}
}
},
"jsonValidation": [
{
"fileMatch": "composer.json",
"url": "https://getcomposer.org/schema.json"
}
],
"commands": [
{
"title": "%command.untrustValidationExecutable%",
"category": "%commands.categroy.php%",
"command": "php.untrustValidationExecutable"
}
],
"menus": {
"commandPalette": [
{
"command": "php.untrustValidationExecutable",
"when": "php.untrustValidationExecutableContext"
}
]
}
},
"scripts": {
"compile": "npx gulp compile-extension:php-language-features",
"watch": "npx gulp watch-extension:php-language-features"
},
"dependencies": {
"vscode-nls": "^4.0.0",
"which": "^2.0.2"
},
"devDependencies": {
"@types/node": "14.x",
"@types/which": "^2.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}
|