Files
klammertext/doc/edit/vscode/package.json

86 lines
2.8 KiB
JSON
Raw Normal View History

{
"name": "klammertext",
"displayName": "Klammertext",
"description": "Klammertext language support: syntax highlighting, delimiter matching, structural reindentation, table alignment, and delimiter diagnostics.",
"version": "0.1.0",
"publisher": "klammertext",
"license": "SEE LICENSE IN THE KLAMMERTEXT DISTRIBUTION",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"main": "./extension.js",
"activationEvents": [
"onLanguage:klammertext"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "The extension runs the Klammertext language server (a local Python process)."
}
},
"contributes": {
"languages": [
{
"id": "klammertext",
"aliases": [
"Klammertext"
],
"extensions": [
".kt",
".k"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "klammertext",
"scopeName": "text.klammertext",
"path": "./syntaxes/klammertext.tmLanguage.json"
}
],
"commands": [
{
"command": "klammertext.jumpToMatch",
"title": "Klammertext: Jump to Matching Delimiter"
},
{
"command": "klammertext.alignTable",
"title": "Klammertext: Align Table"
}
],
"keybindings": [
{
"command": "klammertext.jumpToMatch",
"key": "ctrl+alt+j",
"mac": "cmd+alt+j",
"when": "editorTextFocus && editorLangId == klammertext"
},
{
"command": "klammertext.alignTable",
"key": "ctrl+alt+a",
"mac": "cmd+alt+a",
"when": "editorTextFocus && editorLangId == klammertext"
}
],
"configuration": {
"title": "Klammertext",
"properties": {
"klammertext.pythonPath": {
"type": "string",
"default": "python3",
"description": "Python interpreter used to run the Klammertext language server."
},
"klammertext.serverPath": {
"type": "string",
"default": "",
"description": "Full path to klammertext_ls.py. Leave blank to auto-locate: a copy next to the extension, ../shared/ relative to it (the Klammertext repository layout), or $KLAMMERTEXT_HOME/doc/edit/shared/."
}
}
}
}
}