81 lines
1.7 KiB
JSON
81 lines
1.7 KiB
JSON
{
|
|
"name": "sx-lang",
|
|
"displayName": "sx",
|
|
"description": "Language support for the sx programming language",
|
|
"version": "0.0.1",
|
|
"publisher": "swipelab",
|
|
"engines": {
|
|
"vscode": "^1.75.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:sx"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "sx",
|
|
"aliases": [
|
|
"sx"
|
|
],
|
|
"extensions": [
|
|
".sx"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "sx",
|
|
"scopeName": "source.sx",
|
|
"path": "./syntaxes/sx.tmLanguage.json",
|
|
"embeddedLanguages": {
|
|
"meta.embedded.block.glsl": "glsl",
|
|
"meta.embedded.block.sql": "sql",
|
|
"meta.embedded.block.html": "html",
|
|
"meta.embedded.block.json": "json"
|
|
}
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "sx",
|
|
"properties": {
|
|
"sx.lspPath": {
|
|
"type": "string",
|
|
"default": "sx",
|
|
"description": "Path to the sx-lsp binary"
|
|
}
|
|
}
|
|
},
|
|
"configurationDefaults": {
|
|
"[sx]": {
|
|
"editor.wordBasedSuggestions": "off"
|
|
},
|
|
"editor.tokenColorCustomizations": {
|
|
"textMateRules": [
|
|
{
|
|
"scope": "punctuation.definition.template-expression",
|
|
"settings": {
|
|
"foreground": "#E5C07B"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p .",
|
|
"watch": "tsc -watch -p ."
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.75.0",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|