aboutsummaryrefslogtreecommitdiff
path: root/plugin/package.json
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-13 05:58:39 +0000
committer_ov4 <ov4@ov4.org>2026-10-13 05:58:39 +0000
commite52266d8ce8823866b2dad3e04ffc78438e08397 (patch)
tree6fbda74ac31a1d5db2e765d5ca086ae45df861ff /plugin/package.json
parentbe8154fac8a0ea5eb3dddef4053f12d67102009d (diff)
feat(plugin): add keyword Tab indentation and selection formatting
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'plugin/package.json')
-rw-r--r--plugin/package.json15
1 files changed, 13 insertions, 2 deletions
diff --git a/plugin/package.json b/plugin/package.json
index c7a31d1..003a866 100644
--- a/plugin/package.json
+++ b/plugin/package.json
@@ -4,16 +4,17 @@
"description": "CIE pseudocode highlighting, Tab indentation and bracket checking for .cps files.",
"version": "0.1.0",
"publisher": "ovfor4",
- "license": "GPL-3.0-only",
+ "license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/ovfor4/cie-pseudocode-compiler.git",
"directory": "plugin"
},
"engines": { "vscode": "^1.85.0" },
+ "main": "./src/extension.js",
"categories": ["Programming Languages", "Formatters"],
"scripts": {
- "check": "node --check src/extension.js",
+ "check": "node --check src/extension.js && node --check src/indentation.js && node --check src/lexical.js",
"test": "node --test test/*.test.js"
},
"contributes": {
@@ -23,6 +24,16 @@
"extensions": [".cps"],
"configuration": "./language-configuration.json"
}],
+ "configurationDefaults": {
+ "[cie-pseudocode]": {
+ "editor.insertSpaces": false,
+ "editor.tabSize": 4,
+ "editor.detectIndentation": false,
+ "editor.autoIndent": "full",
+ "editor.formatOnType": true,
+ "editor.defaultFormatter": "ovfor4.cie-pseudocode"
+ }
+ },
"grammars": [{
"language": "cie-pseudocode",
"scopeName": "source.cie-pseudocode",