diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-13 08:21:59 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-13 08:21:59 +0000 |
| commit | a33ac452ba4bcfb9e7154a23a9ea38c93ed0c38d (patch) | |
| tree | 2c039610874b5b5f570ec0cf232e17a7c7938ec7 /plugin/package.json | |
| parent | 664e84149501a978bb5f63368c86ae2f53fe4cb8 (diff) | |
feat(plugin): run pseudocode files in the integrated terminal
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'plugin/package.json')
| -rw-r--r-- | plugin/package.json | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/plugin/package.json b/plugin/package.json index 4bffadd..677c9d1 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -1,7 +1,7 @@ { "name": "cie-pseudocode", "displayName": "CIE Pseudocode", - "description": "CIE pseudocode highlighting, Tab indentation and bracket checking for .cps files.", + "description": "CIE pseudocode highlighting, Tab indentation, bracket checking and terminal execution for .cps files.", "version": "0.1.0", "publisher": "ovfor4", "author": "_ov4", @@ -20,11 +20,39 @@ "Formatters" ], "scripts": { - "check": "node --check src/extension.js && node --check src/indentation.js && node --check src/lexical.js && node --check src/brackets.js", + "check": "node --check src/extension.js && node --check src/indentation.js && node --check src/lexical.js && node --check src/brackets.js && node --check src/runner.js", "test": "node --test test/*.test.js", "package": "npm run check && npm test && vsce package --no-dependencies" }, "contributes": { + "commands": [ + { + "command": "cie-pseudocode.runFile", + "title": "Run Pseudocode File in Terminal", + "enablement": "editorLangId == cie-pseudocode", + "icon": "$(play)" + } + ], + "menus": { + "editor/title": [ + { + "command": "cie-pseudocode.runFile", + "when": "editorLangId == cie-pseudocode", + "group": "navigation@1" + } + ] + }, + "configuration": { + "title": "CIE Pseudocode", + "properties": { + "cie-pseudocode.compilerPath": { + "type": "string", + "default": "cpsc", + "scope": "resource", + "description": "Compiler executable name on PATH or full path to cpsc (cpsc.exe on Windows)." + } + } + }, "languages": [ { "id": "cie-pseudocode", |
