tsl-devkit/vscode/package.json

105 lines
2.4 KiB
JSON

{
"name": "tsl-tools",
"displayName": "TSL",
"version": "3.0.0",
"description": "VSCode extension for TSL, with syntax highlighting, code completion, and formatting",
"publisher": "csh",
"homepage": "https://git.mytsl.cn/csh/tsl-devkit",
"author": {
"name": "csh"
},
"repository": {
"type": "git",
"url": "https://git.mytsl.cn/csh/tsl-devkit"
},
"bugs": {
"url": "https://git.mytsl.cn/csh/tsl-devkit/issues"
},
"license": "AGPL-3.0-or-later",
"icon": "images/favicon.ico",
"categories": [
"Programming Languages"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "tsl",
"aliases": [
"TSL",
"tsl"
],
"extensions": [
".tsl",
".tsf"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "tsl",
"scopeName": "source.tsl",
"path": "./syntaxes/tsl.tmLanguage.json"
}
],
"snippets": [
{
"language": "tsl",
"path": "./snippets/tsl.json"
}
],
"configuration": {
"type": "object",
"title": "TSL",
"properties": {
"tsl.server.executable": {
"type": "string",
"default": "",
"description": "Path to tsl-server executable (leave empty for auto-detection)"
},
"tsl.server.arguments": {
"type": "array",
"default": [
"--log=info",
"--log-stderr"
],
"description": "Arguments for TSL server",
"items": {
"type": "string"
}
},
"tsl.interpreter.executable": {
"type": "string",
"default": "",
"description": "Path to TSL interpreter executable (leave empty for auto-detection)"
}
}
},
"commands": [
{
"command": "extension.start",
"title": "Start TSL Language Server"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ."
},
"devDependencies": {
"@types/node": "^24.5.2",
"@types/vscode": "^1.90.0",
"@vscode/vsce": "^3.6.0",
"prettier": "^3.6.2",
"typescript": "^5.9.2"
},
"engines": {
"vscode": "^1.90.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}