-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 4.51 KB
/
package.json
File metadata and controls
137 lines (137 loc) · 4.51 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "phpantom",
"displayName": "PHPantom",
"description": "Fast PHP language server with Laravel and PHPStan-aware type intelligence.",
"version": "0.4.1",
"publisher": "phpantom",
"license": "MIT",
"icon": "assets/spookaphant.png",
"preview": true,
"galleryBanner": {
"color": "#1a1a2e",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/PHPantom-dev/phpantom_vsix.git"
},
"bugs": {
"url": "https://github.com/PHPantom-dev/phpantom_vsix/issues"
},
"homepage": "https://github.com/PHPantom-dev/phpantom_vsix#readme",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters"
],
"keywords": [
"php",
"laravel",
"drupal",
"lsp",
"phpstan",
"intellisense"
],
"activationEvents": [
"onLanguage:php"
],
"main": "./dist/extension.js",
"extensionKind": [
"workspace"
],
"contributes": {
"languages": [
{
"id": "php",
"aliases": ["PHP"]
}
],
"commands": [
{
"command": "phpantom.restartServer",
"title": "PHPantom: Restart Language Server"
},
{
"command": "phpantom.showOutput",
"title": "PHPantom: Show Output"
},
{
"command": "phpantom.showServerVersion",
"title": "PHPantom: Show Server Version"
},
{
"command": "phpantom.checkForUpdate",
"title": "PHPantom: Check for Server Update"
},
{
"command": "phpantom.clearDownloadedServer",
"title": "PHPantom: Clear Downloaded Language Server"
}
],
"configuration": {
"title": "PHPantom",
"properties": {
"phpantom.serverPath": {
"type": "string",
"default": "",
"description": "Absolute path to a custom phpantom_lsp binary. When set, PHPantom will use this instead of PATH or the downloaded binary."
},
"phpantom.releaseTag": {
"type": "string",
"default": "latest",
"description": "GitHub release tag to download. Use latest to download the latest stable release."
},
"phpantom.autoDownload": {
"type": "boolean",
"default": true,
"description": "Automatically download phpantom_lsp if it is not configured and not found on PATH."
},
"phpantom.autoUpdate": {
"type": "boolean",
"default": true,
"description": "Automatically check for newer downloaded phpantom_lsp releases when phpantom.releaseTag is latest. Ignored when phpantom.serverPath is set."
},
"phpantom.updateCheckIntervalHours": {
"type": "number",
"default": 24,
"minimum": 1,
"maximum": 168,
"description": "How often to check for newer PHPantom language server releases while the extension is active. The extension also checks once on startup without blocking activation."
},
"phpantom.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Trace communication between VS Code/Cursor and the PHPantom language server."
}
}
}
},
"scripts": {
"compile": "node esbuild.js",
"watch": "node esbuild.js --watch",
"check": "tsc --noEmit",
"package": "vsce package",
"vscode:prepublish": "node esbuild.js"
},
"dependencies": {
"adm-zip": "^0.5.16",
"tar": "^7.4.3",
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/adm-zip": "^0.5.7",
"@types/node": "^20.0.0",
"@types/vscode": "1.88.0",
"@vscode/vsce": "^3.2.2",
"esbuild": "^0.28.0",
"typescript": "^5.0.0"
}
}