Assembled from development commit c3c40f6c8fca. Since 830b193: on Windows the
products carry Windows names (ktext.exe, klammertext.dll, document.dll,
reflect.dll) and the console's output code page is UTF-8 for a run; the
editor tooling works on Windows (VS Code, Sublime Text, Vim, with the
interpreter's name chosen by platform) and Notepad++ joins it
(doc/edit/notepadpp: a User Defined Language and two Run-menu commands);
a sixth install page, doc/install/windows_wsl_install.md, for Linux
inside WSL; the Windows page opens with the three routes and gains its
editor section, the PowerShell quoting and Path notes; the Linux page
installs OpenImageIO from the python3-openimageio package and verifies
with kdiag --machine; the README lists all six install pages. Linux and
macOS behaviour is unchanged.
112 lines
3.8 KiB
JSON
112 lines
3.8 KiB
JSON
{
|
|
"name": "klammertext",
|
|
"displayName": "Klammertext",
|
|
"description": "Klammertext language support: syntax highlighting, delimiter matching, structural reindentation, table alignment, and delimiter diagnostics.",
|
|
"version": "0.1.2",
|
|
"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+k j",
|
|
"mac": "cmd+k j",
|
|
"when": "editorTextFocus && editorLangId == klammertext"
|
|
},
|
|
{
|
|
"command": "klammertext.jumpToMatch",
|
|
"key": "ctrl+alt+j",
|
|
"mac": "cmd+alt+j",
|
|
"when": "editorTextFocus && editorLangId == klammertext"
|
|
},
|
|
{
|
|
"command": "klammertext.alignTable",
|
|
"key": "ctrl+k a",
|
|
"mac": "cmd+k a",
|
|
"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": "",
|
|
"description": "Python interpreter used to run the Klammertext language server. Leave blank for python3 (on Windows: python)."
|
|
},
|
|
"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/."
|
|
}
|
|
}
|
|
},
|
|
"menus": {
|
|
"editor/context": [
|
|
{
|
|
"command": "klammertext.jumpToMatch",
|
|
"when": "editorLangId == klammertext",
|
|
"group": "1_modification@10"
|
|
},
|
|
{
|
|
"command": "klammertext.alignTable",
|
|
"when": "editorLangId == klammertext",
|
|
"group": "1_modification@11"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|