-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
215 lines (215 loc) · 7.2 KB
/
Copy pathpackage.json
File metadata and controls
215 lines (215 loc) · 7.2 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"name": "vscode-tinyphp",
"displayName": "TinyPHP",
"description": "TinyPHP language support for Visual Studio Code — syntax highlighting, diagnostics, autocomplete, and code navigation",
"version": "0.1.0",
"publisher": "tinyphp",
"repository": {
"type": "git",
"url": "https://github.com/tinyphp/vscode-tinyphp"
},
"license": "MIT",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters"
],
"keywords": [
"tinyphp",
"php",
"intellisense",
"autocomplete",
"language server",
"aot",
"compiler"
],
"icon": "images/tinyphp-icon.png",
"main": "./lib/extension.js",
"extensionKind": [
"workspace"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "An alternate Node.js runtime or maximum memory value cannot be provided via workspace settings in an untrusted workspace.",
"restrictedConfigurations": [
"tinyphp.runtime",
"tinyphp.maxMemory"
]
},
"virtualWorkspaces": {
"supported": "limited",
"description": "Virtual Workspaces are not indexed. Language intelligence and symbol recognition is limited to open files."
}
},
"contributes": {
"languages": [
{
"id": "tinyphp",
"aliases": [
"TinyPHP",
"tinyphp"
],
"extensions": [
".tphp",
".php",
".inc"
],
"filenames": [
"tphp.php"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./images/tinyphp-icon.png",
"dark": "./images/tinyphp-icon.png"
}
}
],
"grammars": [
{
"language": "tinyphp",
"scopeName": "source.tinyphp",
"path": "./syntaxes/tinyphp.tmLanguage.json",
"embeddedLanguages": {
"text.html.derivative": "html",
"source.css": "css",
"source.js": "javascript"
}
}
],
"snippets": [
{
"language": "tinyphp",
"path": "./snippets/tinyphp.json"
}
],
"commands": [
{
"command": "tinyphp.restart.server",
"title": "Restart Language Server",
"category": "TinyPHP"
}
],
"configuration": {
"type": "object",
"title": "TinyPHP",
"properties": {
"tinyphp.runtime": {
"type": "string",
"default": null,
"description": "Path to a custom Node.js runtime to use for the language server."
},
"tinyphp.maxMemory": {
"type": "integer",
"default": 1024,
"minimum": 256,
"description": "Maximum memory (MB) for the language server."
},
"tinyphp.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the TinyPHP language server."
},
"tinyphp.diagnostics.enable": {
"type": "boolean",
"default": true,
"description": "Enable diagnostics."
},
"tinyphp.completion.enable": {
"type": "boolean",
"default": true,
"description": "Enable autocomplete."
},
"tinyphp.hover.enable": {
"type": "boolean",
"default": true,
"description": "Enable hover information."
},
"tinyphp.signatureHelp.enable": {
"type": "boolean",
"default": true,
"description": "Enable signature help."
},
"tinyphp.inlayHints.enable": {
"type": "boolean",
"default": true,
"description": "Enable inlay hints (grey type annotations for untyped parameters/constants)."
},
"tinyphp.inlayHints.showParameterTypes": {
"type": "boolean",
"default": true,
"description": "Show grey type hints for untyped function/method parameters (type is optional in TinyPHP)."
},
"tinyphp.inlayHints.showConstantTypes": {
"type": "boolean",
"default": true,
"description": "Show grey deduced type hints for untyped global/namespace constants."
},
"tinyphp.files.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/.git/**",
"**/node_modules/**",
"**/vendor/**"
],
"description": "Glob patterns to exclude from analysis."
},
"tinyphp.files.associations": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"*.tphp",
"*.php",
"*.inc"
],
"description": "File associations for TinyPHP analysis."
}
}
},
"configurationDefaults": {
"[tinyphp]": {
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
},
"emmet.includeLanguages": {
"tinyphp": "html"
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"watch": "webpack --mode development --watch",
"compile": "tsc -b",
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"ts-loader": "^9.5.0",
"typescript": "^5.3.0",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.0",
"vscode-languageserver": "^9.0.0",
"vscode-languageserver-textdocument": "^1.0.0"
}
}