167 lines
3.6 KiB
JSON
167 lines
3.6 KiB
JSON
{
|
|
"name": "prometeu-vscode-extension",
|
|
"displayName": "Prometeu VS Code Extension",
|
|
"description": "VS Code bridge for Prometeu Studio.",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"engines": {
|
|
"vscode": "^1.90.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:pbs"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "pbs",
|
|
"aliases": [
|
|
"PBS",
|
|
"Prometeu Base Script"
|
|
],
|
|
"extensions": [
|
|
".pbs",
|
|
".barrel"
|
|
]
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "prometeu.connectStudioLsp",
|
|
"title": "Prometeu: Connect to Studio LSP"
|
|
},
|
|
{
|
|
"command": "prometeu.restartStudioLsp",
|
|
"title": "Prometeu: Restart Studio LSP"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Prometeu",
|
|
"properties": {
|
|
"prometeu.studio.host": {
|
|
"type": "string",
|
|
"default": "127.0.0.1",
|
|
"description": "Prometeu Studio LSP host."
|
|
},
|
|
"prometeu.studio.port": {
|
|
"type": "number",
|
|
"default": 7775,
|
|
"description": "Prometeu Studio LSP TCP port."
|
|
}
|
|
}
|
|
},
|
|
"semanticTokenTypes": [
|
|
{
|
|
"id": "pbs-comment",
|
|
"description": "PBS comment token"
|
|
},
|
|
{
|
|
"id": "pbs-string",
|
|
"description": "PBS string token"
|
|
},
|
|
{
|
|
"id": "pbs-number",
|
|
"description": "PBS number token"
|
|
},
|
|
{
|
|
"id": "pbs-literal",
|
|
"description": "PBS literal token"
|
|
},
|
|
{
|
|
"id": "pbs-lifecycle",
|
|
"description": "PBS lifecycle token"
|
|
},
|
|
{
|
|
"id": "pbs-keyword",
|
|
"description": "PBS keyword token"
|
|
},
|
|
{
|
|
"id": "pbs-operator",
|
|
"description": "PBS operator token"
|
|
},
|
|
{
|
|
"id": "pbs-punctuation",
|
|
"description": "PBS punctuation token"
|
|
},
|
|
{
|
|
"id": "pbs-function",
|
|
"description": "PBS function token"
|
|
},
|
|
{
|
|
"id": "pbs-method",
|
|
"description": "PBS method token"
|
|
},
|
|
{
|
|
"id": "pbs-constructor",
|
|
"description": "PBS constructor token"
|
|
},
|
|
{
|
|
"id": "pbs-struct",
|
|
"description": "PBS struct token"
|
|
},
|
|
{
|
|
"id": "pbs-contract",
|
|
"description": "PBS contract token"
|
|
},
|
|
{
|
|
"id": "pbs-host",
|
|
"description": "PBS host token"
|
|
},
|
|
{
|
|
"id": "pbs-builtin-type",
|
|
"description": "PBS builtin type token"
|
|
},
|
|
{
|
|
"id": "pbs-service",
|
|
"description": "PBS service token"
|
|
},
|
|
{
|
|
"id": "pbs-error",
|
|
"description": "PBS error token"
|
|
},
|
|
{
|
|
"id": "pbs-enum",
|
|
"description": "PBS enum token"
|
|
},
|
|
{
|
|
"id": "pbs-callback",
|
|
"description": "PBS callback token"
|
|
},
|
|
{
|
|
"id": "pbs-global",
|
|
"description": "PBS global token"
|
|
},
|
|
{
|
|
"id": "pbs-const",
|
|
"description": "PBS const token"
|
|
},
|
|
{
|
|
"id": "pbs-implements",
|
|
"description": "PBS implements token"
|
|
},
|
|
{
|
|
"id": "pbs-identifier",
|
|
"description": "PBS identifier token"
|
|
}
|
|
],
|
|
"configurationDefaults": {
|
|
"editor.semanticHighlighting.enabled": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@types/vscode": "^1.90.0",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|