mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"name": "lsp-multi-server-example-client-part",
|
|
"description": "A language server example demoing servers per workspace folder",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode",
|
|
"engines": {
|
|
"vscode": "^1.15.0"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:plaintext"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Multi LSP configuration",
|
|
"properties": {
|
|
"lspMultiServerSample.enable": {
|
|
"scope": "resource",
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Controls the enablement."
|
|
},
|
|
"lspMultiServerSample.options": {
|
|
"scope": "resource",
|
|
"type": "object",
|
|
"default": {},
|
|
"description": "Additional options."
|
|
},
|
|
"lspMultiServerSample.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.5",
|
|
"vscode-languageclient": "^3.5.0"
|
|
}
|
|
}
|