diff options
Diffstat (limited to 'js/baba-yaga/dev/vscode/install-and-test.sh')
-rwxr-xr-x | js/baba-yaga/dev/vscode/install-and-test.sh | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/js/baba-yaga/dev/vscode/install-and-test.sh b/js/baba-yaga/dev/vscode/install-and-test.sh new file mode 100755 index 0000000..bead137 --- /dev/null +++ b/js/baba-yaga/dev/vscode/install-and-test.sh @@ -0,0 +1,41 @@ +#!/bin/bash + +echo "๐ง Building and installing Baba Yaga VS Code extension..." + +# Build the extension +echo "๐ฆ Packaging extension..." +npx vsce package --out baba-yaga-latest.vsix + +if [ $? -eq 0 ]; then + echo "โ Extension packaged successfully" + + # Install the extension + echo "๐ Installing extension in VS Code..." + code --install-extension baba-yaga-latest.vsix --force + + if [ $? -eq 0 ]; then + echo "โ Extension installed successfully" + echo "" + echo "๐งช To test markdown highlighting:" + echo "1. Open MARKDOWN_TEST.md in VS Code" + echo "2. Check if Baba Yaga code blocks have syntax highlighting" + echo "3. If not, try 'Developer: Reload Window' (Ctrl+Shift+P)" + echo "" + echo "๐ Extension features:" + echo "- Syntax highlighting for .baba files" + echo "- Syntax highlighting in markdown code blocks" + echo "- Improved comment handling in diagnostics" + echo "- Support for typed curried functions" + echo "" + echo "๐ Troubleshooting:" + echo "- Check extension is enabled in Extensions panel" + echo "- Verify markdown files show 'Markdown' in bottom right" + echo "- Try opening a .baba file to ensure basic highlighting works" + else + echo "โ Failed to install extension" + exit 1 + fi +else + echo "โ Failed to package extension" + exit 1 +fi \ No newline at end of file |