2018-03-17 14:46:04 +00:00
|
|
|
{
|
2021-01-29 14:19:18 +00:00
|
|
|
"name": "json-language-features",
|
|
|
|
"displayName": "%displayName%",
|
|
|
|
"description": "%description%",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"publisher": "vscode",
|
|
|
|
"license": "MIT",
|
2022-07-07 00:18:41 +00:00
|
|
|
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
|
2021-01-29 14:19:18 +00:00
|
|
|
"engines": {
|
2023-04-25 10:29:42 +00:00
|
|
|
"vscode": "^1.77.0"
|
2021-01-29 14:19:18 +00:00
|
|
|
},
|
2023-01-23 18:09:07 +00:00
|
|
|
"enabledApiProposals": [],
|
2021-01-29 14:19:18 +00:00
|
|
|
"icon": "icons/json.png",
|
|
|
|
"activationEvents": [
|
|
|
|
"onLanguage:json",
|
2023-02-06 17:38:15 +00:00
|
|
|
"onLanguage:jsonc"
|
2021-01-29 14:19:18 +00:00
|
|
|
],
|
|
|
|
"main": "./client/out/node/jsonClientMain",
|
|
|
|
"browser": "./client/dist/browser/jsonClientMain",
|
2021-04-21 18:54:42 +00:00
|
|
|
"capabilities": {
|
2021-04-23 08:19:46 +00:00
|
|
|
"virtualWorkspaces": true,
|
2021-04-21 18:54:42 +00:00
|
|
|
"untrustedWorkspaces": {
|
|
|
|
"supported": true
|
|
|
|
}
|
|
|
|
},
|
2021-01-29 14:19:18 +00:00
|
|
|
"scripts": {
|
2021-08-19 09:50:04 +00:00
|
|
|
"compile": "npx gulp compile-extension:json-language-features-client compile-extension:json-language-features-server",
|
|
|
|
"watch": "npx gulp watch-extension:json-language-features-client watch-extension:json-language-features-server",
|
2021-01-29 14:19:18 +00:00
|
|
|
"install-client-next": "yarn add vscode-languageclient@next"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Programming Languages"
|
|
|
|
],
|
|
|
|
"contributes": {
|
|
|
|
"configuration": {
|
|
|
|
"id": "json",
|
|
|
|
"order": 20,
|
|
|
|
"type": "object",
|
|
|
|
"title": "JSON",
|
|
|
|
"properties": {
|
|
|
|
"json.schemas": {
|
|
|
|
"type": "array",
|
|
|
|
"scope": "resource",
|
|
|
|
"description": "%json.schemas.desc%",
|
|
|
|
"items": {
|
2018-03-17 14:46:04 +00:00
|
|
|
"type": "object",
|
2021-01-29 14:19:18 +00:00
|
|
|
"default": {
|
|
|
|
"fileMatch": [
|
|
|
|
"/myfile"
|
|
|
|
],
|
|
|
|
"url": "schemaURL"
|
|
|
|
},
|
2018-03-17 14:46:04 +00:00
|
|
|
"properties": {
|
2021-01-29 14:19:18 +00:00
|
|
|
"url": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "/user.schema.json",
|
|
|
|
"description": "%json.schemas.url.desc%"
|
|
|
|
},
|
|
|
|
"fileMatch": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "MyFile.json",
|
|
|
|
"description": "%json.schemas.fileMatch.item.desc%"
|
2019-12-02 20:43:59 +00:00
|
|
|
},
|
2021-01-29 14:19:18 +00:00
|
|
|
"minItems": 1,
|
|
|
|
"description": "%json.schemas.fileMatch.desc%"
|
|
|
|
},
|
|
|
|
"schema": {
|
|
|
|
"$ref": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"description": "%json.schemas.schema.desc%"
|
|
|
|
}
|
2018-03-17 14:46:04 +00:00
|
|
|
}
|
2021-01-29 14:19:18 +00:00
|
|
|
}
|
2018-03-17 14:46:04 +00:00
|
|
|
},
|
2022-04-12 13:33:14 +00:00
|
|
|
"json.validate.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "window",
|
|
|
|
"default": true,
|
|
|
|
"description": "%json.validate.enable.desc%"
|
|
|
|
},
|
2021-01-29 14:19:18 +00:00
|
|
|
"json.format.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "window",
|
|
|
|
"default": true,
|
|
|
|
"description": "%json.format.enable.desc%"
|
2020-01-23 10:35:43 +00:00
|
|
|
},
|
2022-07-12 07:59:33 +00:00
|
|
|
"json.format.keepLines": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "window",
|
|
|
|
"default": false,
|
|
|
|
"description": "%json.format.keepLines.desc%"
|
|
|
|
},
|
2023-08-02 10:24:03 +00:00
|
|
|
"json.sortOnSave.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "window",
|
|
|
|
"default": false,
|
|
|
|
"description": "%json.sortOnSave.enable.desc%"
|
|
|
|
},
|
2021-01-29 14:19:18 +00:00
|
|
|
"json.trace.server": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "window",
|
|
|
|
"enum": [
|
|
|
|
"off",
|
|
|
|
"messages",
|
|
|
|
"verbose"
|
|
|
|
],
|
|
|
|
"default": "off",
|
|
|
|
"description": "%json.tracing.desc%"
|
|
|
|
},
|
|
|
|
"json.colorDecorators.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "window",
|
|
|
|
"default": true,
|
|
|
|
"description": "%json.colorDecorators.enable.desc%",
|
|
|
|
"deprecationMessage": "%json.colorDecorators.enable.deprecationMessage%"
|
|
|
|
},
|
|
|
|
"json.maxItemsComputed": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 5000,
|
|
|
|
"description": "%json.maxItemsComputed.desc%"
|
|
|
|
},
|
|
|
|
"json.schemaDownload.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "%json.enableSchemaDownload.desc%",
|
|
|
|
"tags": [
|
|
|
|
"usesOnlineServices"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-03-17 14:46:04 +00:00
|
|
|
},
|
2021-01-29 14:19:18 +00:00
|
|
|
"configurationDefaults": {
|
|
|
|
"[json]": {
|
|
|
|
"editor.quickSuggestions": {
|
|
|
|
"strings": true
|
|
|
|
},
|
|
|
|
"editor.suggest.insertMode": "replace"
|
|
|
|
},
|
|
|
|
"[jsonc]": {
|
|
|
|
"editor.quickSuggestions": {
|
|
|
|
"strings": true
|
|
|
|
},
|
|
|
|
"editor.suggest.insertMode": "replace"
|
|
|
|
}
|
2019-12-02 20:43:59 +00:00
|
|
|
},
|
2021-01-29 14:19:18 +00:00
|
|
|
"jsonValidation": [
|
|
|
|
{
|
|
|
|
"fileMatch": "*.schema.json",
|
|
|
|
"url": "http://json-schema.org/draft-07/schema#"
|
|
|
|
}
|
2021-12-06 15:56:12 +00:00
|
|
|
],
|
2022-01-07 13:32:20 +00:00
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "json.clearCache",
|
|
|
|
"title": "%json.command.clearCache%",
|
|
|
|
"category": "JSON"
|
2023-02-17 18:49:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "json.sort",
|
|
|
|
"title": "%json.command.sort%",
|
|
|
|
"category": "JSON"
|
2022-01-07 13:32:20 +00:00
|
|
|
}
|
|
|
|
]
|
2021-01-29 14:19:18 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-02-21 06:27:06 +00:00
|
|
|
"@vscode/extension-telemetry": "^0.7.5",
|
2023-01-23 19:49:20 +00:00
|
|
|
"request-light": "^0.7.0",
|
2023-05-26 20:54:38 +00:00
|
|
|
"vscode-languageclient": "^8.2.0-next.1"
|
2021-01-29 14:19:18 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-07 12:46:27 +00:00
|
|
|
"@types/node": "18.x"
|
2021-01-29 14:30:45 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/microsoft/vscode.git"
|
2021-01-29 14:19:18 +00:00
|
|
|
}
|
2019-03-05 14:27:46 +00:00
|
|
|
}
|