201 lines
4.8 KiB
JSON
201 lines
4.8 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,
|
|
"editor.semanticTokenColorCustomizations": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"pbs-keyword:pbs": "#569cd6",
|
|
"pbs-lifecycle:pbs": "#ef50c0",
|
|
"pbs-function:pbs": "#f2c14e",
|
|
"pbs-method:pbs": "#f2c14e",
|
|
"pbs-constructor:pbs": "#ecdcaa",
|
|
"pbs-struct:pbs": "#4ec9b0",
|
|
"pbs-contract:pbs": "#78dce8",
|
|
"pbs-host:pbs": "#b7a2fa",
|
|
"pbs-builtin-type:pbs": "#8be9fd",
|
|
"pbs-service:pbs": "#b7a2fa",
|
|
"pbs-error:pbs": "#ff5b5b",
|
|
"pbs-enum:pbs": "#56cfe1",
|
|
"pbs-callback:pbs": "#b7a2fa",
|
|
"pbs-global:pbs": {
|
|
"foreground": "#f790fc",
|
|
"italic": true
|
|
},
|
|
"pbs-const:pbs": "#f78c6c",
|
|
"pbs-implements:pbs": "#a1c181",
|
|
"pbs-string:pbs": "#00c088",
|
|
"pbs-number:pbs": "#ff90b0",
|
|
"pbs-comment:pbs": {
|
|
"foreground": "#c090b0",
|
|
"italic": true
|
|
},
|
|
"pbs-literal:pbs": "#4fc1ff",
|
|
"pbs-operator:pbs": "#d4d4d4",
|
|
"pbs-punctuation:pbs": "#d4d4d4",
|
|
"pbs-identifier:pbs": "#d4d4d4"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|