mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
59 lines
1.3 KiB
JSON
59 lines
1.3 KiB
JSON
{
|
|
"name": "lsp-sample",
|
|
"description": "VSCode part of a language server",
|
|
"author": "Microsoft Corporation",
|
|
"license": "MIT",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.22.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:plaintext"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Example configuration",
|
|
"properties": {
|
|
"lspSample.maxNumberOfProblems": {
|
|
"scope": "resource",
|
|
"type": "number",
|
|
"default": 100,
|
|
"description": "Controls the maximum number of problems produced by the server."
|
|
},
|
|
"lspSample.trace.server": {
|
|
"scope": "window",
|
|
"type": "string",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
],
|
|
"default": "off",
|
|
"description": "Traces the communication between VSCode and the language server."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "tsc -p ./",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -w -p ./",
|
|
"update-vscode": "node ./node_modules/vscode/bin/install",
|
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
|
},
|
|
"dependencies": {
|
|
"vscode": "^1.1.17",
|
|
"vscode-languageclient": "^4.1.3"
|
|
}
|
|
}
|