Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/json-language-features/package.json
3309 views
1
{
2
"name": "json-language-features",
3
"displayName": "%displayName%",
4
"description": "%description%",
5
"version": "1.0.0",
6
"publisher": "vscode",
7
"license": "MIT",
8
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
9
"engines": {
10
"vscode": "^1.77.0"
11
},
12
"enabledApiProposals": [
13
"extensionsAny"
14
],
15
"icon": "icons/json.png",
16
"activationEvents": [
17
"onLanguage:json",
18
"onLanguage:jsonc",
19
"onLanguage:snippets",
20
"onCommand:json.validate"
21
],
22
"main": "./client/out/node/jsonClientMain",
23
"browser": "./client/dist/browser/jsonClientMain",
24
"capabilities": {
25
"virtualWorkspaces": true,
26
"untrustedWorkspaces": {
27
"supported": "limited",
28
"description": "%json.workspaceTrust%"
29
}
30
},
31
"scripts": {
32
"compile": "npx gulp compile-extension:json-language-features-client compile-extension:json-language-features-server",
33
"watch": "npx gulp watch-extension:json-language-features-client watch-extension:json-language-features-server",
34
"install-client-next": "npm install vscode-languageclient@next"
35
},
36
"categories": [
37
"Programming Languages"
38
],
39
"contributes": {
40
"configuration": {
41
"id": "json",
42
"order": 20,
43
"type": "object",
44
"title": "JSON",
45
"properties": {
46
"json.schemas": {
47
"type": "array",
48
"scope": "resource",
49
"description": "%json.schemas.desc%",
50
"items": {
51
"type": "object",
52
"default": {
53
"fileMatch": [
54
"/myfile"
55
],
56
"url": "schemaURL"
57
},
58
"properties": {
59
"url": {
60
"type": "string",
61
"default": "/user.schema.json",
62
"description": "%json.schemas.url.desc%"
63
},
64
"fileMatch": {
65
"type": "array",
66
"items": {
67
"type": "string",
68
"default": "MyFile.json",
69
"description": "%json.schemas.fileMatch.item.desc%"
70
},
71
"minItems": 1,
72
"description": "%json.schemas.fileMatch.desc%"
73
},
74
"schema": {
75
"$ref": "http://json-schema.org/draft-07/schema#",
76
"description": "%json.schemas.schema.desc%"
77
}
78
}
79
}
80
},
81
"json.validate.enable": {
82
"type": "boolean",
83
"scope": "window",
84
"default": true,
85
"description": "%json.validate.enable.desc%"
86
},
87
"json.format.enable": {
88
"type": "boolean",
89
"scope": "window",
90
"default": true,
91
"description": "%json.format.enable.desc%"
92
},
93
"json.format.keepLines": {
94
"type": "boolean",
95
"scope": "window",
96
"default": false,
97
"description": "%json.format.keepLines.desc%"
98
},
99
"json.trace.server": {
100
"type": "string",
101
"scope": "window",
102
"enum": [
103
"off",
104
"messages",
105
"verbose"
106
],
107
"default": "off",
108
"description": "%json.tracing.desc%"
109
},
110
"json.colorDecorators.enable": {
111
"type": "boolean",
112
"scope": "window",
113
"default": true,
114
"description": "%json.colorDecorators.enable.desc%",
115
"deprecationMessage": "%json.colorDecorators.enable.deprecationMessage%"
116
},
117
"json.maxItemsComputed": {
118
"type": "number",
119
"default": 5000,
120
"description": "%json.maxItemsComputed.desc%"
121
},
122
"json.schemaDownload.enable": {
123
"type": "boolean",
124
"default": true,
125
"description": "%json.enableSchemaDownload.desc%",
126
"tags": [
127
"usesOnlineServices"
128
]
129
}
130
}
131
},
132
"configurationDefaults": {
133
"[json]": {
134
"editor.quickSuggestions": {
135
"strings": true
136
},
137
"editor.suggest.insertMode": "replace"
138
},
139
"[jsonc]": {
140
"editor.quickSuggestions": {
141
"strings": true
142
},
143
"editor.suggest.insertMode": "replace"
144
},
145
"[snippets]": {
146
"editor.quickSuggestions": {
147
"strings": true
148
},
149
"editor.suggest.insertMode": "replace"
150
}
151
},
152
"jsonValidation": [
153
{
154
"fileMatch": "*.schema.json",
155
"url": "http://json-schema.org/draft-07/schema#"
156
}
157
],
158
"commands": [
159
{
160
"command": "json.clearCache",
161
"title": "%json.command.clearCache%",
162
"category": "JSON"
163
},
164
{
165
"command": "json.sort",
166
"title": "%json.command.sort%",
167
"category": "JSON"
168
}
169
]
170
},
171
"dependencies": {
172
"@vscode/extension-telemetry": "^0.9.8",
173
"request-light": "^0.8.0",
174
"vscode-languageclient": "^10.0.0-next.16"
175
},
176
"devDependencies": {
177
"@types/node": "22.x"
178
},
179
"repository": {
180
"type": "git",
181
"url": "https://github.com/microsoft/vscode.git"
182
}
183
}
184
185