about summary refs log tree commit diff stats
path: root/js/baba-yaga/dev/vscode/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'js/baba-yaga/dev/vscode/package.json')
-rw-r--r--js/baba-yaga/dev/vscode/package.json174
1 files changed, 174 insertions, 0 deletions
diff --git a/js/baba-yaga/dev/vscode/package.json b/js/baba-yaga/dev/vscode/package.json
new file mode 100644
index 0000000..070207b
--- /dev/null
+++ b/js/baba-yaga/dev/vscode/package.json
@@ -0,0 +1,174 @@
+{
+  "name": "baba-yaga",
+  "displayName": "Baba Yaga",
+  "description": "Language support for Baba Yaga programming language",
+  "version": "1.1.1",
+  "publisher": "baba-yaga",
+  "engines": {
+    "vscode": "^1.74.0"
+  },
+  "categories": [
+    "Programming Languages",
+    "Snippets",
+    "Other"
+  ],
+  "keywords": [
+    "baba-yaga",
+    "functional",
+    "programming",
+    "language"
+  ],
+  "activationEvents": [
+    "onLanguage:baba-yaga",
+    "onLanguage:markdown"
+  ],
+  "main": "./extension.js",
+  "contributes": {
+    "languages": [
+      {
+        "id": "baba-yaga",
+        "aliases": [
+          "Baba Yaga",
+          "baba-yaga",
+          "baba"
+        ],
+        "extensions": [
+          ".baba",
+          ".baba-yaga",
+          ".by"
+        ],
+        "configuration": "./language-configuration.json"
+      }
+    ],
+    "grammars": [
+      {
+        "language": "baba-yaga",
+        "scopeName": "source.baba-yaga",
+        "path": "./syntaxes/baba-yaga.tmLanguage.json"
+      },
+      {
+        "scopeName": "markdown.baba-yaga.codeblock",
+        "path": "./syntaxes/baba-yaga-markdown.tmLanguage.json",
+        "injectTo": [
+          "text.html.markdown"
+        ],
+        "embeddedLanguages": {
+          "source.baba-yaga": "baba-yaga"
+        }
+      }
+    ],
+    "configuration": {
+      "title": "Baba Yaga",
+      "properties": {
+        "baba-yaga.enableTypeHints": {
+          "type": "boolean",
+          "default": true,
+          "description": "Show type hints and function signatures"
+        },
+        "baba-yaga.enableFunctionReferences": {
+          "type": "boolean",
+          "default": true,
+          "description": "Enable function references and go-to-definition"
+        },
+        "baba-yaga.enableAutoComplete": {
+          "type": "boolean",
+          "default": true,
+          "description": "Enable autocomplete for functions and variables"
+        },
+        "baba-yaga.enableErrorChecking": {
+          "type": "boolean",
+          "default": false,
+          "description": "Enable real-time error checking (currently disabled to prevent false semicolon warnings)"
+        },
+        "baba-yaga.enableMarkdownSupport": {
+          "type": "boolean",
+          "default": true,
+          "description": "Enable syntax highlighting for Baba Yaga code blocks in Markdown"
+        },
+        "baba-yaga.typeHintMode": {
+          "type": "string",
+          "enum": [
+            "none",
+            "inline",
+            "above"
+          ],
+          "default": "none",
+          "description": "Type hint display mode: 'none' (hover only), 'inline' (after expressions), 'above' (above expressions like Elm)"
+        }
+      }
+    },
+    "commands": [
+      {
+        "command": "baba-yaga.showTypeInfo",
+        "title": "Show Type Information",
+        "category": "Baba Yaga"
+      },
+      {
+        "command": "baba-yaga.goToDefinition",
+        "title": "Go to Definition",
+        "category": "Baba Yaga"
+      },
+      {
+        "command": "baba-yaga.findReferences",
+        "title": "Find References",
+        "category": "Baba Yaga"
+      },
+      {
+        "command": "baba-yaga.showFunctionSignature",
+        "title": "Show Function Signature",
+        "category": "Baba Yaga"
+      },
+      {
+        "command": "baba-yaga.autoFixSyntax",
+        "title": "Auto-Fix Syntax Issues",
+        "category": "Baba Yaga"
+      },
+      {
+        "command": "baba-yaga.showSyntaxIssues",
+        "title": "Show Syntax Issues",
+        "category": "Baba Yaga"
+      }
+    ],
+    "keybindings": [
+      {
+        "command": "baba-yaga.goToDefinition",
+        "key": "f12",
+        "when": "editorLangId == baba-yaga"
+      },
+      {
+        "command": "baba-yaga.findReferences",
+        "key": "shift+f12",
+        "when": "editorLangId == baba-yaga"
+      },
+      {
+        "command": "baba-yaga.showTypeInfo",
+        "key": "ctrl+shift+space",
+        "when": "editorLangId == baba-yaga"
+      },
+      {
+        "command": "baba-yaga.autoFixSyntax",
+        "key": "ctrl+shift+f",
+        "when": "editorLangId == baba-yaga"
+      },
+      {
+        "command": "baba-yaga.showSyntaxIssues",
+        "key": "ctrl+shift+i",
+        "when": "editorLangId == baba-yaga"
+      }
+    ],
+    "snippets": [
+      {
+        "language": "baba-yaga",
+        "path": "./snippets/baba-yaga.json"
+      }
+    ]
+  },
+  "scripts": {
+    "vscode:prepublish": "echo 'Extension ready for packaging'",
+    "package": "vsce package"
+  },
+  "devDependencies": {
+    "@vscode/vsce": "^2.15.0"
+  },
+  "license": "MIT"
+}